Template:Chatl/doc
This template displays a link to an NPC along with the associated chathead. The chathead will be resized to 35 pixels.
Usage
{{chatl|NPC|txt=alternate text|pic=file name}}
Examples
Code | Produces | Standard syntax |
---|---|---|
{{chatl|Hans}}
|
Chathead image of HansHans | [[File:Hans chathead.png|link=Hans|x35px]] [[Hans]]
|
{{chatl|Hans|pic=Ned chathead}}
|
Chathead image of HansHans | [[File:Ned chathead.png|link=Hans|x35px]] [[Hans]]
|
{{chatl|Hans|txt=Gnome child}}
|
Chathead image of HansGnome child | [[File:Hans chathead.png|link=Hans|x35px]] [[Hans|Gnome child]]
|
{{chatl|Hans|pic=Ned chathead|txt=Gnome child}}
|
Chathead image of HansGnome child | [[File:Ned chathead.png|link=Hans|x35px]] [[Hans|Gnome child]]
|
See also
Parameters
<templatedata> {
"description": "", "params": { "1": { "label": "NPC", "description": "This parameter takes the name of the page that the link is for", "type": "wiki-page-name", "required": true }, "pic": { "label": "Picture", "description": "This changes the filename used; do not include 'File:' or '.png'", "default": "First parameter + ' chathead'", "type": "wiki-file-name" }, "txt": { "label": "Text", "description": "Alternate text in the link", "default": "First parameter", "type": "string" } }
} </templatedata>