Template:Torn faction infobox: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
add params for war record
No edit summary
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|}}}

Revision as of 00:00, 6 July 2022

Documentation [edit]

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

The group and factions parameters are specific to Torn and are used to differentiate an organizational group (e.g. NPO) from the factions it operates (e.g. Strength).

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.