Template:Chatlp: Difference between revisions

From Old School Near-Reality Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><span class="plink-template">[[File:{{{pic|{{{1}}} chathead}}}.png|link={{{1}}}|x30px]]</span></includeonly><noinclude>{{/doc}}</noinclude>")
 
(No difference)

Latest revision as of 23:12, 4 October 2022

Template documentation
This documentation is transcluded from Template:Chatlp/doc. [edit] [history] [purge]

The chat link plain template is used to display an NPC chathead that links to the NPC's page. The chathead will be resized to x30 pixels.

Usage

{{chatlp|NPC|pic=file name}}

Examples

Code Produces Standard syntax
{{chatlp|Hans}} Hans chathead.png [[File:Hans chathead.png|link=Hans|x30px]]
{{chatlp|Hans|pic=Ned chathead}} Ned chathead.png [[File:Ned chathead.png|link=Hans|x30px]]

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