Template:Named: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>StarGeek
m (expanded usage)
imported>StarGeek
m (reverting until error is fixed)
Line 1: Line 1:
([[{{{Faction}}}#{{{Type| }}}|{{{Faction}}} {{If|test={{{Text}}}|then={{{Text}}}|else={{{Type| }}} }} ]])<noinclude>
([[{{{Faction}}}#{{{Type| }}}|{{{Faction}}} {{{Type| }}}]])<noinclude>


----
----
Line 7: Line 7:
This template can be used to link to a specific type of enemy.
This template can be used to link to a specific type of enemy.


Format: '''<nowiki>{{Named|Faction=|Type=|Text=}}</nowiki>'''
Format: '''<nowiki>{{Named|Faction=|Type=}}</nowiki>'''


* Faction is the name of the group the enemy belongs to.
* Faction is the name of the group the enemy belongs to.
* Type is the actual type of the enemy. If there are multiple types (i.e. Malta Operatives has a Lieutenant Gunslinger and a Boss Gunslinger, with the links being [[Malta Operatives#Gunslinger]] and [[Malta Operatives#Gunslinger 2]] respectively), then type must be the link to the correct type.
* Type is the actual type of the enemy.
* Text is the text to use when there are multiple types.  For example, to link to the above Malta Operative boss, you can use '''<nowiki>{{Named|Faction=Malta Operatives|Type=Gunslinger 2|Text=Gunslinger}}</nowiki>'''.
</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 21:54, 3 November 2006

([[{{{Faction}}}# |{{{Faction}}} ]])


Named

This template can be used to link to a specific type of enemy.

Format: {{Named|Faction=|Type=}}

  • Faction is the name of the group the enemy belongs to.
  • Type is the actual type of the enemy.