Šablona:Edition links

Z Minecraft Wiki
(přesměrováno z Šablona:Edition)
Přejít na: navigace, hledání
[view | edit | history | purge]Documentation

This template creates links to any specified amount of editions.

Parameters[editovat zdroj]

Anonymous parameters[editovat zdroj]

The template accepts infinite 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
java
je
Java Edition Java Edice
bedrock
be
Bedrock Edition Bedrock Edice
education
edu
ee
Education Edition Education Edice
earth Minecraft Earth Minecraft Earth
dungeons Minecraft Dungeons Minecraft Dungeons
legacy console
console
lce
Legacy Console Edition Legacy Console Edice
xbox 360
xbox360
Xbox 360 Edition Xbox 360 Edice
xbox one
xboxone
xbone
Xbox One Edition Xbox One Edice
playstation 3
playstation3
ps3
PlayStation 3 Edition PlayStation 3 Edice
playstation 4
playstation4
ps4
PlayStation 4 Edition PlayStation 4 Edice
playstation vita
psvita
vita
PlayStation Vita Edition PlayStation Vita Edice
wii u
wiiu
wii
Wii U Edition Wii U Edice
nintendo switch
nintendoswitch
switch
Nintendo Switch Edition Nintendo Switch Edice
pocket
pe
Pocket Edition Pocket Edice
new nintendo 3ds
nintendo 3ds
new 3ds
new3ds
3ds
ds
New Nintendo 3DS Edition New Nintendo 3DS Edice
(unknown) <param> Edition [[<param> Edition]]

Named parameters[editovat zdroj]

In addition to the anonymous parameters, the template accepts the following named parameters:

Named Parameter Effect
short=1 Shortens the edition name. Example: Bedrock EdiceBE
nocat=1 (unused) 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[editovat zdroj]

The following examples illustrate the generated output using various parameters.

Example 1 - Single edition name
{{editions|java}}
generates:

Java Edice

Example 2 - Two edition names
{{editions|education|bedrock}}
generates:

Education and Bedrock editions

Example 3 - Three edition names
{{editions|ps4|3ds|console}}
generates:

PlayStation 4, New Nintendo 3DS, and Legacy Console editions


Example 4 - Incorporating Minecraft Earth
{{editions|edu|bedrock|earth}}
generates:

Education and Bedrock editions, and Minecraft Earth

[view | edit | history | purge]The above documentation is transcluded from Šablona:Edition links/doc.