Template:Team: Difference between revisions

From Red Faction Wiki
mNo edit summary
No edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
<includeonly>{{#switch: {{{1|}}} <!-- EDITOR NOTE: RF is replaced by RFG but is still here because infoboxes already use it -->
   | RF = [[Image:Icon_RFG.png|20px]] Red Faction
  | RFA = [[Image:RFARFIcon.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
   | EDF = [[Image:Icon_EDFBlue.png|20px]] EDF
  | RFG = [[Image:Icon_RFG.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
   | M = [[Image:Icon_Marauder.png|20px]] Marauder
   | RF = [[Image:Icon_RFG.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
  | RF1 = [[Image:RF1RFLogo.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
  | RF2 = [[Image:RF2RFLogo.png|20px|link=Red Faction (Group)]] [[Red Faction (Group)|Red Faction]]
  | Ultor = [[Image:Icon_Ultor.png|20px|link=Ultor]] [[Ultor]]
   | EDF = [[Image:Icon_EDFBlue.png|20px|link=Earth Defense Force]] [[Earth Defense Force|EDF]]
  | RC = [[Image:Icon_CW.png|20px|link=Republic of the Commonwealth]] [[Republic of the Commonwealth|Commonwealth]]
   | Mar = [[Image:Icon_Marauder.png|20px|link=Marauders]] [[Marauders]]
  | Cult = [[Image:Icon_Cultist.png|20px|link=Cultists]] [[Cultists]]
  | WF = [[Image:RFOWFIcon.png‎|20px|link=White Faction]] [[White Faction]]
  | AP = [[Image:RFAAPIcon.png|20px|link=The Alien Plague]] [[The Alien Plague|Alien Plague]]
   | N/A
   | N/A
}}</includeonly>
}}</includeonly><noinclude>A template to create the name of a faction/team with its icon next to it. Primarily created for tables but may fit elsewhere.
 
* RFA = [[Red Faction (Group)|Red Faction]] (RF:A-era)
* RFG = [[Red Faction (Group)|Red Faction]] (RF:G-era)
* RF1 = [[Red Faction (Group)|Red Faction]] (RF1-era)
* RF2 = [[Red Faction (Group)|Red Faction]] (RF2-era)
* Ultor = [[Ultor]]
* EDF = [[Earth Defense Force]]
* RC = [[Republic of the Commonwealth]]
* Mar = [[Marauders]]
* Cult = [[Cultists]]
* WF = [[White Faction]]
* AP = [[The Alien Plague]]
 
'''Usage:'''<pre>
{{Team|RF1}}
{{Team|RF2}}
{{Team|RFG}}
{{Team|RFA}}
{{Team|Ultor}}
{{Team|EDF}}
{{Team|RC}}
{{Team|Mar}}
{{Team|Cult}}
{{Team|WF}}
{{Team|AP}}
</pre>
'''Output:'''
 
{{Team|RF1}}<br />
{{Team|RF2}}<br />
{{Team|RFG}}<br />
{{Team|RFA}}<br />
{{Team|Ultor}}<br />
{{Team|EDF}}<br />
{{Team|RC}}<br />
{{Team|Mar}}<br />
{{Team|Cult}}<br />
{{Team|WF}}<br />
{{Team|AP}}
 
[[Category:Inline Templates]]
</noinclude>

Latest revision as of 20:27, 7 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}}
{{Team|Cult}}
{{Team|WF}}
{{Team|AP}}

Output:

RF1RFLogo.png Red Faction
RF2RFLogo.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
Icon Cultist.png Cultists
RFOWFIcon.png White Faction
RFAAPIcon.png Alien Plague