Template:Faction Info: Difference between revisions

Template page
No edit summary
No edit summary
 
(24 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
  | status    = Lawful
  | page      = Liberty
| allies    = one, two, three
  | description= A description
| competitors= four, five, six
| enemies    = seven, eight, nine
  | description= This is a brief description.
}}
}}
</pre>
</pre>
</noinclude><includeonly>{| class="wikitable" style-"width:100%"
</noinclude><includeonly>{| class="wikitable" style="width:100%"
|-
|-
! rowspan="3" {{{#if:{{{color|}}}|style="border-left: 2px solid {{{color}}};"}}} | [[File:{{{image|Unknown.png}}}|100px]]
! 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;" | {{{status|No status available}}}
! style="text-align:right;" | {{{page|}}}
|-
|-
! style="text-align:center;" | ALLIES
| colspan="3" style="text-align:left;border-left: 2px solid var(--color-base--subtle);" | {{{description}}}
! style="text-align:center;" | COMPETITORS
! style="text-align:center;" | ENEMIES
|-
| style="text-align:center;" | {{{allies|No allies listed}}}
| style="text-align:center;" | {{{competitors|No competitors listed}}}
| style="text-align:center;" | {{{enemies|No enemies listed}}}
|-
| colspan="4" {{{#if:{{{color|}}}|style="border-left: 2px solid {{{color}}};"}}} | {{{description|No description available}}}
|}</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
}}