틀:Editions
This template creates a link to one, two, or three editions.
Parameters[원본 편집]
Anonymous parameters[원본 편집]
The template currently accepts a maximum of three anonymous parameters, one for each edition. Known parameter values automatically select an associated edition name to display, page name for linking, and maintenance category. If an unknown parameter value is encountered, default values are generated by a formula (and might produce redlinks, which might or might not be intentional).
Parameter value(s) | Edition name | Linked page | Maintenance category |
---|---|---|---|
bedrock | Bedrock Edition | Bedrock Edition | Category:Bedrock Edition specific information |
java | Java Edition | Java Edition | Category:Java Edition specific information |
console legacy console |
Legacy Console Edition | Legacy Console Edition | Category:Legacy Console Edition specific information |
xbox 360 xbox360 |
Xbox 360 Edition | Xbox 360 Edition | none |
xbox one xboxone |
Xbox One Edition | Xbox One Edition | none |
playstation 3 playstation3 ps3 |
PlayStation 3 Edition | PlayStation 3 Edition | none |
playstation 4 playstation4 ps4 |
PlayStation 4 Edition | PlayStation 4 Edition | none |
playstation vita psvita vita |
PlayStation Vita Edition | PlayStation Vita Edition | none |
wii u wiiu wii |
Wii U Edition | Wii U Edition | none |
nintendo switch nintendoswitch switch |
Nintendo Switch Edition | Nintendo Switch Edition | none |
education edu |
Education Edition | Education Edition | Category:Education Edition specific information |
new 3ds new3ds 3ds |
New Nintendo 3DS Edition | New Nintendo 3DS Edition | none |
earth | Minecraft Earth | Minecraft Earth | Category:Minecraft Earth specific information |
(unknown) | <param> Edition | [[<param> Edition]] | Category:<param> Edition specific information |
Named parameters[원본 편집]
In addition to the anonymous parameters, the template accepts the following named parameters:
Named Parameter | Effect |
---|---|
nocat=1 | Prevents the page from being added to any maintenance categories. Use this in documentation, talk pages, etc. where you're mentioning or showing an example of the template rather than using it to mark a feature. |
Examples[원본 편집]
The following examples illustrate the generated output using various parameters.
- Example 1 - Single edition name
{{editions|java}}generates:
- Example 2 - Two edition names
{{editions|education|bedrock}}generates:
Minecraft Education, Bedrock Edition
- Example 3 - Three edition names
{{editions|ps4|3ds|console}}generates:
PlayStation 4, New Nintendo 3DS, Legacy Console Edition
- Example 4 - Incorporating Minecraft Earth
{{editions|edu|bedrock|earth}}generates:
Minecraft Education, Bedrock Edition, Minecraft Earth