Template:Faction infobox: Difference between revisions

m (Text replacement - "{{!}}-}}" to "}} |-")
m (Text replacement - "|color={{{color|" to "|color={{{color1|")
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}" cellspacing="0"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|{{#switch:{{{variant}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|grey}}}}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|{{#switch:{{{variant}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|grey}}}}}|linebg={{{lineBG|#999}}}}}
{{#if:{{{image|}}}|
 
{{!}} 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}}}}}
{{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|transparent}}}|entries=
{{Infobox|entry|title={{{domain(s)-title|Domain(s)}}}|content={{{domain(s)|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{functions-title|Functions}}}|content={{{functions|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{conflicts-title|Engagements}}}|content={{{conflicts|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{leadership-title|Leadership}}}|content={{{leadership|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{notable-title|Notable information}}}|content={{{notable|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{war-title|At war with}}}|content={{{war|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{ally-title|Allied with}}}|content={{{ally|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
}}
}}
|-
{{#if:{{{Domain(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{Domain(s)-title|Domain(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Domain(s)}}}
}}
|-
{{#if:{{{Type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{Type-title|Type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Type}}}
}}
|-
{{#if:{{{Functions|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{Functions-title|Functions}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Functions}}}
}}
|-
{{#if:{{{Other names|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{Other names-title|Other names}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Other names}}}
}}
|-
{{#if:{{{Conflicts|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{Conflicts-title|Engagements}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Conflicts}}}
}}
|-
{{#if:{{{Leadership|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{Leadership-title|Leadership}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Leadership}}}
}}
|-
{{#if:{{{Notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{Notable-title|Notable information}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Notable}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
|}<noinclude>
{{clear}}


===Usage instructions===
{{Infobox|end}}<noinclude>{{clear}}
==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:


Line 66: Line 24:
|variant=
|variant=
|image=
|image=
|Domain(s)=
|domain(s)=
|Type=
|type=
|Functions=
|functions=
|Other names=
|othernames=
|Conflicts=
|conflicts=
|Leadership=
|leadership=
|Notable=
|affiliation=
}}</pre>
|notable=
|war=
|ally=
}}
</pre>


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

Latest revision as of 21:21, 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=
|othernames=
|conflicts=
|leadership=
|affiliation=
|notable=
|war=
|ally=
}}