Template:Pots: Difference between revisions

From Arks-Visiphone
Jump to navigation Jump to search
mNo edit summary
m (testing)
Line 1: Line 1:
<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>|{{{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>
<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>|{{{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==
==Usage==
Exact name of the potential should be placed within the template, otherwise it will answer the value is not defined in the tooltip.
Exact name of the potential should be placed within the template, otherwise it will answer the value is not defined in the tooltip.

Revision as of 06:32, 9 March 2017

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|Resolute Moment's Attack}}

Example: Potential.png {{#simple-tooltip: Resolute Moment's Attack
Undefined/incorrect:

{{pots|Resolute Moments Attack}}

Example:
Potential.png {{#simple-tooltip: Resolute Moments Attack