Difference between revisions of "Template:SkillDisplayTEST"
Jump to navigation
Jump to search
imported>LikableBrute m |
>LikableBrute |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><!-- |
| + | -->{{#ifeq: {{#cargo_query:tables=Adventurers|where=_pageName="{{PAGENAME}}"|default=None}} | None | | {{#vardefine:mightUser|Adventurer}} }}<!-- | ||
| + | -->{{#ifeq: {{#var:mightUser}} | Adventurer | {{#vardefine:might1|100}}{{#vardefine:might2|200}}{{#vardefine:might3|300}}{{#vardefine:might4|400}} | {{#vardefine:might1|50}}{{#vardefine:might2|100}} }}<!-- | ||
// Table Display Code | // Table Display Code | ||
--> {| class="skill-table skill-levels" | --> {| class="skill-table skill-levels" | ||
| − | ! <div style="position:absolute;margin-top:-4px;margin-left:-8px">{{#ifexist: Media:{{{icon|}}}.png|[[File:{{{icon|}}}.png|30px|link=]]|[[File:Unknown.png|30px|link=]]}}</div> [[{{{ | + | ! <div style="display:contents; position:absolute;margin-top:-4px;margin-left:-8px">{{#ifexist: Media:{{{icon|}}}.png|[[File:{{{icon|}}}.png|30px|link=]]|[[File:Unknown.png|30px|link=]]}}</div> [[{{{PageName|}}}|{{{Name|}}}]] |
|- | |- | ||
| − | | style="text-align:center;" | {{# | + | | style="text-align:center;" | {{#tag:tabber| |
| − | + | {{#ifexpr: {{{MaxSkillLevel|}}} >=1 | | |
| − | + | Lv1=<div style="display:inline-block; padding:3px; width: 95%"><span style="color:#777;">SP Cost</span>: {{{Sp|}}}</div>{{#ifeq:{{{SpRegen|}}} | | | <br/><div style="display:inline-block; padding:3px; width: 95%"><span style="color:#777;">SP Regen</span>: {{{SpRegen|}}} per second</div> }} | |
{{{Lv1|}}} (<span style="color:#777;">Might</span>: {{#var:might1}}) | {{{Lv1|}}} (<span style="color:#777;">Might</span>: {{#var:might1}}) | ||
| + | |}} | ||
| + | {{#ifexpr: {{{MaxSkillLevel|}}} >=2 | | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
| − | + | Lv2=<div style="display:inline-block; padding:3px; width: 95%"><span style="color:#777;">SP Cost</span>: {{{SpLv2|{{{Sp|}}}}}}</div>{{#ifeq:{{{SpRegen|}}} | | | <br/><div style="display:inline-block; padding:3px; width: 95%"><span style="color:#777;">SP Regen</span>: {{{SpRegen|}}} per second</div> }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{{Lv2|}}} (<span style="color:#777;">Might</span>: {{#var:might2}}) | {{{Lv2|}}} (<span style="color:#777;">Might</span>: {{#var:might2}}) | ||
| + | |}} | ||
| + | {{#ifexpr: {{{MaxSkillLevel|}}} >=3 | | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
| − | + | Lv3=<div style="display:inline-block; padding:3px; width: 95%"><span style="color:#777;">SP Cost</span>: {{{Sp|{{{Sp|}}}}}}</div>{{#ifeq:{{{SpRegen|}}} | | | <br/><div style="display:inline-block; padding:3px; width: 95%"><span style="color:#777;">SP Regen</span>: {{{SpRegen|}}} per second</div> }} | |
| − | |||
| − | |||
| − | {{{ | + | {{{Lv3|}}} (<span style="color:#777;">Might</span>: {{#var:might3}}) |
| + | |}} | ||
| + | {{#ifexpr: {{{MaxSkillLevel|}}} >=4 | | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
| − | + | Lv4=<div style="display:inline-block; padding:3px; width: 95%"><span style="color:#777;">SP Cost</span>: {{{Sp|{{{Sp|}}}}}}</div>{{#ifeq:{{{SpRegen|}}} | | | <br/><div style="display:inline-block; padding:3px; width: 95%"><span style="color:#777;">SP Regen</span>: {{{SpRegen|}}} per second</div> }} | |
| − | {{{ | + | {{{Lv4|}}} (<span style="color:#777;">Might</span>: {{#var:might4}}) |
| − | + | |}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |}</includeonly><noinclude>[[Category:Templates]]</noinclude> | + | |}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude> |
Revision as of 17:48, 14 February 2020
Lua error: Error: Table Skills not found..