Template:Chatlp

From OtherX
Jump to navigation Jump to search
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}} File:Hans chathead.png [[File:Hans chathead.png|link=Hans|x30px]]
{{chatlp|Hans|pic=Ned chathead}} File:Ned chathead.png [[File:Ned chathead.png|link=Hans|x30px]]

See also

Parameters

<templatedata> {

   "description": "",
   "params": {
       "1": {
           "label": "NPC",
           "description": "This parameter takes the name of the page that the link is for.",
           "type": "wiki-page-name",
           "required": true
       },
       "pic": {
           "label": "Picture",
           "description": "This changes the filename used; do not include 'File:' or '.png'",
           "default": "First parameter + ' chathead'",
           "type": "wiki-file-name"
       }
   }

} </templatedata>