Template:Team: Difference between revisions

From Red Faction Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
<includeonly>{{#switch: {{{1|}}}
   | RF = [[Image:Icon_RFG.png|20px]] Red Faction
   | RF = [[Image:Icon_RFG.png|20px]] [[Red Faction (Group)|Red Faction]]
   | EDF = [[Image:Icon_EDFBlue.png|20px]] EDF
  | RF1 = [[Image:Icon_RF1.png|20px]] [[Red Faction (Group)|Red Faction]]
   | Mar = [[Image:Icon_Marauder.png|20px]] Marauder
  | Ultor = [[Image:Icon_Ultor.png|20px]] [[Ultor]]
   | EDF = [[Image:Icon_EDFBlue.png|20px]] [[EDF]]
  | RC = [[Image:Icon_RC.png|20px]] [[Republic of the Commonwealth|Commonwealth]]
   | Mar = [[Image:Icon_Marauder.png|20px]] [[Marauder]]
   | N/A
   | N/A
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 8: Line 11:
A template to create the name of a faction/team with its icon next to it. Primarily created for tables but may fit elsewhere.
A template to create the name of a faction/team with its icon next to it. Primarily created for tables but may fit elsewhere.


* RF = Red Faction
* RF1 = [[Red Faction (Group)|Red Faction]] (RF1-era)
* EDF = EDF
* RF = [[Red Faction (Group)|Red Faction]] (RF:G-era)
* Mar = Marauder
* Ultor = [[Ultor]]
* EDF = [[EDF]]
* RC = [[Republic of the Commonwealth]]
* Mar = [[Marauder]]


'''Usage:'''<pre>
'''Usage:'''<pre>
{{Team|RF}}
{{Team|RF}}
{{Team|RF1}}
{{Team|Ultor}}
{{Team|EDF}}
{{Team|EDF}}
{{Team|RC}}
{{Team|Mar}}
{{Team|Mar}}
</pre>
</pre>
'''Output:'''
'''Output:'''


{{Team|RF}}<br>
{{Team|RF}}<br />
{{Team|EDF}}<br>
{{Team|RF1}}<br />
{{Team|Ultor}}<br />
{{Team|EDF}}<br />
{{Team|RC}}<br />
{{Team|Mar}}
{{Team|Mar}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 04:32, 4 January 2024


A template to create the name of a faction/team with its icon next to it. Primarily created for tables but may fit elsewhere.

Usage:

{{Team|RF}}
{{Team|RF1}}
{{Team|Ultor}}
{{Team|EDF}}
{{Team|RC}}
{{Team|Mar}}

Output:

Icon RFG.png Red Faction
Icon RF1.png Red Faction
Icon Ultor.png Ultor
Icon EDFBlue.png EDF
Icon RC.png Commonwealth
Icon Marauder.png Marauder