Difference between revisions of "Template:Skill List"

From TitanRO Wiki
Jump to navigation Jump to search
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: {{{page_name|}}} | [[{{{page_name}}}]] }}</span>
</includeonly><noinclude>
</includeonly><noinclude>
== Usage ==
== Usage ==
This template outputs a skill's icon and a text link to the skill page on the wiki. The icon comes from https://www.divine-pride.net, so search there for the skill you want, and pass that id into the template.
This template outputs a skill's icon and a text link to the skill page on the wiki. The icon comes from https://www.divine-pride.net, so search there for the skill you want, and pass that id into the template.
If no icon can be found, you can also output the skill with just the text by omitting the id parameter. Additionally, if you just want the icon, omit the page_name parameter.


{| class="wikitable"
{| class="wikitable"
Line 8: Line 10:
  ! style="background-color:#9aff99;" | Output
  ! style="background-color:#9aff99;" | Output
  |-
  |-
  | <nowiki>{{Skill List |id=19 |name=Fire Bolt}}</nowiki>
  | <nowiki>{{Skill List |id=19 |page_name=Fire Bolt}}</nowiki>
  | {{Skill List |id=19 |page_name=Fire Bolt}}
  | {{Skill List |id=19 |page_name=Fire Bolt}}
|-
| <nowiki>{{Skill List |id=19}}</nowiki>
| {{Skill List |id=19}}
|-
| <nowiki>{{Skill List |page_name=Fire Bolt}}</nowiki>
| {{Skill List |page_name=Fire Bolt}}
|}
|}


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

Revision as of 15:25, 8 May 2018

Usage

This template outputs a skill's icon and a text link to the skill page on the wiki. The icon comes from https://www.divine-pride.net, so search there for the skill you want, and pass that id into the template.

If no icon can be found, you can also output the skill with just the text by omitting the id parameter. Additionally, if you just want the icon, omit the page_name parameter.

Usage Output
{{Skill List |id=19 |page_name=Fire Bolt}} 19.png Fire Bolt
{{Skill List |id=19}} 19.png
{{Skill List |page_name=Fire Bolt}} Fire Bolt