Difference between revisions of "Template:Personality"
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#simple-tooltip: {{#ifeq:{{Personality_level|{{{1}}}|rare}}|true|<span style="color:pink">{{{1}}}</span>|Lv.1: {{Personality_level|{{{1}}}|1}}<br>Lv.2: {{Personality_level|{{{1}}}|2}}<br>Lv.3: {{Personality_level|{{{1}}}|3}}<br>Lv.4: {{Personality_level|{{{1}}}|4}}<br>Lv.5: {{Personality_level|{{{1}}}|5}} {{Personality_level|{{{1}}}|X}}}} |
</includeonly><noinclude> | </includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 08:59, 10 March 2017
Usage
Exact name of the personality should be placed within the template, otherwise it will answer the value is not defined in the tooltip.
{{personality|Enjoys the Sun}}
Example:
{{#simple-tooltip: Lv.1: Increase Power by 4% when the Weather is Clear. Does not take effect on maps with no weather.
Lv.2: Increase Power by 6% when the Weather is Clear. Does not take effect on maps with no weather.
Lv.3: Increase Power by 8% when the Weather is Clear. Does not take effect on maps with no weather.
Lv.4: Increase Power by 10% when the Weather is Clear. Does not take effect on maps with no weather.
Lv.5: Increase Power by 12% when the Weather is Clear. Does not take effect on maps with no weather.
Undefined/incorrect:
{{personality|Enjoy's the Sun}}
Example:
{{#simple-tooltip: Lv.1: This personality hasn't been defined. It can be defined here: Template:Personality level
Lv.2: This personality hasn't been defined. It can be defined here: Template:Personality level
Lv.3: This personality hasn't been defined. It can be defined here: Template:Personality level
Lv.4: This personality hasn't been defined. It can be defined here: Template:Personality level
Lv.5: This personality hasn't been defined. It can be defined here: Template:Personality level
This personality hasn't been defined. It can be defined here: Template:Personality level