Template:Military infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "{{{name|{{PAGENAME}}}}}" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}") |
m (Text replacement - ""vertical-align: *top; " to """) |
||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{formed|}}}| | {{#if:{{{formed|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{formed-title|Active}}}''': | '''{{{formed-title|Active}}}''': | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{formed|}}} | {{{formed|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{affiliation-title|Affiliation}}}:''' | '''{{{affiliation-title|Affiliation}}}:''' | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{affiliation|}}} | {{{affiliation|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{branch|}}}| | {{#if:{{{branch|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{branch-title|{{#switch:{{{variant|}}}|Cov=Group|Human=Branch|Branch}}}}}''': | '''{{{branch-title|{{#switch:{{{variant|}}}|Cov=Group|Human=Branch|Branch}}}}}''': | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{branch|}}} | {{{branch|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{type-title|Type}}}''': | '''{{{type-title|Type}}}''': | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{type|}}} | {{{type|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{role-title|Role}}}''': | '''{{{role-title|Role}}}''': | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{role|}}} | {{{role|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{size|}}}| | {{#if:{{{size|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{size-title|Size}}}''': | '''{{{size-title|Size}}}''': | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{size|}}} | {{{size|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{nicknames|}}}| | {{#if:{{{nicknames|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{nicknames-title|Nicknames}}}''': | '''{{{nicknames-title|Nicknames}}}''': | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{nicknames|}}} | {{{nicknames|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{battles|}}}| | {{#if:{{{battles|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{battles-title|Engagements}}}:''' | '''{{{battles-title|Engagements}}}:''' | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{battles|}}} | {{{battles|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{commanders|}}}| | {{#if:{{{commanders|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{commanders-title|Commanders}}}''': | '''{{{commanders-title|Commanders}}}''': | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{commanders|}}} | {{{commanders|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{notable|}}}| | {{#if:{{{notable|}}}| | ||
{{!}}class="infoboxlabel" style=" | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}} | ||
'''{{{notable-title|Notable information}}}''': | '''{{{notable-title|Notable information}}}''': | ||
{{!}}class="infoboxcell" style=" | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{notable|}}} | {{{notable|}}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 22:07, September 14, 2022
Military infobox | |
---|---|
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Military infobox |name= |image= |formed= |affiliation= |branch= |type= |role= |size= |nicknames= |battles= |commanders= }}