Template:Event/doc: Difference between revisions
Jump to navigation
Jump to search
>Illviljan m (Illviljan moved page Template:Race season/doc to Template:Event/doc without leaving a redirect) |
>Illviljan mNo edit summary |
||
Line 7: | Line 7: | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| '''name''' || The name of the | | '''name''' || The name of the event. | ||
|- | |- | ||
| ''' | | '''type''' || The type of the event. | ||
|- | |- | ||
| ''' | | '''start_date''' || The date when the event started. | ||
|- | |- | ||
| '''rewards''' || The rewards when reaching a certain point threshold during the | | '''end_date''' || The date when the event ended. | ||
|- | |||
| '''rewards''' || The rewards when reaching a certain point threshold during the event. | |||
|- | |- | ||
| '''prize''' || The prize. | | '''prize''' || The prize. | ||
|- | |- | ||
| '''links''' || Relevant links for the | | '''links''' || Relevant links for the event. | ||
|} | |} | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
{{ | {{Event | ||
|name = Winterheart race season | |name = Winterheart race season | ||
|start_date = ''2016.01.29 (NZT)'' | |type = race | ||
|end_date = | |release_version = 2.0.0 | ||
|rewards = [[Asphyxia's Wrath]] <br> [[Sapphire Ring]] <br> [[The Whispering Ice]] <br> [[Dyadian Dawn]] <br> [[Call of the Brotherhood]] <br> [[Winterheart]] | |start_date = ''2016.01.29 (NZT)'' | ||
|prize = [[Demigod's Dominance]] | |end_date = ''2016.21.29 (NZT)'' | ||
|links = [http://www.pathofexile.com/seasons Schedule and overview] | |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] | |||
}} | }} | ||
</pre> | </pre> | ||
Yields: | Yields: | ||
{{ | {{Event | ||
|name = Winterheart race season | |name = Winterheart race season | ||
|start_date = ''2016.01.29 (NZT)'' | |type = race | ||
|end_date = | |release_version = 2.0.0 | ||
|rewards = [[Asphyxia's Wrath]] <br> [[Sapphire Ring]] <br> [[The Whispering Ice]] <br> [[Dyadian Dawn]] <br> [[Call of the Brotherhood]] <br> [[Winterheart]] | |start_date = ''2016.01.29 (NZT)'' | ||
|prize = [[Demigod's Dominance]] | |end_date = ''2016.21.29 (NZT)'' | ||
|links = [http://www.pathofexile.com/seasons Schedule and overview] | |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] | |||
}} | }} | ||
Revision as of 10:13, 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 = Winterheart race season |type = race |release_version = 2.0.0 |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] }}
Yields: Lua error: bad argument #2 to 'formatDate': invalid timestamp 2016.21.29 (NZT).