Template:Named: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Zombie Man (historical)
m (Moved within heirarchy of categories)
imported>Sekoia (historical)
({{if}} -> {{#if:}})
Line 1: Line 1:
<includeonly>([[{{{Faction}}}{{if|test={{{Type|}}}|then=&#035;{{{Type}}}}}|{{{Faction}}}{{if|test={{{Text|}}}|then=&nbsp;{{{Text}}}|else={{if|test={{{Type|}}}|then=&nbsp;{{{Type}}}}}}}]])</includeonly><noinclude>
<includeonly>([[{{{Faction}}}{{#if:{{{Type|}}}|&#035;{{{Type}}}}}|{{{Faction}}}{{#if:{{{Text|}}}|&nbsp;{{{Text}}}|{{#if:{{{Type|}}}|&nbsp;{{{Type}}}}}}}]])</includeonly><noinclude>
== Overview ==
== Overview ==



Revision as of 00:19, 22 February 2010

Overview

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

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

  • 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.
  • Text is the text to use when there are multiple types. For example, to link to the above Malta Operative boss, you can use {{Named|Faction=Malta Operatives|Type=Gunslinger 2|Text=Gunslinger}}.

Examples

Markup Result
{{Named|Faction=Malta Operatives}} (Malta Operatives)
{{Named|Faction=Malta Operatives|Type=Gunslinger}} (Malta Operatives Gunslinger)
{{Named|Faction=Malta Operatives|Type=Gunslinger 2|Text=Gunslinger}} (Malta Operatives Gunslinger)