Template:Chatlp/doc
< Template:Chatlp
Jump to navigation
Jump to search
Revision as of 23:12, 4 October 2022 by Jacmob (talk | contribs) (Created page with "{{Documentation}} 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 <code>x30</code> pixels. ==Usage== {{T|chatlp|NPC|pic=file name}} ==Examples== {|class="wikitable" !Code ! style="min-width:150px;" | Produces !Standard syntax |- |<code><nowiki>{{chatlp|Hans}}</nowiki></code> |{{chatlp|Hans}} |<code><nowiki>link=Hans|x30px</nowiki></code> |- |<code><nowiki>{{ch...")
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}}
|
![]() |
[[File:Hans chathead.png|link=Hans|x30px]]
|
{{chatlp|Hans|pic=Ned chathead}}
|
![]() |
[[File:Ned chathead.png|link=Hans|x30px]]
|
See also
Parameters
Parameter | Description | Type | Status | |
---|---|---|---|---|
NPC | 1 | This parameter takes the name of the page that the link is for. | Page name | required |
Picture | pic | This changes the filename used; do not include 'File:' or '.png'
| File | optional |