Template:Faction Info: Difference between revisions

Template page
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 4: Line 4:
<pre>
<pre>
{{Faction_Info
{{Faction_Info
| color      = #ff0000
  | image      = Flag-liberty.png
  | image      = Flag-liberty.png
  | name      = Example Name
  | name      = Example Name
  | page      = Liberty
  | page      = Liberty
| allies    = one, two, three
| competitors= four, five, six
| enemies    = seven, eight, nine
  | description= A description
  | description= A description
}}
}}
Line 16: Line 12:
</noinclude><includeonly>{| class="wikitable" style="width:100%"
</noinclude><includeonly>{| class="wikitable" style="width:100%"
|-
|-
! rowspan="3" style="width:100px;{{{#if:{{{color|}}}|border-left: 2px solid {{{color}}};}}}" | [[File:{{{image|Unknown.png}}}|100px|link=]]
! rowspan="2" style="width:100px;border-left: 2px solid var(--color-base--subtle);" | {{#ifexist: File:{{{image}}}| [[File:{{{image}}}|100px|link=]] | '''No Image Found''' }}
! colspan="2" style="text-align:left;" | '''{{{name|Name not provided}}}'''
! colspan="2" style="text-align:left;" | '''{{{name|Name not provided}}}'''
! style="text-align:right;" | {{{page|}}}
! style="text-align:right;" | {{{page|}}}
|-
|-
! style="text-align:center; width:33%" | ALLIES
| colspan="3" style="text-align:left;border-left: 2px solid var(--color-base--subtle);" | {{{description}}}
! style="text-align:center; width:33%" | COMPETITORS
! style="text-align:center; width:33%" | ENEMIES
|-
| style="text-align:center; width:33%" | {{{allies|No allies listed}}}
| style="text-align:center; width:33%" | {{{competitors|No competitors listed}}}
| style="text-align:center; width:33%" | {{{enemies|No enemies listed}}}
{{{#if:{{{description|}}}|
|-
| colspan="4" style="text-align:left;{{{#if:{{{color|}}}|border-left: 2px solid {{{color}}};}}}" | {{{description}}}
}}}
|}</includeonly>
|}</includeonly>

Latest revision as of 02:35, 15 December 2024

Usage:

{{Faction_Info
 | image      = Flag-liberty.png
 | name       = Example Name
 | page       = Liberty
 | description= A description
}}