Template:SCP/doc

Template page

{{#invoke:Documentation|doc}}

Template:SCP invokes Module:SCP using Lua.

The SCP template displays a clickable skill icon picture that links to the skill page. This can be also be used in other templates that display skill icons.

Usage

{{SCP|<skill>|<number>|link = (optional) yes}}

Examples

Just skill:

{{SCP|Magic}}

{{#invoke:SCP|main}}

Skill and level:

{{SCP|Magic|50}}

{{#invoke:SCP|main}}

Skill, level, and link:

{{SCP|Magic|50|link=yes}}

{{#invoke:SCP|main}}

Non-skill Clickpics

This template can produce a number of clickpics which are not skill icons.

Name Image
(Default) main}}
Quests main}}
Combat main}}
Minigame main}}
Diary main}}
Music main}}
Favour main}}
Time main}}

Parameters

<templatedata> {

   "description": "",
   "params": {
       "1": {
           "label": "Skill",
           "description": "The name of the skill.",
           "default": "Stats",
           "type": "string"
       },
       "2": {
           "label": "Level",
           "description": "The skill level to display.",
           "type": "number"
       },
       "link": {
           "label": "Link",
           "description": "Filled in with 'yes' to display the skill name as a link at the end.",
           "type": "string"
       },
       "sort": {
           "label": "Sort",
           "description": "Applies data-sort-value='level'| in front of the icon and text if used; Only use on the first instance in a table row.",
           "type": "string"
       }
   }

} </templatedata>