Difference between revisions of "Template:SkillDisplayEntryTEST"
Jump to navigation
Jump to search
>LikableBrute m |
>LikableBrute |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly>{{#vardefine:fieldparams |
| + | |_pageName=PageName,Name,MaxSkillLevel,SkillLv1IconName=icon,Description1=Lv1,Description2=Lv2,Description3=Lv3,Description4=Lv4,Sp=Sp,SPLv2=SpLv2,SpRegen}} | ||
| + | {{#if:{{{ID|}}}| | ||
| + | {{#invoke:CargoQuery|main | ||
| + | |q?tables=Skills | ||
| + | |q?fields={{#var:fieldparams}} | ||
| + | |q?where=SkillId={{{ID|}}} | ||
| + | |q?groupBy=_pageName | ||
| + | |template=SkillDisplayTEST | ||
| + | |default= | ||
| + | }}| | ||
{{#invoke:CargoQuery|main | {{#invoke:CargoQuery|main | ||
|q?tables=Skills | |q?tables=Skills | ||
| Line 7: | Line 17: | ||
|template=SkillDisplayTEST | |template=SkillDisplayTEST | ||
|default=[[{{{Name|}}}]] | |default=[[{{{Name|}}}]] | ||
| − | }}</includeonly><noinclude>[[Category:Templates]]</noinclude> | + | }}}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude> |