Template:Clickpic/doc: Difference between revisions

From [N8]
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 Icon}}</nowiki></code><br />
Using the following code: <code><nowiki>{{Clickpic|Earth}}</nowiki></code><br />
produces the following result: {{Clickpic|Earth Icon}}
produces the following result: {{Clickpic|Earth}}


At the same time: <code><nowiki>{{Clickpic|Mars Icon|50}}</nowiki></code><br />
At the same time: <code><nowiki>{{Clickpic|Mars|50}}</nowiki></code><br />
produces the following result: {{Clickpic|Mars Icon|50}}
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

This is a documentation subpage for Template:Clickpic.
It contains usage information, categories, and other content that is not part of the original template page.
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: Earth

At the same time: {{Clickpic|Mars|50}}
produces the following result: 50 Mars