Template:Legacy variant table header/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
m (→‎Row: Moving to named arguments.)
>Illviljan
Line 29: Line 29:
! Value
! Value
! Optional
! Optional
! Cargo field
! Description
! Description
|-
|-
Line 34: Line 35:
| str
| str
| {{no}}
| {{no}}
| legacy_variants.removal_version
| [[Version]] when the item was discontinued, defaults to {{{1}}}.
| [[Version]] when the item was discontinued, defaults to {{{1}}}.
|-
|-
Line 39: Line 41:
| str
| str
| {{yes}}
| {{yes}}
| legacy_variants.implicit_stat_text
legacy_variants.stat_text
| [[Implicit]] modifier text, defaults to <nowiki>{{{2}}}</nowiki> if <nowiki>{{{3}}}</nowiki> also is set.
| [[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.&#10;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.&#10;Strike-through text indicates a modifier that does not exist in a legacy variant.
Line 47: Line 51:
| str
| str
| {{no}}
| {{no}}
| legacy_variants.explicit_stat_text
legacy_variants.stat_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>.
| [[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.&#10;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.&#10;Strike-through text indicates a modifier that does not exist in a legacy variant.
Line 55: Line 61:
| str
| str
| {{yes}}
| {{yes}}
| legacy_variants.base_item
| Base item type
| Base item type
|-  
|-  
Line 60: Line 67:
| str
| str
| {{yes}}
| {{yes}}
| legacy_variants.required_level
| Required level
| Required level
|}
|}

Revision as of 16:26, 30 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 Cargo field Description
version str
legacy_variants.removal_version Version when the item 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.

  • Bright text: {{c|mod|sample text}}sample text
  • Strike-through text: {{c|not|sample text}}Sample text
explicit str
legacy_variants.explicit_stat_text

legacy_variants.stat_text

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.

  • Bright text: {{c|mod|sample text}}sample text
  • Strike-through text: {{c|not|sample text}}Sample text
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}}
}}
|}