|
Tags: Replaced Manual revert |
(One intermediate revision by the same user 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/>
| |
| | |
| ==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]]
| |
| |-
| |
| |}
| |
| | |
| ==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>
| |