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 | {| 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}}}} | ||
! | |- | ||
{{ | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}} | {{!}} 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:{{{ | |- | ||
{{!}} class=" | {{#if:{{{domain(s)|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{{domain(s)-title|Domain(s)}}}: | ||
{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{domain(s)}}} | |||
{{#if:{{{ | }} | ||
{{!}} class=" | |- | ||
{{#if:{{{type|}}}| | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{ | {{{type-title|Type}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | |||
{{#if:{{{ | {{{type}}} | ||
{{!}} class=" | }} | ||
|- | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{#if:{{{functions|}}}| | ||
{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{functions-title|Functions}}}: | |||
{{#if:{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class=" | {{{functions}}} | ||
}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | |- | ||
{{{ | {{#if:{{{other names|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | |||
{{#if:{{{ | {{{other names-title|Other names}}}: | ||
{{!}} class=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{other names}}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | }} | ||
{{{ | |- | ||
{{#if:{{{conflicts|}}}| | |||
{{#if:{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class=" | {{{conflicts-title|Engagements}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{{conflicts}}} | ||
{{{ | }} | ||
|- | |||
{{#if:{{{ | {{#if:{{{leadership|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{leadership-title|Leadership}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{ | {{{leadership}}} | ||
}} | |||
| | |- | ||
|} | {{#if:{{{affiliation|}}}| | ||
{{ | {{!}} 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" | | |||
|}<noinclude>{{clear}} | |||
==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)= | ||
| | |type= | ||
| | |functions= | ||
| | |other names= | ||
| | |conflicts= | ||
| | |leadership= | ||
| | |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= }}