Template:Race infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
mNo edit summary
Line 1: Line 1:
{| class="infobox" 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|}}}|Human=royalblue|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|Exo=DarkGoldenrod|#default=lightslategray}}}}};"
{| class="infobox" 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|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=lightslategray}}}}};"
{{!}}-
{{!}}-
! 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}}}}
Line 72: Line 72:
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage instructions==
==Usage instructions==
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:

Revision as of 22:36, February 9, 2017

Race infobox
Overview
 

Usage instructions

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

{{Race infobox
|name=
|othernames=
|image=
|variant=
|focalworld=
|goals=
|war=
|height=
|weight=
|distinctions=
|lifespan=
|notable-group=
|notable-person=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=