Template:Team: Difference between revisions

From Red Faction Wiki
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}} <!-- EDITOR NOTE: RF is replaced by RFG but is still here because infoboxes already use it -->
<includeonly>{{#switch: {{{1|}}} <!-- EDITOR NOTE: RF is replaced by RFG but is still here because infoboxes already use it -->
   | RFA = [[Image:Icon_RFA.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
   | RFA = [[Image:RFARFIcon.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
   | RFG = [[Image:Icon_RFG.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
   | RFG = [[Image:Icon_RFG.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
   | RF = [[Image:Icon_RFG.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
   | RF = [[Image:Icon_RFG.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
Line 22: Line 22:


'''Usage:'''<pre>
'''Usage:'''<pre>
{{Team|RFA}}
{{Team|RFG}}
{{Team|RF1}}
{{Team|RF1}}
{{Team|RF2}}
{{Team|RF2}}
{{Team|RFG}}
{{Team|RFA}}
{{Team|Ultor}}
{{Team|Ultor}}
{{Team|EDF}}
{{Team|EDF}}
Line 33: Line 33:
'''Output:'''
'''Output:'''


{{Team|RFA}}<br />
{{Team|RFG}}<br />
{{Team|RF1}}<br />
{{Team|RF1}}<br />
{{Team|RF2}}<br />
{{Team|RF2}}<br />
{{Team|RFG}}<br />
{{Team|RFA}}<br />
{{Team|Ultor}}<br />
{{Team|Ultor}}<br />
{{Team|EDF}}<br />
{{Team|EDF}}<br />

Revision as of 02:47, 6 February 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|RF1}}
{{Team|RF2}}
{{Team|RFG}}
{{Team|RFA}}
{{Team|Ultor}}
{{Team|EDF}}
{{Team|RC}}
{{Team|Mar}}

Output:

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