Main Page

Difference between revisions of "Template:Pots"

From Arks-Visiphone
Jump to navigation Jump to search
(Undo revision 49330 by SynthSy (talk))
Tag: Undo
 
(44 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[File:Potential.png]] {{#simple-tooltip: {{#ifeq:{{PotentialLevel|{{{1}}}|hidden}}|true|<span style="color:#FF0000">{{{1}}}</span>|{{{1}}}}}|Lv.1: {{PotentialLevel|{{{1}}}|1}}<br>Lv.2: {{PotentialLevel|{{{1}}}|2}}<br>Lv.3: {{PotentialLevel|{{{1}}}|3}}&#10;{{PotentialLevel|{{{1}}}|X}}}}<noinclude>Edit potentials information here: [[http://pso2.arks-visiphone.com/index.php?title=Template:Pots&action=edit]]</noinclude>
+
<includeonly>[[File:Potential.png|link=]] {{#simple-tooltip:{{#ifeq:{{Potential_level|{{{1}}}|hidden}}|true|<span style="color:red">{{{1}}}</span>|{{#ifeq:{{Potential_level|{{{1}}}|weaponoid}}|true|<span style="color:green">{{{1}}}</span>|{{#ifeq:{{Potential_level|{{{1}}}|arena}}|true|<span style="color:purple">{{{1}}}</span>|{{#ifeq:{{Potential_level|{{{1}}}|special}}|true|<span style="color:orange">{{{1}}}</span>|{{#ifeq:{{Potential_level|{{{1}}}|ultimate}}|true|<span style="color:#5bc0de">{{{1}}}</span>|{{{1}}}}}}}}}}}}}|Lv.1: {{Potential_level|{{{1}}}|1}}<br>Lv.2: {{Potential_level|{{{1}}}|2}}<br>Lv.3: {{Potential_level|{{{1}}}|3}}&#10;{{Potential_level|{{{1}}}|X}}}}</includeonly><noinclude>
 +
==Usage==
 +
Exact name of the potential should be placed within the template, otherwise it will answer the value is not defined in the tooltip.
 +
<nowiki>
 +
{{pots|Immediate Attack}}</nowiki>
 +
Example:
 +
{{pots|Immediate Attack}}<br>
 +
Undefined/incorrect:
 +
<nowiki>{{pots|Resolute Moments Attack}}</nowiki>
 +
Example:<br>
 +
{{pots|Resolute Moments Attack}}
 +
[[Category:Weapon Templates]]</noinclude>

Latest revision as of 19:06, 7 June 2021

Usage

Exact name of the potential should be placed within the template, otherwise it will answer the value is not defined in the tooltip.

{{pots|Immediate Attack}}

Example: Potential.png Immediate Attack
Undefined/incorrect:

{{pots|Resolute Moments Attack}}

Example:
Potential.png Resolute Moments Attack