Template:Event/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
mNo edit summary
>Illviljan
mNo edit summary
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{lua|Module:SMW_data_tables}}
{{lua|Module:Data_tables}}


The '''Event''' template is used to show a event [[Template:Infocard2|info card]].
The '''Event''' template is used to show a event [[Template:Infocard2|info card]].
Line 24: Line 24:
| '''rewards'''      || The rewards when reaching a certain point threshold during the event.
| '''rewards'''      || The rewards when reaching a certain point threshold during the event.
|-
|-
| '''prize'''        || The prize.
| '''price'''        || The price.
|-
|-
| '''standard'''    || It is a standard event. Use <code>True</code> or <code>False</code>.
| '''standard'''    || Is it a standard event? Use <code>1</code> or <code>0</code>.
|-
|-
| '''hardcore'''    || It is a hardcore event. Use <code>True</code> or <code>False</code>.
| '''hardcore'''    || Is it a hardcore event? Use <code>1</code> or <code>0</code>.
 
|-
| '''id'''          || Id(s) of the event. Can find the id for events [http://api.pathofexile.com/leagues?type=main&compact=1 here]
|}
|}


==Example==
==Example==
<!--
{|width=100%
{|width=100%
|
|
Line 97: Line 99:
}}
}}
|}
|}
-->


<includeonly>
<includeonly>
[[Category:Infocard templates]]
[[Category:Infocard templates]]
</includeonly>
</includeonly>

Revision as of 00:40, 6 January 2018

This subpage provides documentation for Template:Event.

Lua logo

This template uses the following modules:

The Event template is used to show a event info card.

Parameters

Parameter Description
name The name of the event.
image Custom image for the event. Defaults to {{{name}}} logo.png if the parameter isn't specified.
type The type of the event. Available types:
  • challenge
  • expansion
  • pvp
  • race
release_date The date when the event started. Can find dates for events here.
end_date The date when the event ended. Can find dates for events here.
rewards The rewards when reaching a certain point threshold during the event.
price The price.
standard Is it a standard event? Use 1 or 0.
hardcore Is it a hardcore event? Use 1 or 0.
id Id(s) of the event. Can find the id for events here

Example