Module:Soldier: Difference between revisions
Expand negative research-note filter (illness, absence, etc.) |
Hide certificate=NG (non-graduate marker) in infobox |
||
| Line 189: | Line 189: | ||
'intoxicat', 'venereal', 'syphili', 'gonorrh', 'mental case', | 'intoxicat', 'venereal', 'syphili', 'gonorrh', 'mental case', | ||
'mental illness', 'nervous breakdown', | 'mental illness', 'nervous breakdown', | ||
'non-graduate', 'non graduate', 'nongraduate', 'certificate listed as ng', | |||
} | } | ||
| Line 935: | Line 936: | ||
-- Placeholders: *, A, 5, #, and any other single character. | -- Placeholders: *, A, 5, #, and any other single character. | ||
if mw.ustring.len(s) == 1 then | if mw.ustring.len(s) == 1 then | ||
return '' | |||
end | |||
-- NG = non-graduate marker on class charts, not a certificate number. | |||
local upper = mw.ustring.upper(s) | |||
if upper == 'NG' or upper == 'N/G' or upper == 'N.G.' then | |||
return '' | return '' | ||
end | end | ||