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 23: Line 23:


==Example==
==Example==
{|
|
<pre>
{{Event
|name            = Talisman league
|type            = challenge
|release_version = 2.1.0
|start_date      = 2015.12.11 (NZT)
|end_date        = 2016.03.04 (NZT)
}}
</pre>
|
{{Event
|name            = Talisman league
|type            = challenge
|release_version = 2.1.0
|start_date      = 2015.12.11 (NZT)
|end_date        = 2016.03.04 (NZT)
}}
|}
{|
|
<pre>
{{Event
|name            = Forsaken Masters
|type            = expansion
|release_version = 1.2.0
|start_date      = 2014.08.20 (NZT)
}}
</pre>
|
{{Event
|name            = Forsaken Masters
|type            = expansion
|release_version = 1.2.0
|start_date      = 2014.08.20 (NZT)
}}
|}
{|
|
<pre>
<pre>
{{Event
{{Event
|name            = Winterheart race season
|name            = Winterheart race season
|type            = race  
|type            = race  
|release_version = 2.0.0
|start_date      = 2016.01.29 (NZT)
|start_date      = ''2016.01.29 (NZT)''
|end_date        = 2016.21.29 (NZT)
|end_date        = ''2016.21.29 (NZT)''
|rewards        = [[Asphyxia's Wrath]] <br> [[Sapphire Ring]] <br> [[The Whispering Ice]] <br> [[Dyadian Dawn]] <br> [[Call of the Brotherhood]] <br> [[Winterheart]]
|rewards        = [[Asphyxia's Wrath]] <br> [[Sapphire Ring]] <br> [[The Whispering Ice]] <br> [[Dyadian Dawn]] <br> [[Call of the Brotherhood]] <br> [[Winterheart]]
|prize          = [[Demigod's Dominance]]
|prize          = [[Demigod's Dominance]]
Line 35: Line 76:
}}
}}
</pre>
</pre>
Yields:
|
{{Event
{{Event
|name            = Winterheart race season
|name            = Winterheart race season
|type            = race  
|type            = race  
|release_version = 2.0.0
|start_date      = 2016.01.29 (NZT)
|start_date      = ''2016.01.29 (NZT)''
|end_date        = 2016.21.29 (NZT)
|end_date        = ''2016.21.29 (NZT)''
|rewards        = [[Asphyxia's Wrath]] <br> [[Sapphire Ring]] <br> [[The Whispering Ice]] <br> [[Dyadian Dawn]] <br> [[Call of the Brotherhood]] <br> [[Winterheart]]
|rewards        = [[Asphyxia's Wrath]] <br> [[Sapphire Ring]] <br> [[The Whispering Ice]] <br> [[Dyadian Dawn]] <br> [[Call of the Brotherhood]] <br> [[Winterheart]]
|prize          = [[Demigod's Dominance]]
|prize          = [[Demigod's Dominance]]
|links          = [http://www.pathofexile.com/seasons Schedule and overview]  
|links          = [http://www.pathofexile.com/seasons Schedule and overview]  
}}
}}
|}


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

Revision as of 10:48, 8 July 2016

This subpage provides documentation for Template:Event.

The Race season template is used to show a race season info card.

Parameters

Parameter Description
name The name of the event.
type The type of the event.
start_date The date when the event started.
end_date The date when the event ended.
rewards The rewards when reaching a certain point threshold during the event.
prize The prize.
links Relevant links for the event.

Example

{{Event
|name            = Talisman league
|type            = challenge 
|release_version = 2.1.0
|start_date      = 2015.12.11 (NZT)
|end_date        = 2016.03.04 (NZT)
}}

Lua error: bad argument #2 to 'formatDate': invalid timestamp '2016.03.04 (NZT)'.

{{Event
|name            = Forsaken Masters
|type            = expansion
|release_version = 1.2.0
|start_date      = 2014.08.20 (NZT)
}}
Forsaken Masters
Expansion
Release version1.2.0
{{Event
|name            = Winterheart race season
|type            = race 
|start_date      = 2016.01.29 (NZT)
|end_date        = 2016.21.29 (NZT)
|rewards         = [[Asphyxia's Wrath]] <br> [[Sapphire Ring]] <br> [[The Whispering Ice]] <br> [[Dyadian Dawn]] <br> [[Call of the Brotherhood]] <br> [[Winterheart]]
|prize           = [[Demigod's Dominance]]
|links           = [http://www.pathofexile.com/seasons Schedule and overview] 
}}

Lua error: bad argument #2 to 'formatDate': invalid timestamp '2016.21.29 (NZT)'.