Template:Legacy variant table header/doc: Difference between revisions
Jump to navigation
Jump to search
>Illviljan mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
<section begin=documentation /> | <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. | |||
{{tlx|Legacy variant table header}} is used with {{tlx|Legacy variant table row}}. | |||
==Parameters== | ==Parameters== | ||
| Line 38: | Line 36: | ||
| {{no}} | | {{no}} | ||
| legacy_variants.removal_version | | legacy_variants.removal_version | ||
| [[Version]] | | [[Version]] legacy variant was discontinued. Defaults to {{{1}}}. | ||
|- | |- | ||
| implicit | | implicit | ||
| Line 45: | Line 43: | ||
| legacy_variants.implicit_stat_text | | legacy_variants.implicit_stat_text | ||
legacy_variants.stat_text | legacy_variants.stat_text | ||
| [[Implicit]] modifier text | | [[Implicit]] modifier text. Defaults to <nowiki>{{{2}}}</nowiki> if <nowiki>{{{3}}}</nowiki> 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. | 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}} | * Bright text: <code><nowiki>{{c|mod|sample text}}</nowiki></code> → {{c|mod|sample text}} | ||
| Line 55: | Line 53: | ||
| legacy_variants.explicit_stat_text | | legacy_variants.explicit_stat_text | ||
legacy_variants.stat_text | legacy_variants.stat_text | ||
| [[Explicit]] modifier text | | [[Explicit]] modifier text. Defaults to <nowiki>{{{3}}}</nowiki> if <nowiki>{{{2}}}</nowiki> is also set, otherwise it defaults to <nowiki>{{{2}}}</nowiki>. | ||
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 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}} | * Bright text: <code><nowiki>{{c|mod|sample text}}</nowiki></code> → {{c|mod|sample text}} | ||
Revision as of 17:11, 27 June 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}}
}}
|}