mNo edit summary |
mNo edit summary |
||
(31 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{doc}}[[Category:Templates]][[Category:Page templates]]</noinclude><includeonly> |
+ | <noinclude>{{doc}}[[Category:Templates]][[Category:Page templates]]</noinclude><includeonly><span style="white-space:nowrap;">{{#invoke:cargo|query1|tables=Units|fields=CONCAT('[[',_pageName,'{{!}}{{(}}Hover{{!}}',IFNULL(CONCAT(Name,': ',Title),Name),'{{!}}{{(}}#invoke:StripWikitext{{!}}main{{!}}1=',IFNULL(Description,''),'{{)}}{{)}}]]')|group by=_pageName|where='{{EscQ|{{{1|}}}}}' IN (_pageName,IFNULL(CONCAT(Name,': ',Title),Name),WikiName)|warn={{(}}UnitPage{{!}}{{{1|}}}{{)}} not found|default=[[{{{1|}}}]]{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Pages with script errors]]}}}}</span></includeonly> |
Revision as of 23:22, 8 December 2019
Returns the named link to the page of a Hero or an enemy. Has shorthand template {{Up}}, and compatibility templates {{HeroPage}}, {{Hp}}, {{EnemyPage}}, and {{Ep}}.
Examples
{{UnitPage|Alfonse: Prince of Askr}}
{{UnitPage|Alfonse: Spring Prince}}
{{UnitPage|Surtr: Ruler of Flame}}
{{UnitPage|Lyn: Lady of the Plains|resplendent=1}}
{{UnitPage|Gustav: Exsanguinator}}
{{UnitPage|Fáfnir: King of Desolation}}
{{UnitPage|Fáfnir: King of Desolation (Dragon)}}
{{UnitPage|Fafnir King of Desolation ENEMY}}
{{UnitPage|Red Bow}}
{{UnitPage|INVALID'}}
INVALID'
See also
The above documentation is transcluded from Template:UnitPage/doc. (edit | history)