Difference between revisions of "Template:Skill List"

From TitanRO Wiki
Jump to navigation Jump to search
(→‎Usage: Add instructions about ID location)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span>https://static.divine-pride.net/images/skill/{{{id}}}.png [[{{{page_name}}}]]</span>
<includeonly><span>{{#if: {{{id|}}} | https://static.divine-pride.net/images/skill/{{{id}}}.png }} {{#if: {{{link|}}} | {{{link}}} }}</span>
</includeonly><noinclude>
</includeonly><noinclude>
Trojal needs to add https://static.divine-pride.net as an allowable external image source for this template to work. Until then, under construction!!
== Usage ==


{{Skill List |id=19 |page_name=Fire Bolt}}
The id comes from [https://www.divine-pride.net/ Divine Pride].
 
{| class="wikitable"
! style="background-color:#9aff99;" | Usage
! style="background-color:#9aff99;" | Description
! style="background-color:#9aff99;" | Output
|-
| <pre>{{Skill List |id=19 |link=[[Fire Bolt]]}}</pre>
| Output icon and link to the skill page on the wiki
| {{Skill List |id=19 |link=[[Fire Bolt]]}}
|-
| <pre>{{Skill List |id=19 |link=[https://irowiki.org/wiki/Fire_Bolt Fire Bolt]}}</pre>
| Output icon and link to an external page
| {{Skill List |id=19 |link=[https://irowiki.org/wiki/Fire_Bolt Fire Bolt]}}
|-
| <pre>{{Skill List |id=19 |link=Fire Bolt}}</pre>
| Output icon and text, no link
| {{Skill List |id=19 |link=Fire Bolt}}
|-
| <pre>{{Skill List |id=19}}</pre>
| Output just the icon
| {{Skill List |id=19}}
|-
| <pre>{{Skill List |link=[[Fire Bolt]]}}</pre>
| Output just the link
| {{Skill List |link=[[Fire Bolt]]}}
|}
 
== Credit ==
The original Skill List template comes from [https://irowiki.org/wiki/Template:Skill_List this iROWiki template]. They have given us permission to use it, and we have modified it to serve our purposes.


[[Category:Templates|Skill List]]
[[Category:Templates|Skill List]]
</noinclude>
</noinclude>

Latest revision as of 13:56, 20 May 2018

Usage

The id comes from Divine Pride.

Usage Description Output
{{Skill List |id=19 |link=[[Fire Bolt]]}}
Output icon and link to the skill page on the wiki 19.png Fire Bolt
{{Skill List |id=19 |link=[https://irowiki.org/wiki/Fire_Bolt Fire Bolt]}}
Output icon and link to an external page 19.png Fire Bolt
{{Skill List |id=19 |link=Fire Bolt}}
Output icon and text, no link 19.png Fire Bolt
{{Skill List |id=19}}
Output just the icon 19.png
{{Skill List |link=[[Fire Bolt]]}}
Output just the link Fire Bolt

Credit

The original Skill List template comes from this iROWiki template. They have given us permission to use it, and we have modified it to serve our purposes.