Template:Torn faction infobox: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
(first flag will usually be the banner)
 
(4 intermediate revisions 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 14: Line 14:
|foundedby = {{{foundedby|}}}
|foundedby = {{{foundedby|}}}
|founded = {{{founded|}}}
|founded = {{{founded|}}}
|disbanded = {{{disbanded|}}}
|gov1 = {{{gov1|}}}
|gov1 = {{{gov1|}}}
|gov1name = {{{gov1name|}}}
|gov1name = {{{gov1name|}}}
Line 32: Line 33:
|gov9 = {{{gov9|}}}
|gov9 = {{{gov9|}}}
|gov9name = {{{gov9name|}}}
|gov9name = {{{gov9name|}}}
|factions = {{{factions|}}}
|treaties = {{{treaties|}}}
|treaties = {{{treaties|}}}
|record = {{#if:{{{total|}}}{{{wins|}}}{{{losses|}}}|Ranked War Record|}}
|total = {{{total|}}}
|wins = {{{wins|}}}
|losses = {{{losses|}}}
|forumurl = {{{forumurl|}}}
|forumurl = {{{forumurl|}}}
|discordinvite = {{{discordinvite|}}}
|discordinvite = {{{discordinvite|}}}

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.