Template:Torn faction infobox: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(add params for war record)
(first flag will usually be the banner)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
|gameid = {{{gameid|}}}
|gameid = {{{gameid|}}}
|flag = {{{flag|}}}
|flag = {{{flag|}}}
|flagdesc = {{{flagdesc|}}}
|flagdesc = {{#if:{{{flagdesc|}}}|{{{flagdesc}}}|{{#if:{{{acronym|}}}|{{{acronym}}}|{{{name}}}}} Banner}}
|flag2 = {{{flag2|}}}
|flag2 = {{{flag2|}}}
|flag2desc = {{{flag2desc|}}}
|flag2desc = {{{flag2desc|}}}
Line 35: Line 35:
|factions = {{{factions|}}}
|factions = {{{factions|}}}
|treaties = {{{treaties|}}}
|treaties = {{{treaties|}}}
|record = Ranked War Record
|record = {{#if:{{{total|}}}{{{wins|}}}{{{losses|}}}|Ranked War Record|}}
|total = {{{total|}}}
|total = {{{total|}}}
|wins = {{{wins|}}}
|wins = {{{wins|}}}

Latest revision as of 16:17, 15 May 2024

Documentation [edit]

This template implements Template:Community infobox. Please see that page for full documentation.

The first flagdesc parameter will use the term "Banner" by default as that is what most Torn factions have in game.

Skeleton template:

{{Torn faction infobox
|name = 
|group = 
|affiliation = 
|acronym = 
|gameid = 
|flag = 
|flagdesc = 
|flag2 = 
|flag2desc = 
|flag3 = 
|flag3desc = 
|foundedby = 
|founded = 
|disbanded = 
|gov1name = 
|gov1 = 
|gov2name = 
|gov2 = 
|gov3name = 
|gov3 = 
|gov4name = 
|gov4 = 
|gov5name = 
|gov5 = 
|gov6name = 
|gov6 = 
|gov7name = 
|gov7 = 
|gov8name = 
|gov8 = 
|gov9name = 
|gov9 = 
|factions = 
|treaties = 
|total = 
|wins = 
|losses = 
|forumurl = 
|discordinvite = 
|ircserver = 
|ircchannel = 
|seealso = 
}}

The above documentation is transcluded from Template:Torn faction infobox/doc.