Template:Chatl

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 15:28, 16 October 2024 (Created page with "<includeonly><span class="plink-template">[[File:{{{pic|{{{1}}} chathead}}}.png|link={{{1}}}|alt=Chathead image of {{{1}}}|35x35px]]</span>[[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Chatl/doc. [edit] [history] [purge]

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

Template parameters[Edit template data]

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