Template:Faction infobox: Difference between revisions

m (Text replacement - "#FFFFFF" to "#fff")
mNo edit summary
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="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}}}; font-size:120%; color:#fff" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
! 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>}}
{{!}} 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|#999}}}; width:70px" {{!}}
{{#if:{{{domain(s)|}}}|
'''{{{Domain(s)-title|Domain(s)}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{domain(s)-title|Domain(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Domain(s)|}}}
{{{domain(s)}}}
{{!}}-}}
}}
{{#if:{{{Type|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{#if:{{{type|}}}|
'''{{{Type-title|Type}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type-title|Type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Type|}}}
{{{type}}}
{{!}}-}}
}}
{{#if:{{{Functions|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{#if:{{{functions|}}}|
'''{{{Functions-title|Functions}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{functions-title|Functions}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Functions|}}}
{{{functions}}}
{{!}}-}}
}}
{{#if:{{{Other names|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{#if:{{{other names|}}}|
'''{{{Other names-title|Other names}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{other names-title|Other names}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Other names|}}}
{{{other names}}}
{{!}}-}}
}}
{{#if:{{{Conflicts|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{#if:{{{conflicts|}}}|
'''{{{Conflicts-title|Engagements}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{conflicts-title|Engagements}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Conflicts|}}}
{{{conflicts}}}
{{!}}-}}
}}
{{#if:{{{Leadership|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{#if:{{{leadership|}}}|
'''{{{Leadership-title|Leadership}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{leadership-title|Leadership}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Leadership|}}}
{{{leadership}}}
{{!}}-}}
}}
{{#if:{{{Notable|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{#if:{{{affiliation|}}}|
'''{{{Notable-title|Notable information}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation-title|Affiliation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Notable|}}}
{{{affiliation}}}
{{!}}-}}
}}
| colspan="2" style="text-align:center; line-height:10px" | &nbsp;
|-
{{#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>
|}<noinclude>
{{clear}}
{{clear}}
Line 53: Line 82:
===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:
<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=
|notable=
|war=
|ally=
}}</pre>
}}</pre>


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

Latest revision as of 21:33, May 31, 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=
}}