Template:Legacy variant table header/doc: Difference between revisions
>Illviljan mNo edit summary |
>Illviljan m (→Row) |
||
| Line 39: | Line 39: | ||
| str | | str | ||
| {{no}} | | {{no}} | ||
| [[Implicit]] or [[explicit]] modifier text, depending if <nowiki>{{{3}}}</nowiki> is | | [[Implicit]] or [[explicit]] modifier text, depending on 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}} | ||
Revision as of 20:42, 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
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 | Description |
|---|---|---|---|
| 1 | str | Version when the item was discontinued. | |
| 2 | str | Implicit or explicit modifier text, depending on 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.
| |
| 3 | 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|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<br />{{c|mod|+20 to Evasion Rating}}<br />+(10-30) to maximum Mana<br />{{c|mod|(30-50)% of Physical Damage Converted to Fire Damage}}<br />{{c|not|Adds 5 to 10 Fire Damage to Attacks with Bows}}}}
|}
yields:
| Version discontinued | Base item | Stats
| |
|---|---|---|---|
| 1.2.0 | Cured Quiver | 22 | Adds 2 to 4 Fire Damage to Attacks 10% increased Attack Speed |