(Página creada con «<includeonly>{{{1|{{tag|{{ #if: {{{ver|}}} |{{version link|{{{ver}}}|2=<span title="This statement applies only to upcoming versions of Minecraft">upcoming {{#explode...») |
User-100181356 (discusión | contribs.) Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
− | <includeonly>{{{ |
+ | <includeonly>‌{{ #vardefine: $version | {{ #if: {{{ver|}}} | {{{ver}}} | {{{1|}}} }} |
+ | }}{{ #vardefine: $version2 | {{ #if: {{{ver2|}}} | {{{ver2}}} | {{{2|}}} }} |
||
− | #if: {{{ver|}}} |
||
+ | }}{{ #if: {{ #var: $version }} || {{ #vardefine: $version | {{ #var: $version2 }} }}{{ #vardefine: $version2 }} |
||
⚫ | |||
+ | }}{{tag|{{ |
||
− | |[[Planned versions|<span title="This statement applies only to upcoming versions of Minecraft">upcoming</span>]] |
||
+ | #if: {{ #var: $version }} |
||
⚫ | |||
+ | | <span title="This statement applies only to upcoming versions of Minecraft.">próximamente:</span> {{version link|{{ #var: $version }}|2={{#ifeq: {{#explode: {{lc:{{ #var: $version }}}}||0}}|bedrock|BE}}{{#ifeq: {{#explode: {{lc:{{ #var: $version }}}}||0}}|java|JE}}{{#ifeq: {{#explode: {{ #var: $version }}||0}}|{{ #var: $version }}|JE}} {{#explode:{{ #var: $version }}||-1}}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | #if: {{ #var: $version2 }} |
||
+ | | & {{version link|{{#var: $version2}}|2={{#ifeq: {{#explode: {{lc:{{#var: $version2}}}}||0}}|bedrock|BE}}{{#ifeq: {{#explode: {{lc:{{ #var: $version2 }}}}||0}}|java|JE}}{{#ifeq: {{#explode: {{#var: $version2}}||0}}|{{ #var:$version2}}|JE}} {{#explode:{{#var: $version2}}||-1}} }} |
||
+ | }}|nocat=1}}{{ |
||
⚫ | |||
|<!-- no category for pages that are already categorized as Planned or have the argument "nocat" set --> |
|<!-- no category for pages that are already categorized as Planned or have the argument "nocat" set --> |
||
|{{ |
|{{ |
||
#switch: {{NAMESPACE}} |
#switch: {{NAMESPACE}} |
||
− | | {{ |
+ | | {{TALKSPACE}} | {{ns:2}} = <!-- no category for user or talk pages --> |
− | | #default = [[ |
+ | | #default = [[Categoría:Próximamente]]{{ |
+ | #if: {{#pos: {{#var: $version}} | java}} {{#pos: {{#var: $version}} | je}} | [[Categoría:Java Edition upcoming tag]] |
||
+ | }}{{ |
||
+ | #if: {{#pos: {{#var: $version2}} | java}} {{#pos: {{#var: $version2}} | je}} | [[Categoría:Java Edition upcoming tag]] |
||
+ | }}{{ |
||
+ | #if: {{#pos: {{#var: $version}} | bedrock}} {{#pos: {{#var: $version}} | be}} | [[Categoría:Bedrock Edition upcoming tag]] |
||
+ | }}{{ |
||
+ | #if: {{#pos: {{#var: $version2}} | bedrock}} {{#pos: {{#var: $version2}} | be}} | [[Categoría:Bedrock Edition upcoming tag]] |
||
+ | }} |
||
+ | }} |
||
+ | }}<!-- (somewhat temporary) LATEST-RELEASED BEDROCK VERSION: update for each new release -->{{ |
||
+ | #if: {{#pos: {{{1|}}} {{{2|}}} | 1.13 }} | {{ |
||
+ | #if: {{NAMESPACE}} {{{nocat|}}} || [[Category:Deprecated Bedrock Edition upcoming tag]] |
||
}} |
}} |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
Revisión del 15:57 23 mar 2020
This template is used to mark references to upcoming features. To mark a page or a sentence about upcoming features, use {{desarrollo}}
instead.
This template will put the page into Categoría:Próximamente.
Additionally, if the first or second parameter is set, using a Bedrock Edition version will put the page into Category:Bedrock Edition upcoming tag, and using a Java Edition version will put the page into Category:Java Edition upcoming tag.
Parameters
|1=
: Set this to a version to change the link and display the version number after "upcoming". Displays like so: [próximamente: Plantilla:Version link]|2=
: As above but adds a second version link. Displays as such: [próximamente: Plantilla:Version link & Plantilla:Version link]|nocat=
: Set this to not use the category, useful on information being transcluded, the category can then be added using<noinclude>
Examples
Example{{upcoming}}
→ Example.[próximamente]
Example{{upcoming|java 1.19.4}}
→ Example.[próximamente: Plantilla:Version link]
Example{{upcoming|java 1.19.4|bedrock 1.19.73}}
→ Example.[próximamente: Plantilla:Version link & Plantilla:Version link]
See also
Plantilla:Tag/list
[Ver | Editar | Purgar]La documentación arriba es transcluída desde Plantilla:Próximamente/doc.