Template:Chatl

From Old School RuneScape Wiki
Jump to: navigation, search
Template documentation[edit] [purge]
This documentation is transcluded from 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|pic=file name|txt=alternate text}}

1

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

pic

If included, this changes the filename used; defaults to the first parameter + chathead; do not include "File:" or ".png"

txt

Alternate text in the link; defaults to the first parameter

Examples
Code Produces Standard syntax
{{chatl|Hans}} Hans chathead.png: Chat head image of HansHans [[File:Hans chathead.png|link=Hans|x35px]] [[Hans]]
{{chatl|Hans|pic=Ned chathead}} Hans chathead.png: Chat head image of HansHans [[File:Ned chathead.png|link=Hans|x35px]] [[Hans]]
{{chatl|Hans|txt=Gnome child}} Hans chathead.png: Chat head image of HansGnome child [[File:Hans chathead.png|link=Hans|x35px]] [[Hans|Gnome child]]
{{chatl|Hans|pic=Ned chathead|txt=Gnome child}} Hans chathead.png: Chat head image of HansGnome child [[File:Ned chathead.png|link=Hans|x35px]] [[Hans|Gnome child]]