Template:Legacy variant table header/doc: Difference between revisions
(Created page with "{{documentation subpage}} <includeonly> Category:Templates </includeonly>") |
>Illviljan mNo edit summary |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
Creates a table for [[legacy]] items. {{tlx|Legacy variant table header}} is used with {{tlx|Legacy variant table row}}. | |||
==Parameters== | |||
===Header=== | |||
{| class="wikitable sortable" | |||
! Parameter | |||
! Value | |||
! Optional | |||
! Description | |||
|- | |||
| base | |||
| bool | |||
| {{yes}} | |||
| Base item type | |||
|- | |||
| level | |||
| bool | |||
| {{yes}} | |||
| Required level | |||
|} | |||
===Row=== | |||
{| class="wikitable sortable" | |||
! Parameter | |||
! Value | |||
! Optional | |||
! Description | |||
|- | |||
| 1 | |||
| str | |||
| {{no}} | |||
| [[Implicit]] or [[explicit]] modifier text, depending if <nowiki>{{{2}}}</nowiki> is also set. | |||
Bright text indicates a modifier that is different in a legacy variant. Strike-through text indicates a modifier that does not exist in a legacy variant. | |||
* Bright text: <code><nowiki>{{c|mod|sample text}}</nowiki></code> → {{c|mod|sample text}} | |||
* Strike-through text: <code><nowiki>{{c|not|sample text}}</nowiki></code> → {{c|not|Sample text}} | |||
|- | |||
| 2 | |||
| str | |||
| {{no}} | |||
| [[Explicit]] modifier text. | |||
Bright text indicates a modifier that is different in a legacy variant. Strike-through text indicates a modifier that does not exist in a legacy variant. | |||
* Bright text: <code><nowiki>{{c|mod|sample text}}</nowiki></code> → {{c|mod|sample text}} | |||
* Strike-through text: <code><nowiki>{{c|not|sample text}}</nowiki></code> → {{c|not|Sample text}} | |||
|- | |||
| base | |||
| str | |||
| {{yes}} | |||
| Base item type | |||
|- | |||
| level | |||
| str | |||
| {{yes}} | |||
| Required level | |||
|} | |||
==Examples== | |||
<pre> | |||
{{legacy variant table header|base=yes}} | |||
{{legacy variant table row|2.0.0|base={{il|Leatherscale Boots}}<br> {{c|stat|Requires Level 6}}|(40-60)% increased Armour and Evasion <br /> {{c|mod|+(10-20) to maximum Life}} <br /> {{c|mod|+(10-20) to maximum Mana}} <br /> 15% increased Movement Speed <br /> 50% increased Stun and Block Recovery <br /> 20% reduced Light Radius <br /> +50% to Chaos Resistance while using a Flask <br /> {{c|not|Adds (15-20)-(25-30) Chaos Damage to Spells and Attacks while using a Flask}}}} | |||
|} | |||
</pre> | |||
{{legacy variant table header|base=yes}} | |||
{{legacy variant table row|2.0.0|base={{il|Leatherscale Boots}}<br> {{c|stat|Requires Level 6}}|(40-60)% increased Armour and Evasion <br /> {{c|mod|+(10-20) to maximum Life}} <br /> {{c|mod|+(10-20) to maximum Mana}} <br /> 15% increased Movement Speed <br /> 50% increased Stun and Block Recovery <br /> 20% reduced Light Radius <br /> +50% to Chaos Resistance while using a Flask <br /> {{c|not|Adds (15-20)-(25-30) Chaos Damage to Spells and Attacks while using a Flask}}}} | |||
|} | |||
<includeonly> | <includeonly> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 20:00, 13 November 2017
This subpage provides documentation for Template:Legacy variant table header.
Creates a table for legacy items. {{Legacy variant table header}} is used with {{Legacy variant table row}}.
Parameters
Header
| Parameter | Value | Optional | Description |
|---|---|---|---|
| base | bool | Base item type | |
| level | bool | Required level |
Row
| Parameter | Value | Optional | Description |
|---|---|---|---|
| 1 | str | Implicit or explicit modifier text, depending if {{{2}}} is also set.
Bright text indicates a modifier that is different in a legacy variant. Strike-through text indicates a modifier that does not exist in a legacy variant.
| |
| 2 | str | Explicit modifier text.
Bright text indicates a modifier that is different in a legacy variant. Strike-through text indicates a modifier that does not exist in a legacy variant.
| |
| base | str | Base item type | |
| level | str | Required level |
Examples
{{legacy variant table header|base=yes}}
{{legacy variant table row|2.0.0|base={{il|Leatherscale Boots}}<br> {{c|stat|Requires Level 6}}|(40-60)% increased Armour and Evasion <br /> {{c|mod|+(10-20) to maximum Life}} <br /> {{c|mod|+(10-20) to maximum Mana}} <br /> 15% increased Movement Speed <br /> 50% increased Stun and Block Recovery <br /> 20% reduced Light Radius <br /> +50% to Chaos Resistance while using a Flask <br /> {{c|not|Adds (15-20)-(25-30) Chaos Damage to Spells and Attacks while using a Flask}}}}
|}
| Version discontinued | Base item | Stats
|
|---|---|---|
| 2.0.0 | Module Error: No results found for item using search term "item_name = Leatherscale Boots" Requires Level 6 |
(40-60)% increased Armour and Evasion |