Template:CngAlt: Difference between revisions
Jump to navigation
Jump to search
Testing this on some templates to see how it looks (using official small images instead of shrunken down ones) |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>[[File:Mini Portrait {{{image|{{{1}}}}}}.png|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]{{-}}{{{noname|{{gl|{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}}}}}}</includeonly><noinclude> | <includeonly>{{#ifexist:{{{image|{{{1}}}}}} (HotA).png|{{swh|[[File:Mini Portrait {{{image|{{{1}}}}}} {{{himage|}}}.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|}}}]]}}{{-}}{{{noname|{{gl|{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}}}}}}</includeonly><noinclude> | ||
'''Cn''' is short of creature name. | '''Cn''' is short of creature name. | ||
| Line 10: | Line 10: | ||
*name= for a custom naming | *name= for a custom naming | ||
{{CngAlt|Halfling}} | |||
{{CngAlt|Halfling|himage=(HotA)}} | |||
{{CngAlt|Halfling|image=Halfling (HotA)}} | |||
{{CngAlt| | |||
{{CngAlt|Halfling (Factory)|name=Halfling}} | |||
[[Category: Table templates|Creature name]] | [[Category: Table templates|Creature name]] | ||
__NOTOC__</noinclude> | __NOTOC__</noinclude> | ||
Revision as of 21:31, 31 March 2025
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 naming