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

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
>Illviljan
m (→‎Row: Moving to named arguments.)
Line 31: Line 31:
! Description
! Description
|-
|-
| 1
| version
| str
| str
| {{no}}
| {{no}}
| [[Version]] when the item was discontinued.
| [[Version]] when the item was discontinued, defaults to {{{1}}}.
|-
|-
| 2
| implicit
| str
| str
| {{no}}
| {{yes}}
| [[Implicit]] or [[explicit]] modifier text, depending on 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.
* 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}}
|-
|-
| 3
| explicit
| str
| str
| {{yes}}
| {{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.&#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.
* 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.

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

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