Template:CngAlt: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
m remove himage=
Redirected page to Template:Cng
Tag: New redirect
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{swh|{{exist|File:Mini Portrait {{{image|{{{1}}}}}} (HotA).png|[[File:Mini Portrait {{{image|{{{1}}}}}} (HotA).png|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]|[[File:Mini Portrait {{{image|{{{1}}}}}}.png|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]}}|[[File:Mini Portrait {{{image|{{{1}}}}}}.png|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]|noicon=}}{{-}}{{{noname|{{gl|{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}}}}}}</includeonly><noinclude>
#REDIRECT[[Template:Cng]]
'''Cn''' is short of creature name.
 
== Use ==
The template is used to show a creature's image and a name, both leading to the creature article.
The variables for the template are:
# = Creature name
# = Link (if needed)
*noname= for a creature portrait without text
*name= for a custom name
*image= for a custom image
 
{{CngAlt|Halfling}} — <nowiki>{{CngAlt|Halfling}}</nowiki>
 
{{CngAlt|Halfling|image=Halfling (HotA)}} — <nowiki>{{CngAlt|Halfling|image=Halfling (HotA)}}</nowiki>
 
{{CngAlt|Halfling (Factory)|name=Halfling}} — <nowiki>{{CngAlt|Halfling (Factory)|name=Halfling}}</nowiki>
 
[[Category: Table templates|Creature name]]
__NOTOC__</noinclude>

Latest revision as of 14:29, 1 January 2026

Redirect to: