Template:CurrentEventBox/doc: Difference between revisions
(Created page with "This template is used on Browse:Current Event Distributions to display quick summaries of the currently available Event distributions. ==Examples== {| class="wikitable" style="background: #e5f1ec;" ! style="background: #d1e5d9" | Input ! style="background: #d1e5d9" | Output |- | <pre>{{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 | imglin...") |
No edit summary |
||
Line 50: | Line 50: | ||
| dates = Nov 1, 2023 - Jan 31, 2025 | | dates = Nov 1, 2023 - Jan 31, 2025 | ||
| 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>{{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 | |||
}}</pre> | |||
| style="background: #fff" | | |||
{{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 | |||
}} | }} | ||
|} | |} | ||
Line 59: | Line 80: | ||
"image2": { | "image2": { | ||
"label": "Image 2", | "label": "Image 2", | ||
"description": "If the Event has a choice of Pokémon or item, this is the image for that. (Don't include \"File:\")", | "description": "If the Event has a choice of Pokémon, card, or item, this is the image for that. (Don't include \"File:\")", | ||
"example": "Dream Quick Ball Sprite.png", | "example": "Dream Quick Ball Sprite.png", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
Line 65: | Line 86: | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"description": "Image of the Pokémon or item obtained in the event (Don't include \"File:\")", | "description": "Image of the Pokémon, card, or item obtained in the event (Don't include \"File:\")", | ||
"example": "0923Pawmot.png", | "example": "0923Pawmot.png", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
Line 79: | Line 100: | ||
"imglink": { | "imglink": { | ||
"label": "Image link", | "label": "Image link", | ||
"description": "What the image links to when clicked (normally the Pokémon or item page). Leave blank for no link.", | "description": "What the 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", | ||
"suggested": true | "suggested": true | ||
Line 91: | Line 112: | ||
"img2link": { | "img2link": { | ||
"label": "Image 2 link", | "label": "Image 2 link", | ||
"description": "What the second image links to when clicked (normally the Pokémon or item page). Leave blank for no link.", | "description": "What the second 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" | ||
}, | }, |
Revision as of 16:20, 30 August 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 | dates = Nov 1, 2023 - Jan 31, 2025 | location = {{flag|Japan|Japan|20}} {{flag|Singapore|Singapore|20}} {{flag|Taiwan|Taiwan|20}} }} |
|
{{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 choice of 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 |
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 |
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 |
Location | location | Where the Event is obtainable. Use {{flag}} templates, unless "Worldwide".
| String | required |