Difference between revisions of "Template:AR Equipment skill"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#masterdata:Skill|{{{1|}}}|format=wiki}}{{#if:{{{2|}}}|[[Has AR ID::{{{2|}}}]]}}[[Category:AR Equipment skills]]</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
<includeonly><onlyinclude>{{#vardefine:ar skill page|true}}{{#vardefine:hide guide|true}}{{#vardefine:hide transient skill list|true}}{{#masterdata:Skill|{{{1|}}}|format=wiki}}{{#if:{{{2|}}}
|{{#subobject:ar link{{#vardefineecho:ar link num|{{#expr:{{#var:ar link num|-1}}+1}}}}
| Has key = AR skill linker
| Has Skill ID = {{{1|}}}
| Has AR ID = {{{2|}}}
}}}}
{{#if:{{{2|}}}|This AR Skill is used by {{AR Equipment|id={{{2|}}}}}|No AR Equipment is linked to this skill.}}{{#vardefine:hide guide|}}{{Guide}}[[Category:AR Equipment skills]]</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:39, 15 November 2020

Template documentation[view] [edit] [history] [purge]

Description

This template is a wrap around the {{#masterdata:Skill}} call to differentiate the AR Equipment skill from the usual one. It also makes a link between the equipment and the skill itself.

First argument is the skill id, second one is the AR id.

Usage example

{{AR Equipment skill|40001|1001}}