Template:CurrentEventBox: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div style="background: #{{bulba color light}}; padding: 5px; border-radius: 10px; margin: 2px; display: grid; grid-template-columns: 90px 1fr;"> | <div style="background: #{{bulba color light}}; padding: 5px; border-radius: 10px; margin: 2px; display: grid; grid-template-columns: 90px 1fr;"> | ||
<div style="padding | <div style="padding: 5px;{{#if: {{{image2|}}} | line-height: 50% | }}">[[File:{{{image|None.png}}}|{{{imgsize|{{#if: {{{image2|}}} | x45px | x90px}}}}}|center|link={{{imglink|}}}]]{{#if: {{{image2|}}} | <br />[[File:{{{image2}}}|{{{img2size|x45px}}}|center|link={{{img2link|}}}]] | }}</div> | ||
<div style="padding-left: 10px;">'''{{#if: {{{link|}}} | [[{{{link}}}|{{{name}}}]] | {{{name}}} }}''' | <div style="padding-left: 10px;">'''{{#if: {{{link|}}} | [[{{{link}}}|{{{name}}}]] | {{{name}}} }}''' | ||
Revision as of 16:17, 30 August 2024
{{{method}}}
{{{location}}}
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
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 | game = {{gameabbrev9|SV}} }} |
|
{{CurrentEventBox | name = Pokémon Center Birthday Pawmi or Charcadet | 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}} }} |
|
{{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 |
Game(s) | game | Use this to denote if the Event is only available in certain games. Use {{gameabbrev}} templates where possible.
| String | optional |