Template:Faction Info: Difference between revisions

Template page
No edit summary
No edit summary
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
Line 16: Line 15:
</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="3" style="width:100px;border-left: 2px solid var(--color-base--subtle);" | [[File:{{{image|Unknown.png}}}|100px|link=]]
! 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|}}}
Line 28: Line 27:
| style="text-align:center; width:33%" | {{{enemies|No enemies listed}}}
| style="text-align:center; width:33%" | {{{enemies|No enemies listed}}}
|-
|-
| colspan="4" style="text-align:left;{{{#if:{{{color|}}}|border-left: 2px solid {{{color}}};}}}" | {{{description}}}
| colspan="4" style="text-align:left;border-left: 2px solid var(--color-base--subtle);" | {{{description}}}
|}</includeonly>
|}</includeonly>

Revision as of 23:32, 14 December 2024

Usage:

{{Faction_Info
 | image      = Flag-liberty.png
 | name       = Example Name
 | page       = Liberty
 | allies     = one, two, three
 | competitors= four, five, six
 | enemies    = seven, eight, nine
 | description= A description
}}