Main Page

Difference between revisions of "Template:Pots"

From Arks-Visiphone
Jump to navigation Jump to search
m (Red lettering for hidden potentials should work now)
(Undo revision 49330 by SynthSy (talk))
Tag: Undo
 
(58 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[File:Potential.png]] {{abbr|{{#ifeq:{{potslevel|{{{1}}}|hidden}}|true|<span style="color:#FF0000">{{{1}}}</span>|{{{1}}}}}|Lv.1: {{potslevel|{{{1}}}|1}}&#10;Lv.2: {{potslevel|{{{1}}}|2}}&#10;Lv.3: {{potslevel|{{{1}}}|3}}&#10;{{potslevel|{{{1}}}|X}}}}<noinclude>Edit potentials information here: [[http://nanapedia-pso2.shoutwiki.com/w/index.php?title=Template:Potslevel&action=edit]]
+
<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>
</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