Template:SCP/doc

From Zeah RSPS - Wiki
< Template:SCP
Revision as of 11:43, 17 February 2022 by Mortem (talk | contribs) (Created page with "{{documentation}} {{Invokes|SCP}} 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== <pre>{{SCP|<skill>|<number>|link = (optional) yes}}</pre> ==Examples== Just skill:<br/> <pre>{{SCP|Magic}}</pre> {{SCP|Magic}} Skill and level:<br/> <pre>{{SCP|Magic|50}}</pre> {{SCP|Magic|50}} Skill, level, and link:<br/> <pre>{{SCP|Magic|50|link=yes}}</pre> {{SC...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Script error: The module returned a nil value. It is supposed to return an export table.

{{#replace:Template:SCP/doc|/doc}} 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}}

Magic

Skill and level:

{{SCP|Magic|50}}

Magic 50

Skill, level, and link:

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

Magic 50 Magic

Non-skill Clickpics

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

Name Image
(Default) Skills
Quests Quest points
Combat File:Attack style icon.png
Minigame File:Minigame icon.png
Diary File:Achievement Diaries icon.png
Music Music
Favour File:Kourend Favour icon.png
Time

Parameters

Template parameters

ParameterDescriptionTypeStatus
Skill1

The name of the skill.

Default
Stats
Stringoptional
Level2

The skill level to display.

Numberoptional
Linklink

Filled in with 'yes' to display the skill name as a link at the end.

Stringoptional
Sortsort

Applies data-sort-value='level'| in front of the icon and text if used; Only use on the first instance in a table row.

Stringoptional