Jump to content

Template:Infobox service record: Difference between revisions

From the Vrienden Universe, a fictional wiki
wiki>Zackmann08
 
Add Era field to infobox template
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<templatestyles src="Template:Infobox service record/styles.css" />
<includeonly>{{#switch:{{#ifeq:{{{is_ship|}}}|yes|1|0}}{{#ifeq:{{{is_multi|}}}|yes|1|0}}|
<includeonly>{{#switch:{{#ifeq:{{{is_ship|}}}|yes|1|0}}{{#ifeq:{{{is_multi|}}}|yes|1|0}}|
|00 = <table {{WPMILHIST Infobox style|main_box}}><!-- standalone -->
|00 = <table {{WPMILHIST Infobox style|main_box}}><!-- standalone -->
Line 32: Line 33:
}}{{#if:{{{awards|}}}|<tr><th style="padding-right: 1em;">Awards</th><td>
}}{{#if:{{{awards|}}}|<tr><th style="padding-right: 1em;">Awards</th><td>
{{{awards}}}</td></tr>
{{{awards}}}</td></tr>
}}}}{{#switch:{{#ifeq:{{{is_ship|}}}|yes|1|0}}{{#ifeq:{{{is_multi|}}}|yes|1|0}}|
}}}}{{#if:{{{era|}}}|<tr><th style="padding-right: 1em;">Era</th><td>{{{era}}}</td></tr>
{{#switch:{{#ifeq:{{{is_ship|}}}|yes|1|0}}{{#ifeq:{{{is_multi|}}}|yes|1|0}}|
|00 = </table>
|00 = </table>
|#default = }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox service record with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox service record]] with unknown parameter "_VALUE_"|ignoreblank=y| awards | codes | commanders | is_multi | is_ship | label | operations | partof | victories }}<noinclude>
|#default = }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox service record with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox service record]] with unknown parameter "_VALUE_"|ignoreblank=y| awards | codes | commanders | is_multi | is_ship | label | operations | partof | victories | era }}<noinclude>
{{convert to use Infobox}}
{{convert to use Infobox}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 00:07, 11 July 2026

Template:Convert to use Infobox