Template:Legacy variant table header/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
>Vinifera7 mNo edit summary |
||
| Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
<section begin=documentation /> | |||
{{tlx|Legacy variant table header}} is used with {{tlx|Legacy variant table row}} to display a table of an item's [[legacy variant]]s. | <section begin=documentation />{{tlx|Legacy variant table header}} is used with {{tlx|Legacy variant table row}} to display a table of an item's [[legacy variant]]s. | ||
==Parameters== | ==Parameters== | ||
| Line 84: | Line 84: | ||
}} | }} | ||
|} | |} | ||
</pre> | </pre><section end=documentation /> | ||
<section end=documentation /> | |||
< | {{Documentation categories| | ||
<!-- Categories and interwikis go here. --> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
}} | |||
Revision as of 22:39, 2 December 2020
This subpage provides documentation for Template:Legacy variant table header.
{{Legacy variant table header}} is used with {{Legacy variant table row}} to display a table of an item's legacy variants.
Parameters
Header
Parameters for {{Legacy variant table header}}.
| Parameter | Value | Optional | Description |
|---|---|---|---|
| base | bool | Base item type | |
| level | bool | Required level |
Row
Parameters for {{Legacy variant table row}}.
| Parameter | Value | Optional | Cargo field | Description |
|---|---|---|---|---|
| version | str | legacy_variants.removal_version | Version legacy variant was discontinued. Defaults to {{{1}}}. | |
| implicit | str | legacy_variants.implicit_stat_text
legacy_variants.stat_text |
Implicit modifier text. Defaults to {{{2}}} if {{{3}}} also is 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.
| |
| explicit | str | legacy_variants.explicit_stat_text
legacy_variants.stat_text |
Explicit modifier text. Defaults to {{{3}}} if {{{2}}} is also set, otherwise it defaults to {{{2}}}.
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 | legacy_variants.base_item | Base item type | |
| level | str | legacy_variants.required_level | Required level |
Examples
{{legacy variant table header|base=yes|level=yes}}
{{legacy variant table row|1.2.0|base=[[Cured Quiver]]|level=22|
* {{c|mod|Adds 2 to 4 Fire Damage to Attacks}}
|
* 10% increased Attack Speed
* {{c|mod|+20 to Evasion Rating}}
* +(10-30) to maximum Mana
* {{c|mod|(30-50)% of Physical Damage Converted to Fire Damage}}
* {{c|not|Adds 5 to 10 Fire Damage to Attacks with Bows}}
}}
|}