Template:Faction infobox: Difference between revisions
From Destinypedia, the Destiny wiki
No edit summary |
m (Text replacement - "({{{ *|\n *\| *)([A-Z][a-z][^\n\|\[\]{}]+ *)([=\|}])" to "$1$2$3") |
||
(59 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox | {| class="infobox" style="width:260px; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}" cellspacing="0" | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
|- | |||
{{ | {{#if:{{{image|}}}| | ||
! class=" | {{!}} 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:{{{ | |- | ||
{{ | {{#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:{{{ | }} | ||
{{!}} class=" | |- | ||
{{#if:{{{type|}}}| | |||
{{!}} class="infoboxcell" style=" | {{!}} 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}}}" {{!}} | |||
{{#if:{{{ | {{{type}}} | ||
{{!}} class=" | }} | ||
|- | |||
{{!}} class="infoboxcell" style=" | {{#if:{{{functions|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | |||
{{{functions-title|Functions}}}: | |||
{{#if:{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class=" | {{{functions}}} | ||
}} | |||
|- | |||
{{{ | {{#if:{{{other names|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | |||
{{#if:{{{ | {{{other names-title|Other names}}}: | ||
{{!}} class=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{other names}}} | |||
{{!}} class="infoboxcell" style=" | }} | ||
|- | |||
{{#if:{{{conflicts|}}}| | |||
{{#if:{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | ||
{{!}} class=" | {{{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}}}" {{!}} | |||
{{{Notable | {{{leadership}}} | ||
{{!}} | }} | ||
|- | |||
{{#if:{{{affiliation|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}} | |||
{{{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}}}; width:70px" {{!}} | |||
{{{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}}}; width:70px" {{!}} | |||
{{{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}}}; width:70px" {{!}} | |||
{{{ally-title|Allied with}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | |||
{{{ally}}} | |||
}} | |||
|- | |||
| class="infoboxfooter" colspan="2" | | |||
|}<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)= | ||
| | |type= | ||
| | |functions= | ||
| | |other names= | ||
| | |conflicts= | ||
| | |leadership= | ||
| | |affiliation= | ||
|notable= | |||
|war= | |||
|ally= | |||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]]</noinclude> | ||
</noinclude> |
Latest revision as of 16:36, May 25, 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= }}