Template:Faction infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "" {{!}} {{{image" to "" class="infoboximage" {{!}} {{{image") |
(This should do it.) Tag: Mobile edit |
||
(17 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}}}} | |||
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; color:#fff | |- | ||
{{ | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|{{#switch:{{{variant|}}}|#Human=royalblue|#Exo=DarkGoldenrod|#Awoken=purple|#default=grey}}}}}; border-bottom:1px solid {{{lineBG|#999}}} | {{!}} 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)|}}}| | {{#if:{{{Domain(s)|}}}| | ||
{{!}} class=" | {{!}} 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{Domain(s) | {{{Domain(s)}}} | ||
}} | |||
|- | |||
{{#if:{{{Type|}}}| | {{#if:{{{Type|}}}| | ||
{{!}} class=" | {{!}} 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{Type | {{{Type}}} | ||
}} | |||
|- | |||
{{#if:{{{Functions|}}}| | {{#if:{{{Functions|}}}| | ||
{{!}} class=" | {{!}} 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{Functions | {{{Functions}}} | ||
}} | |||
|- | |||
{{#if:{{{Other names|}}}| | {{#if:{{{Other names|}}}| | ||
{{!}} class=" | {{!}} 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{Other names | {{{Other names}}} | ||
}} | |||
|- | |||
{{#if:{{{Conflicts|}}}| | {{#if:{{{Conflicts|}}}| | ||
{{!}} class=" | {{!}} 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{Conflicts | {{{Conflicts}}} | ||
}} | |||
|- | |||
{{#if:{{{Leadership|}}}| | {{#if:{{{Leadership|}}}| | ||
{{!}} class=" | {{!}} 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{Leadership | {{{Leadership}}} | ||
}} | |||
|- | |||
{{#if:{{{Notable|}}}| | {{#if:{{{Notable|}}}| | ||
{{!}} class=" | {{!}} 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}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{Notable|}}} | {{{Notable}}} | ||
{{!}}-}} | }} | ||
| | |- | ||
{{#if:{{{War|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#660}}}; 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|#660}}}; 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 75: | ||
===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 | ||
Line 64: | Line 87: | ||
|Leadership= | |Leadership= | ||
|Notable= | |Notable= | ||
|War= | |||
|Ally= | |||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 14:36, February 7, 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= |Notable= |War= |Ally= }}