Template:CurrentEventBox/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
| img2link = Charcadet (Pokémon) | | img2link = Charcadet (Pokémon) | ||
| method = Serial Code | | method = Serial Code | ||
| dates = Nov 1, 2023 - | | expires = Jan 31, 2025 | ||
| dates = Nov 1, 2023 - Oct 31, 2024 | |||
| ended = yes | |||
| location = {{flag|Japan|Japan|20}} {{flag|Singapore|Singapore|20}} {{flag|Taiwan|Taiwan|20}} | | location = {{flag|Japan|Japan|20}} {{flag|Singapore|Singapore|20}} {{flag|Taiwan|Taiwan|20}} | ||
}}</pre> | }}</pre> | ||
Line 48: | Line 50: | ||
| img2link = Charcadet (Pokémon) | | img2link = Charcadet (Pokémon) | ||
| method = Serial Code | | method = Serial Code | ||
| dates = Nov 1, 2023 - | | expires = Jan 31, 2025 | ||
| dates = Nov 1, 2023 - Oct 31, 2024 | |||
| ended = yes | |||
| location = {{flag|Japan|Japan|20}} {{flag|Singapore|Singapore|20}} {{flag|Taiwan|Taiwan|20}} | | location = {{flag|Japan|Japan|20}} {{flag|Singapore|Singapore|20}} {{flag|Taiwan|Taiwan|20}} | ||
}} | }} | ||
Line 182: | Line 186: | ||
"description": "What the third image links to when clicked (normally the Pokémon, card, or item page). Leave blank for no link.", | "description": "What the third image links to when clicked (normally the Pokémon, card, or item page). Leave blank for no link.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | |||
"ended": { | |||
"label": "Ended?", | |||
"description": "For Serial Codes, if new codes are no longer available, but codes can still be redeemed, type \"yes\". Otherwise, don't use this parameter. ", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"yes" | |||
] | |||
}, | |||
"expires": { | |||
"label": "Expires", | |||
"description": "For Serial Codes, this is the date the code expires. For other distribution methods, leave this blank.", | |||
"example": "Jan 31, 2025", | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Line 198: | Line 217: | ||
"img3link", | "img3link", | ||
"method", | "method", | ||
"expires", | |||
"password", | "password", | ||
"dates", | "dates", | ||
"ended", | |||
"location" | "location" | ||
], | ], |
Revision as of 00:48, 2 September 2024
This template is used on Browse:Current Event Distributions to display quick summaries of the currently available Event distributions.
Examples
Input | Output |
---|---|
{{CurrentEventBox | name = Team Star's Revavroom | link = List of event Pokémon distributions in Pokémon Scarlet and Violet#Team Star's Revavroom | image = 0966Revavroom.png | imglink = Revavroom (Pokémon) | password = TEAMSTAR | dates = Nov 22, 2023 - Oct 31, 2024 | location = Worldwide }} |
|
{{CurrentEventBox | name = Pokémon Center Birthday Pawmi or Charcade | link = List of event Pokémon distributions in Pokémon Scarlet and Violet#Pokémon Center Birthday Pawmi & Charcadet | image = 0921Pawmi.png | imglink = Pawmi (Pokémon) | image2 = 0935Charcadet.png | img2link = Charcadet (Pokémon) | method = Serial Code | expires = Jan 31, 2025 | dates = Nov 1, 2023 - Oct 31, 2024 | ended = yes | location = {{flag|Japan|Japan|20}} {{flag|Singapore|Singapore|20}} {{flag|Taiwan|Taiwan|20}} }} |
Pokémon Center Birthday Pawmi or Charcade
Serial Code (expires Jan 31, 2025) |
{{CurrentEventBox | name = Pecharunt ex (Shrouded Fable 93) | link = List of Pokémon Trading Card Game Live distributions | image = PecharuntexShroudedFable93.jpg | imglink = Pecharunt ex (Shrouded Fable 93) | password = OutburstWorlds24 | dates = Aug 16 - 25, 2024 | location = Worldwide }} |
|
TemplateData
This template is used on Browse:Current Event Distributions to display quick summaries of the currently available Event distributions.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event name | name | The name of the Event
| String | required |
Link | link | Link to the full listing on the relevant list article (including anchor)
| String | suggested |
Image | image | Image of the Pokémon, card, or item obtained in the event (Don't include "File:")
| File | required |
Image size | imgsize | The size of the image (include "px")
| String | optional |
Image link | imglink | What the image links to when clicked (normally the Pokémon, card, or item page). Leave blank for no link. | Page name | suggested |
Image 2 | image2 | If the Event has a second Pokémon, card, or item, this is the image for that. (Don't include "File:")
| File | optional |
Image 2 Size | img2size | The size of the second image
| String | optional |
Image 2 link | img2link | What the second image links to when clicked (normally the Pokémon, card, or item page). Leave blank for no link. | Page name | optional |
Image 3 | image3 | If the Event has a third Pokémon, card, or item, this is the image for that. (Don't include "File:") | File | optional |
Image 3 size | img3size | The size of the third image
| String | optional |
Image 3 link | img3link | What the third image links to when clicked (normally the Pokémon, card, or item page). Leave blank for no link. | Page name | optional |
Distribution method | method | The method through which the Event is distributed. For Events distributed via Password, don't use this parameter. Instead, just use the "Password" parameter instead.
| String | suggested |
Expires | expires | For Serial Codes, this is the date the code expires. For other distribution methods, leave this blank.
| String | suggested |
Password | password | The Password used to obtain the Event item or Pokémon (if there is one; leave blank if not) | String | suggested |
Dates | dates | The dates the Event is obtainable (for Passwords, this is the dates the Password is valid. For Serial Codes, this is the dates you can receive a Serial Code). Shorten months to three letters.
| String | required |
Ended? | ended | For Serial Codes, if new codes are no longer available, but codes can still be redeemed, type "yes". Otherwise, don't use this parameter.
| String | optional |
Location | location | Where the Event is obtainable. Use {{flag}} templates, unless "Worldwide".
| String | required |