Difference between revisions of "Template:AR Equipment extended infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 30: | Line 30: | ||
| Has rarity = {{{rarity|}}} | | Has rarity = {{{rarity|}}} | ||
| Has ID = {{{id|}}} | | Has ID = {{{id|}}} | ||
| Has filename = {{{filename|}}} | | Has filename = {{lc:{{{filename|}}}}} | ||
| Has release date = {{#var:ar equipment release date|{{{release date|2016-01-12}}}}} | |||
| Has release version = {{#var:ar equipment release version|{{{release version|0.0.0}}}}} | |||
| Has skills = {{#explode:{{#explode:{{{skills|}}}|<td colspan=3>|1}}|</td>|0}} | | Has skills = {{#explode:{{#explode:{{{skills|}}}|<td colspan=3>|1}}|</td>|0}} | ||
| Has illustrator = {{#if:{{{illustrator|}}}| | | Has illustrator = {{#if:{{{illustrator|}}}| | ||
Line 99: | Line 101: | ||
<tr> | <tr> | ||
<th colspan=4> | <th colspan=4> | ||
<div style="float:left;padding:0px 0">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_equip/equip_icon_{{{filename|none}}}.png|width=60|height=60}}</div> | <div style="float:left;padding:0px 0">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_equip/equip_icon_{{lc:{{{filename|none}}}}}.png|width=60|height=60}}</div> | ||
<div style="float:centre;padding:10px 0">{{{en name|?}}}<br>{{{name|}}}</div></th> | <div style="float:centre;padding:10px 0">{{{en name|?}}}<br>{{{name|}}}</div></th> | ||
</tr> | </tr> | ||
{{#if:{{{illustrator|}}}| | {{#if:{{{illustrator|}}}| | ||
<tr> | <tr> | ||
<td rowspan="100">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android//equip/equip_card_{{{filename|none}}}.png|height=350}}</td> | <td rowspan="100">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android//equip/equip_card_{{lc:{{{filename|none}}}}}.png|height=350}}</td> | ||
<th>Rarity</th> | <th>Rarity</th> | ||
<td>{{{rarity|?}}}</td> | <td>{{{rarity|?}}}</td> | ||
Line 145: | Line 147: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan=3>{{#arrayprint:limitation array| | <td colspan=3>{{#arrayprint:limitation array||@@@|{{#if:{{#pos:@@@|type:}}|{{AR Equipment limitation|type={{#explode:@@@|,|0}}|value={{#explode:@@@|,|1}}}}|@@@}}{{#if:{{#pos:@@@|div>}}|<!--transient icons get passed along with a data-test div, which creates an extra line break-->|<br>}}}}</td> | ||
</tr> | </tr> | ||
}} | }} |
Latest revision as of 17:03, 5 November 2022
Description
Both creates an infobox and defines a subobject for AR Equipment.
Usage
Like other extended infobox templates, invocation of this template is to be done through the corresponding {{#masterdata:Equip|ID}}
extension call, where ID is the ID of the AR Equipment.
Editors may alter the infobox via variables.
Variables
- ar equipment en name - English name of the equipment. This name will be the commonly displayed one.
- ar equipment en note - Translation of the flavor text for the AR Equipment. It appears under "Translated from Japanese" cell below the infobox.
- ar equipment acquisition - a way to obtain the AR Equipment.
- ar equipment release date - when the AR was released.
- ar equipment release version - the game version under which the AR was released.
Examples
{{#vardefine:ar equipment en name|Family Portrait}} {{#vardefine:ar equipment en note|Example translation}} {{#vardefine:ar equipment acquisition|Gacha}} {{#masterdata:Equip|2026}}
Family Portrait 夏の日の一枚 |
|||
---|---|---|---|
Rarity | 3 | ||
Illustrator | |||
Effects | |||
効果1 | Increases HP by 150~300 | ||
効果2 | Increases ATK by 150~300 | ||
往事渺望 | No additional CS effects | ||
Skills | |||
Restrictions | |||
Acquisition | |||
Gacha |
| ||
|
The above documentation is transcluded from Template:AR Equipment extended infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |