Template:Faction infobox: Difference between revisions
From Destinypedia, the Destiny wiki
mNo edit summary |
mNo edit summary |
||
(71 intermediate revisions by 6 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|}}}| | |||
{{!}} 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="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | |||
{{{domain(s)-title|Domain(s)}}}: | |||
{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{ | {{{domain(s)}}} | ||
{{#if:{{{ | }} | ||
{{!}} style=" | |- | ||
{{#if:{{{type|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | |||
{{{ | {{{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}}}" {{!}} | ||
{{ | {{{functions-title|Functions}}}: | ||
{{#if:{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} style=" | {{{functions}}} | ||
}} | |||
|- | |||
{{{ | {{#if:{{{other names|}}}| | ||
{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{ | {{{other names-title|Other names}}}: | ||
{{!}} style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{other names}}} | |||
}} | |||
|- | |||
{{ | {{#if:{{{conflicts|}}}| | ||
{{#if:{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} style=" | {{{conflicts-title|Engagements}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | |||
{{!}} | {{{conflicts}}} | ||
{{{ | }} | ||
{{ | |- | ||
{{ | {{#if:{{{leadership|}}}| | ||
{{!}} style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{leadership-title|Leadership}}}: | |||
{{!}} 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> | |}<noinclude> | ||
{{clear}} | {{clear}} | ||
Line 59: | 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)= | ||
|type= | |||
| | |functions= | ||
| | |other names= | ||
| | |conflicts= | ||
| | |leadership= | ||
| | |affiliation= | ||
| | |notable= | ||
|war= | |||
|ally= | |||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]]</noinclude> | ||
</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= }}