Difference between revisions of "Template:Skill"

From SMT: Dx2 Wiki
Jump to: navigation, search
(Add "uselimit" named variable to template with default infinity value.)
(Correct default fall-back syntax.)
Line 10: Line 10:
 
<th scope="col"> Description </th>
 
<th scope="col"> Description </th>
 
<tr><td>[[File:{{{type}}}.png|36px|link={{{type}}} Skills]]</td>
 
<tr><td>[[File:{{{type}}}.png|36px|link={{{type}}} Skills]]</td>
<td>[[{{{skill}}}|<span style="color:blue">{{{skill}}}</span>]]<nowiki> | </nowiki> [[{{{skill}}}/Demons|<span style="color:red">Demons</span>]]<nowiki> | </nowiki>MP: {{{cost}}}<nowiki> | </nowiki>Skill Points: {{{skill_cost}}}<nowiki> | </nowiki>Target: {{{target}}} <nowiki> | </nowiki>Use Limit: {{{uselimit|&infin;}}}
+
<td>[[{{{skill}}}|<span style="color:blue">{{{skill}}}</span>]]<nowiki> | </nowiki> [[{{{skill}}}/Demons|<span style="color:red">Demons</span>]]<nowiki> | </nowiki>MP: {{{cost}}}<nowiki> | </nowiki>Skill Points: {{{skill_cost}}}<nowiki> | </nowiki>Target: {{{target}}} <nowiki> | </nowiki>Use Limit: {{#if: {{{uselimit|}}} | {{{uselimit}}} | &infin;}}
 
----
 
----
 
{{{description}}} {{{levels}}} </td></tr>
 
{{{description}}} {{{levels}}} </td></tr>
 
</table>
 
</table>
 
}}
 
}}

Revision as of 01:50, 19 August 2021

Type Description
[[File:{{{type}}}.png|36px|link={{{type}}} Skills]] [[{{{skill}}}|{{{skill}}}]] | [[{{{skill}}}/Demons|Demons]] | MP: {{{cost}}} | Skill Points: {{{skill_cost}}} | Target: {{{target}}} | Use Limit: ∞
{{{description}}} {{{levels}}}