Editing Stat
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly>{{#if:{{{2|}}}|{{{2}}} }}<!-- handle stat value |
− | |||
-->{{#iferror:{{icon|{{{icon|{{{1}}}_Icon.png}}}}}<!-- if icon doesn't exist | -->{{#iferror:{{icon|{{{icon|{{{1}}}_Icon.png}}}}}<!-- if icon doesn't exist | ||
-->|[[File:{{{1}}}_Icon.png|?]]<!-- handle non-existent icon | -->|[[File:{{{1}}}_Icon.png|?]]<!-- handle non-existent icon | ||
− | -->|{{icon|{{{icon|{{{1}}}_Icon.png}}}|{{ | + | -->|{{icon|{{{icon|{{{1}}}_Icon.png}}}|{{{link|{{{1}}}}}}}}}}<!-- add icon with link |
− | --> | + | -->{{#ifeq:{{lc:{{{link}}}}}|no<!-- check if link is set to no |
− | + | -->||{{#if:{{{label|}}}|| [[{{{link|{{{1}}}}}}|{{{1}}}]]}}}}<!-- handle label | |
− | -->|{{{ | ||
− | |||
SET PROPERTIES | SET PROPERTIES | ||
− | -->{{# | + | -->{{#ifeq:[[:{{PAGENAME}}|{{PAGENAME}}]]<!-- if the page |
− | -->{{#ask: [[Category:Skills | + | -->|{{#ask: [[Category:Skills]] [[{{PAGENAME}}]]}}<!-- is in Category:Skills |
− | -->|{{#set:Has stat={{ | + | -->|{{#set:Has stat={{sc|{{{link|{{{1}}}}}}}}}}<!-- then set 'Has stat' property |
− | + | -->{{#set:Has stat value={{{2|}}}}}<!-- and set 'Has stat value' property | |
− | --> | + | -->}}</includeonly><noinclude>{{Stat/Documentation}}</noinclude> |
− | -->}}</includeonly><noinclude>{{ |