Module:Infobox military conflict: Difference between revisions
Load military conflict TemplateStyles from template namespace |
Add Era field to infobox template |
||
| Line 127: | Line 127: | ||
:newline() | :newline() | ||
:wikitext(self.args.status or self.args.result) | :wikitext(self.args.status or self.args.result) | ||
end | |||
if self.args.era then | |||
builder:tag('tr') | |||
:tag('th') | |||
:css('padding-right', '1em') | |||
:wikitext('Era') | |||
:done() | |||
:tag('td') | |||
:wikitext(self.args.era) | |||
end | end | ||