Template:Faction infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "style="[^"\n]+" \|  " to "style="text-align:center; line-height:10px" |  ")
m (Text replacement - "#999999" to "#999")
Line 3: Line 3:
! style="background:{{{nameBG|transparent}}}; font-size:120%; color:#FFFFFF" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; font-size:120%; color:#FFFFFF" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
! style="background:{{{imageBG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
{{!}}-}}
{{!}}-}}
{{#if:{{{Domain(s)|}}}|
{{#if:{{{Domain(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{Domain(s)-title|Domain(s)}}}''':
'''{{{Domain(s)-title|Domain(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Domain(s)|}}}
{{{Domain(s)|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{Type|}}}|
{{#if:{{{Type|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{Type-title|Type}}}''':
'''{{{Type-title|Type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Type|}}}
{{{Type|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{Functions|}}}|
{{#if:{{{Functions|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{Functions-title|Functions}}}''':
'''{{{Functions-title|Functions}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Functions|}}}
{{{Functions|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{Other names|}}}|
{{#if:{{{Other names|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{Other names-title|Other names}}}''':
'''{{{Other names-title|Other names}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Other names|}}}
{{{Other names|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{Conflicts|}}}|
{{#if:{{{Conflicts|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{Conflicts-title|Engagements}}}''':
'''{{{Conflicts-title|Engagements}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Conflicts|}}}
{{{Conflicts|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{Leadership|}}}|
{{#if:{{{Leadership|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{Leadership-title|Leadership}}}''':
'''{{{Leadership-title|Leadership}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Leadership|}}}
{{{Leadership|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{Notable|}}}|
{{#if:{{{Notable|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{Notable-title|Notable information}}}''':
'''{{{Notable-title|Notable information}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Notable|}}}
{{{Notable|}}}
{{!}}-}}
{{!}}-}}

Revision as of 10:08, September 15, 2022

Faction infobox
 

Usage instructions

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

{{Faction infobox
|variant=
|image=
|Domain(s)=
|Type=
|Functions=
|Other names=
|Conflicts=
|Leadership=
|Notable=
}}