Template:Infobox command structure: Difference between revisions
wiki>Zackmann08 Improving nested param logic using unnest |
Add Era field to infobox template |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Template:Infobox command structure/styles.css" /> | |||
<includeonly>{{military navigation | <includeonly>{{military navigation | ||
|raw_name = {{{raw_name|}}} | |raw_name = {{{raw_name|}}} | ||
| Line 7: | Line 8: | ||
|group2 = {{#if:{{{subordinate|}}}|Components}} | |group2 = {{#if:{{{subordinate|}}}|Components}} | ||
|list2 = {{#if:{{{subordinate|}}}|{{{subordinate}}}}} | |list2 = {{#if:{{{subordinate|}}}|{{{subordinate}}}}} | ||
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox command structure with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox command structure]] with unknown parameter "_VALUE_"|ignoreblank=y| bodyclass | date | name | parent | raw_name | subordinate }}<noinclude> | |group3 = {{#if:{{{era|}}}|Era}} | ||
|list3 = {{{era|}}} | |||
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox command structure with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox command structure]] with unknown parameter "_VALUE_"|ignoreblank=y| bodyclass | date | name | parent | raw_name | subordinate | era }}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||