Template:Faction infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "| " to "|  ")
m (Text replacement - "}}</pre>" to "}} </pre>")
 
(38 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}"
{| class="infobox" style="width:260px; background:{{{BG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}; color:{{{color|#000}}}" cellspacing="0"
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
! style="background:{{{imageBG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}}-}}
}}
{{#if:{{{Domain(s)|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{#if:{{{domain(s)|}}}|
'''{{{Domain(s)-title|Domain(s)}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{domain(s)-title|Domain(s)}}}:
{{{Domain(s)|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{domain(s)}}}
{{#if:{{{Type|}}}|
}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
|-
'''{{{Type-title|Type}}}''':
{{#if:{{{type|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Type|}}}
{{{type-title|Type}}}:
{{!}}-}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{#if:{{{Functions|}}}|
{{{type}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
}}
'''{{{Functions-title|Functions}}}''':
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{#if:{{{functions|}}}|
{{{Functions|}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{functions-title|Functions}}}:
{{#if:{{{Other names|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{{functions}}}
'''{{{Other names-title|Other names}}}''':
}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
|-
{{{Other names|}}}
{{#if:{{{other names|}}}|
{{!}}-}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{#if:{{{Conflicts|}}}|
{{{other names-title|Other names}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{Conflicts-title|Engagements}}}''':
{{{other names}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
}}
{{{Conflicts|}}}
|-
{{!}}-}}
{{#if:{{{conflicts|}}}|
{{#if:{{{Leadership|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{{conflicts-title|Engagements}}}:
'''{{{Leadership-title|Leadership}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{conflicts}}}
{{{Leadership|}}}
}}
{{!}}-}}
|-
{{#if:{{{Notable|}}}|
{{#if:{{{leadership|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; width:70px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{Notable-title|Notable information}}}''':
{{{leadership-title|Leadership}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Notable|}}}
{{{leadership}}}
{{!}}-}}
}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:9px; line-height:10px" | &nbsp;
|-
|}<noinclude>
{{#if:{{{affiliation|}}}|
{{clear}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation-title|Affiliation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation}}}
}}
|-
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable-title|Notable information}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable}}}
}}
|-
{{#if:{{{war|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{war-title|At war with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{war}}}
}}
|-
{{#if:{{{ally|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{ally}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>{{clear}}
==Usage instructions==
Paste the following code into the top of an article, filling all known fields:


===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
<pre>
<pre>
{{Faction infobox
{{Faction infobox
|variant=
|variant=
|image=
|image=
|Domain(s)=
|domain(s)=
|Type=
|type=
|Functions=
|functions=
|Other names=
|other names=
|Conflicts=
|conflicts=
|Leadership=
|leadership=
|Notable=
|affiliation=
}}</pre>
|notable=
|war=
|ally=
}}
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 11:01, June 1, 2024

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=
|affiliation=
|notable=
|war=
|ally=
}}