Template:SCP: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
(Created page with "{{documentation}} 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> {{SCP|Magic|50|link=...")
Tag: Reverted
(Replaced content with "<includeonly>{{#invoke:SCP|main}}</includeonly><noinclude>{{/doc}}</noinclude>")
Tags: Replaced Manual revert
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{documentation}}
<includeonly>{{#invoke:SCP|main}}</includeonly><noinclude>{{/doc}}</noinclude>
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>
{{SCP|Magic|50|link=yes}}
 
==Non-skill clickpics==
This template can produce a number of clickpics which are not skill icons.
 
{| class="wikitable align-center-2"
! Name !! Image !! Link
|-
|<code>overall</code> || {{SCP|Overall}} || [[Skills]]
|-
|<code>diary</code> || {{SCP|Diary}} || [[Achievement Diary]]
|-
|<code>combatachievement</code> || {{SCP|Combatachievement}} || [[Combat Achievements]]
|-
|<code>combat</code> || {{SCP|Combat}} || [[Combat level]]
|-
|<code>combatstyle</code> || {{SCP|Combatstyle}} || [[Combat styles]]
|-
|<code>dd</code> || {{SCP|dd}} || [[Distractions and Diversions]]
|-
|<code>favour</code> || {{SCP|Favour}} || [[Kourend Favour]]
|-
|<code>minigame</code> || {{SCP|Minigame}} || [[Minigames]]
|-
|<code>music</code> || {{SCP|Music}} || [[Music]]
|-
|<code>raid</code> || {{SCP|raid}} || [[Raids]]
|-
|<code>quest</code> || {{SCP|Quest}} || [[Quest points]]
|-
|<code>time</code> || {{SCP|Time}} || [[Time]]
|-
|<code>total</code> || {{SCP|Total}} || [[Total level]]
|}
 
==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>
 
<includeonly>[[Category:Image templates|{{PAGENAME}}]]</includeonly>

Latest revision as of 11:04, 30 March 2024