Template:Military infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "border-bottom: *1px solid {{{lineBG\|([^\n}]+)}}}; border-top: *1px solid {{{lineBG\|[^\n}]+}}}; " to "border-color:{{{lineBG|$1}}}; ") |
m (Text replacement - " line-height: *14px;" to "") |
||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{formed|}}}| | {{#if:{{{formed|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{formed-title|Active}}}''': | '''{{{formed-title|Active}}}''': | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{formed|}}} | {{{formed|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{affiliation-title|Affiliation}}}:''' | '''{{{affiliation-title|Affiliation}}}:''' | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{affiliation|}}} | {{{affiliation|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{branch|}}}| | {{#if:{{{branch|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{branch-title|{{#switch:{{{variant|}}}|Cov=Group|Human=Branch|Branch}}}}}''': | '''{{{branch-title|{{#switch:{{{variant|}}}|Cov=Group|Human=Branch|Branch}}}}}''': | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{branch|}}} | {{{branch|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{type-title|Type}}}''': | '''{{{type-title|Type}}}''': | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{type|}}} | {{{type|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{role-title|Role}}}''': | '''{{{role-title|Role}}}''': | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{role|}}} | {{{role|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{size|}}}| | {{#if:{{{size|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{size-title|Size}}}''': | '''{{{size-title|Size}}}''': | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{size|}}} | {{{size|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{nicknames|}}}| | {{#if:{{{nicknames|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{nicknames-title|Nicknames}}}''': | '''{{{nicknames-title|Nicknames}}}''': | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{nicknames|}}} | {{{nicknames|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{battles|}}}| | {{#if:{{{battles|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{battles-title|Engagements}}}:''' | '''{{{battles-title|Engagements}}}:''' | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{battles|}}} | {{{battles|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{commanders|}}}| | {{#if:{{{commanders|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{commanders-title|Commanders}}}''': | '''{{{commanders-title|Commanders}}}''': | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{commanders|}}} | {{{commanders|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{notable|}}}| | {{#if:{{{notable|}}}| | ||
{{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px | {{!}}class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px;" {{!}} | ||
'''{{{notable-title|Notable information}}}''': | '''{{{notable-title|Notable information}}}''': | ||
{{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90% | {{!}}class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}} | ||
{{{notable|}}} | {{{notable|}}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 22:43, 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= }}