Template:Faction infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "px;"" to "px"")
mNo edit summary
 
(64 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}}}}};"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|{{#switch:{{{variant}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|grey}}}}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|{{#switch:{{{variant}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|grey}}}}}|linebg={{{lineBG|#999}}}}}
{{!}}-
! class="infoboxcell" 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>}}
{{!}}-}}
{{#if:{{{Domain(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{Domain(s)-title|Domain(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{{Domain(s)|}}}
{{!}}-}}
{{#if:{{{Type|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{Type-title|Type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{{Type|}}}
{{!}}-}}
{{#if:{{{Functions|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{Functions-title|Functions}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{{Functions|}}}
{{!}}-}}
{{#if:{{{Other names|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{Other names-title|Other names}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{{Other names|}}}
{{!}}-}}
{{#if:{{{Conflicts|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{Conflicts-title|Engagements}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{{Conflicts|}}}
{{!}}-}}
{{#if:{{{Leadership|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{Leadership-title|Leadership}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{{Leadership|}}}
{{!}}-}}
{{#if:{{{Notable|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; width:70px" {{!}}
'''{{{Notable-title|Notable information}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999999}}}; font-size:90%;" {{!}}
{{{Notable|}}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:9px; line-height:10px" |&nbsp;
|}<noinclude>
{{clear}}


===Usage instructions===
{{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|transparent}}}|entries=
{{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{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={{{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={{{notable-member-title|Notable member(s)}}}|content={{{notable-member|}}}|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}}}}}
}}
 
{{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:
<pre>
<pre>
{{Faction infobox
{{Faction infobox
|variant=
|variant=
|name=
|image=
|image=
|Domain(s)=
|othernames=
|Type=
|domain(s)=
|Functions=
|type=
|Other names=
|functions=
|Conflicts=
|conflicts=
|Leadership=
|leadership=
|Notable=
|notable-member=
}}</pre>
|affiliation=
|notable=
|war=
|ally=
}}
</pre>


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

Latest revision as of 23:30, August 19, 2024

Faction infobox
 

Usage instructions

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

{{Faction infobox
|variant=
|name=
|image=
|othernames=
|domain(s)=
|type=
|functions=
|conflicts=
|leadership=
|notable-member=
|affiliation=
|notable=
|war=
|ally=
}}