Template:Clickpic/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{documentation}} :''See also: {{T|Reputation XP}}'' The '''Clickpic''' template displays a clickable skill icon picture that links to a page. This can be also be used in othe..." |
mNo edit summary |
||
| Line 8: | Line 8: | ||
==Example== | ==Example== | ||
Using the following code: <code><nowiki>{{Clickpic|Earth | Using the following code: <code><nowiki>{{Clickpic|Earth}}</nowiki></code><br /> | ||
produces the following result: {{Clickpic|Earth | produces the following result: {{Clickpic|Earth}} | ||
At the same time: <code><nowiki>{{Clickpic|Mars | At the same time: <code><nowiki>{{Clickpic|Mars|50}}</nowiki></code><br /> | ||
produces the following result: {{Clickpic|Mars | produces the following result: {{Clickpic|Mars|50}} | ||
<includeonly>[[Category:Image templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Image templates|{{PAGENAME}}]]</includeonly> | ||
Latest revision as of 21:11, 28 January 2021
Template:Clickpic invokes function main in Module:Clickpic using Lua.
- See also:
{{Reputation XP}}
The Clickpic template displays a clickable skill icon picture that links to a page. This can be also be used in other templates that display item, attribute or planet icons.
Usage
{{Clickpic|<value>|<number>}}
The second parameter is optional.
Example
Using the following code: {{Clickpic|Earth}}
produces the following result:
At the same time: {{Clickpic|Mars|50}}
produces the following result: 50
