Template:Unit infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=steelblue|#default=dodgerblue}}}}};"
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=royalblue|#default=cornflowerblue}}}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}

Revision as of 13:31, September 7, 2011

Unit infobox
[Source]

About

Standardised for all extraterrestrial-faction use.

Usage

Paste the following code into the top of an article, filling all known fields:

{{Unit infobox|variant= <specify Cov or Human>
|image=
|authority=
|branch=
|mission=
|role=
|size=
|armament=
|equipment=
|notable=
}}

Custom parameters

The following are custom parameters that allows you to alter the infobox

|name=
|species-title=
|branch-title=
|mission-title=
|armament-title=
|equipment-title=
|notable-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=