Template:Chatl/doc

From Old School Near-Reality Wiki
Jump to navigation Jump to search
Error creating thumbnail: Unable to save thumbnail to destination
This is a documentation subpage for Template:Chatl.
It contains usage information, categories, and other content that is not part of the original template page.

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}}
Error creating thumbnail: Unable to save thumbnail to destination
Hans
[[File:Hans chathead.png|link=Hans|x35px]] [[Hans]]
{{chatl|Hans|pic=Ned chathead}}
Error creating thumbnail: Unable to save thumbnail to destination
Hans
[[File:Ned chathead.png|link=Hans|x35px]] [[Hans]]
{{chatl|Hans|txt=Gnome child}}
Error creating thumbnail: Unable to save thumbnail to destination
Gnome child
[[File:Hans chathead.png|link=Hans|x35px]] [[Hans|Gnome child]]
{{chatl|Hans|pic=Ned chathead|txt=Gnome child}}
Error creating thumbnail: Unable to save thumbnail to destination
Gnome child
[[File:Ned chathead.png|link=Hans|x35px]] [[Hans|Gnome child]]

See also

Parameters

Template parameters

ParameterDescriptionTypeStatus
NPC1

This parameter takes the name of the page that the link is for

Page namerequired
Picturepic

This changes the filename used; do not include 'File:' or '.png'

Default
First parameter + ' chathead'
Fileoptional
Texttxt

Alternate text in the link

Default
First parameter
Stringoptional