Template:Legacy variant table header/doc: Difference between revisions
Jump to navigation
Jump to search
>Illviljan m (→Examples) |
>Illviljan m (→Row: Moving to named arguments.) |
||
| Line 31: | Line 31: | ||
! Description | ! Description | ||
|- | |- | ||
| | | version | ||
| str | | str | ||
| {{no}} | | {{no}} | ||
| [[Version]] when the item was discontinued. | | [[Version]] when the item was discontinued, defaults to {{{1}}}. | ||
|- | |- | ||
| | | implicit | ||
| str | | str | ||
| {{ | | {{yes}} | ||
| [[Implicit | | [[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}} | ||
* Strike-through text: <code><nowiki>{{c|not|sample text}}</nowiki></code> → {{c|not|Sample text}} | * Strike-through text: <code><nowiki>{{c|not|sample text}}</nowiki></code> → {{c|not|Sample text}} | ||
|- | |- | ||
| | | explicit | ||
| str | | str | ||
| {{ | | {{no}} | ||
| [[Explicit]] modifier text. | | [[Explicit]] modifier text, defaults to <nowiki>{{{3}}}</nowiki> if <nowiki>{{{2}}} and {{{3}}}</nowiki> also are set else 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 16:11, 2 March 2019
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 |
|---|---|---|---|
| version | str | Version when the item was discontinued, defaults to {{{1}}}. | |
| implicit | str | 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 | Explicit modifier text, defaults to {{{3}}} if {{{2}}} and {{{3}}} also are set else 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 | 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
* {{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}}
}}
|}