Minecraft Wiki

LEE MÁS

Minecraft Wiki
Minecraft Wiki
m
 
(No se muestran 2 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
 
<includeonly>{{
 
<includeonly>{{
#ifeq: {{#dplvar:achievementoverride}}|1
+
#if: {{#dplvar:achievements-override}}
|
+
|
|{{
+
|{{
#ifeq: {{{id|}}}|1
+
#if: {{{prize|}}}
|{{#dplvar:set|achievementid|1}} }}{{
+
|{{#dplvar:set|achievements-rewards|1}} }}{{
#ifeq: {{{head|0}}}|1
+
#if: {{{head|}}}
|{{#dplvar:set|achievementfoot|1}} }}{{
+
|{{#dplvar:set|achievements-head|1}} }}{{
#ifeq: {{{foot|0}}}|1
+
#if: {{{foot|}}}
|{{#dplvar:set|achievementfoot|0}} }}}}{{
+
|{{#dplvar:set|achievements-head|}} }}
  +
}}{{
#ifeq: {{#dplvar:achievementheader|0}}|1
 
  +
#if: {{#dplvar:achievements-header}}
|
 
  +
|
|{{#dplvar:set|achievementheader|1}}<table class="wikitable {{
 
  +
|{{#dplvar:set|achievements-header|1}}<table class="wikitable {{
#ifeq: {{#dplvar:achievementfoot}}|1
 
  +
#if: {{#dplvar:achievements-head}}
|sortable}}"><!--
 
  +
|sortable
  +
}}" data-description="Achievements"><!--
   
 
Insert headers
 
Insert headers
   
  +
--><tr>
--><tr><th>Icono</th><th>Logro</th><th>Descripción en el juego</th><th>Requisitos previos</th><th>Cómo conseguirlo</th><th>Restricciones de versión</th><th>Puntos de Xbox</th><th>Tipo de trofeo (PS)</th>{{
 
  +
<th class="unsortable" colspan="2">Icono</th>
#ifeq: {{#dplvar:achievementid}}|1
 
|<th>ID interna (PC)</th>}}</tr>}}<!--
+
<th>[[Logros]]</th>
  +
<th class="unsortable">Descripción en el juego</th>
  +
<th class="unsortable">Requerimientos reales (si difieren)</th>
  +
<th>Puntaje de jugador obtenido</th>
  +
<th>Tipo de trofeo (PS)</th>{{
  +
#if: {{#dplvar:achievements-rewards}}
  +
| <th>Recompensas</th>
  +
}}
  +
</tr>
  +
}}<!--
   
 
Insert cells
 
Insert cells
   
--><tr><td {{
+
--><tr><td align="center" {{
#if: {{
+
#if: {{#pos: {{{title|}}}
#if: {{{dtitle|}}}|{{
+
{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}} |\}}
  +
|{{#vardefine:achievements-double|1}} rowspan=2}}>
#pos:{{{dtitle|}}}|¦}}|{{
 
  +
<!-- icon -->
#pos:{{{title|}}}|¦}}}}{{
 
  +
{{AchievementSprite|scale=0.5|{{{icon|{{#dplreplace:{{#explode:{{{title|}}}|\|0}}|[^\w\s\?]|}}}}}|link={{#ifeq:{{BASEPAGENAME}}|Achievement||{{#titleparts:{{#replace:{{{title|}}}|\|/}}|1}}}}}}{{
#pos:{{{2|}}}|¦}}{{
 
#pos:{{{3|}}}|¦}}{{
+
#ifeq: {{{anchor|}}} | none
#pos:{{{4|}}}|¦}}{{
 
#pos:{{{5|}}}|¦}}{{
 
#pos:{{{6|}}}|¦}}{{
 
#pos:{{{7|}}}|¦}}{{
 
#pos:{{{8|}}}|¦}}
 
|{{#vardefine:doublecell|1}}rowspan=2}}>{{
 
#if: {{{icon|}}}
 
|[[File:{{{icon}}}.png|44px|center]]
 
|{{Achievement|{{
 
#if: {{{1|}}}|{{{1|Book}}}}}|{{
 
#ifeq: {{{fancy|}}}|1
 
|fancy
 
|plain}}}}}}{{
 
#ifeq:{{{anchor|}}}|none
 
 
|
 
|
 
|{{anchor
 
|{{anchor
  +
|{{#if: {{{anchor|}}}
  +
|{{#explode:{{{anchor|}}}|\|0}}
  +
|{{#explode:{{{title|}}}|\|0}}
  +
}}
 
|{{#if:{{{anchor|}}}
 
|{{#if:{{{anchor|}}}
|{{#explode:{{{anchor|}}}|¦|0}}
+
|{{#explode:{{{anchor|}}}|\|1}}
|{{#explode:{{{title|}}}|¦|0}}}}
+
|{{#explode:{{{title|}}}|\|1}}
|{{#if:{{{anchor|}}}
+
}}
|{{#explode:{{{anchor|}}}|¦|1}}
+
|{{#explode:{{{7|{{{6|}}}}}}|\|0}}
|{{#explode:{{{title|}}}|¦|1}}}}
+
|{{#explode:{{{7|{{{6|}}}}}}|\|1}}
  +
}}
|{{#explode:{{{8|}}}|¦|0}}
 
  +
}}</td><td align="center" {{
|{{#explode:{{{8|}}}|¦|1}}
 
  +
#if: {{#pos: {{{title|}}}
}}}}</td><td align=center {{
 
  +
{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}} |\}}
#ifeq: {{#var:doublecell|0}}|1|{{
 
  +
|{{#vardefine:achievements-double|1}} rowspan=2}}>[[File:{{{image|{{{title|}}}}}}.png|100px|link={{#ifeq:{{BASEPAGENAME}}|Achievement||{{#titleparts:{{#replace:{{{title|}}}|\|/}}|1}}}}]]</td><td align="center" {{
#if: {{#if:{{{dtitle|}}}|{{#pos:{{{dtitle|}}}¦}}|{{#pos:{{{title|}}}|¦}}}}|
 
|rowspan=2}} }}>'''{{
 
#if: {{{dtitle|}}}|{{
 
#replace:{{
 
#explode:{{{dtitle|}}}|¦|0}}|[t]|{{
 
#explode:{{{title|}}}|¦|0}}}}|{{
 
#explode:{{{title|}}}|¦|0}}}}{{
 
#ifeq:{{#explode:{{{upcoming|}}}|¦|0}}|
 
|
 
|<br>([[{{#explode:{{{upcoming|}}}|¦|0}}]])}}'''</td><td {{
 
#ifeq: {{#var:doublecell|0}}|1|{{
 
#if: {{#pos:{{{2|}}}|¦}}|
 
|rowspan=2}} }}>{{
 
#explode: {{{2|}}}|¦|0}}</td><td {{
 
#ifeq: {{#var:doublecell|0}}|1|{{
 
#if: {{#pos:{{{3|}}}|¦}}|
 
|rowspan=2}} }}>{{
 
#ifeq: {{#explode:{{{3|}}}|¦|0}}|
 
|None
 
|{{#explode:{{{3|}}}|¦|0}}}}</td><td {{
 
#ifeq: {{#var:doublecell|0}}|1|{{
 
#if: {{#pos:{{{4|}}}|¦}}|
 
|rowspan=2}} }}>{{
 
#explode: {{{4|}}}|¦|0}}</td><td {{
 
#ifeq: {{#var:doublecell|0}}|1|{{
 
#if: {{#pos:{{{5|}}}|¦}}|
 
|rowspan=2}} }}>{{
 
#ifeq: {{#explode:{{{5|}}}|¦|0}}|
 
|None
 
|{{#explode:{{{5|}}}|¦|0}}}}</td><td {{
 
#ifeq: {{#var:doublecell|0}}|1|{{
 
#if: {{#pos:{{{6|}}}|¦}}|
 
|rowspan=2}} }}>{{
 
#ifeq: {{#explode:{{{6|}}}|¦|0}}|
 
|N/A
 
|{{#explode:{{{6|}}}|¦|0}}}}</td><td {{
 
#ifeq: {{#var:doublecell|0}}|1|{{
 
#if: {{#pos:{{{7|}}}|¦}}|
 
|rowspan=2}} }}>{{
 
#ifeq: {{#explode:{{{7|}}}|¦|0}}|
 
|N/A
 
|{{#explode:{{{7|}}}|¦|0}}}}</td>{{
 
#ifeq: {{#dplvar:achievementid}}|1
 
|<td {{
 
#ifeq: {{#var:doublecell|0}}|1|{{
 
#if: {{#pos:{{{8|}}}|¦}}|
 
|rowspan=2}} }}>{{
 
#ifeq: {{#explode:{{{8|}}}|¦|0}}|
 
|N/A
 
|<code>{{#explode:{{{8|}}}|¦|0}}</code>}}</td>}}</tr><!--
 
   
  +
<!-- Título -->
Double cell
 
  +
#if: {{#var:achievements-double}}|{{
  +
#if: {{#pos:{{{title|}}}|\}}
  +
|
  +
|rowspan=2
  +
}}
  +
}}><b>{{
  +
#explode:{{{title|}}}|\|0}}</b>{{
  +
#if: {{{upcoming|}}}
  +
| <br>{{upcoming|{{{upcoming}}}|nocat=1}}
  +
|
  +
}}</td><td {{
   
  +
<!-- Descripción en el juego -->
-->{{
 
#ifeq: {{#var:doublecell|0}}|1|<tr>{{
+
#if: {{#var:achievements-double}}|{{
#if: {{#if:{{{dtitle|}}}|{{#pos:{{{dtitle|}}}¦}}|{{#pos:{{{title|}}}|¦}}}}
+
#if: {{#pos:{{{1|}}}|\}}
  +
|
|<td align=center>'''{{
 
  +
|rowspan=2
#if: {{{dtitle|}}}|{{
 
  +
}}
#replace:{{
 
  +
}}>{{
#explode:{{{dtitle|}}}|¦|1}}|[t]|{{
 
#explode:{{{title|}}}|¦|1}}}}|{{
+
#explode: {{{1|}}}|\|0}}</td><td {{
  +
#explode:{{{title|}}}|¦|1}}}}{{
 
  +
<!-- Requerimientos reales -->
#ifeq:{{#explode:{{{upcoming|}}}|¦|1}}|
 
  +
#if: {{#var:achievements-double}}|{{
  +
#if: {{#pos:{{{2|}}}|\}}
  +
|
  +
|rowspan=2
  +
}}
  +
}}>{{
  +
#if: {{#explode:{{{2|}}}|\|0}}
  +
| {{#explode:{{{2|}}}|\|0}}
  +
| —
  +
}}</td><td {{
  +
  +
<!-- Puntaje de jugador -->
  +
#if: {{#var:achievements-double}}|{{
  +
#if: {{#pos:{{{3|}}}|\}}
  +
|
  +
|rowspan=2
  +
}}
  +
}}>{{
  +
#if: {{#explode:{{{3|}}}|\|0}}
  +
| {{#explode:{{{3|}}}|\|0}}
  +
| —
  +
}}</td><td {{
  +
  +
<!-- Tipo de trofeo -->
  +
#if: {{#var:achievements-double}}|{{
  +
#if: {{#pos:{{{4|}}}|\}}
  +
|
  +
|rowspan=2
  +
}}
  +
}}>{{
  +
#if: {{#explode:{{{4|}}}|\|0}}
  +
| {{#explode:{{{4|}}}|\|0}}
  +
| —
  +
}}</td>{{
  +
  +
<!-- Recompensas -->
  +
#if: {{#dplvar:achievements-rewards}}
  +
| <td {{
  +
#if: {{#var:achievements-double}}|{{
  +
#if: {{#pos:{{{5|}}}|\}}
 
|
 
|
  +
|rowspan=2
|<br>([[{{#explode:{{{upcoming|}}}|¦|1}}]])}}'''</td>}}{{
 
  +
}}
#if: {{#pos:{{{2|}}}|¦}}
 
  +
}}>{{
|<td>{{#explode:{{{2|}}}|¦|1}}</td>}}{{
 
#if: {{#pos:{{{3|}}}|¦}}
+
#if: {{#explode:{{{5|}}}|\|0}}
  +
| {{#explode:{{{5|}}}|\|0}}
|<td>{{
 
  +
| —
#ifeq: {{#explode:{{{3|}}}|¦|1}}|
 
|None
+
}}</td>
  +
}}</tr><!--
|{{#explode:{{{3|}}}|¦|1}}}}</td>}}{{
 
  +
#if: {{#pos:{{{4|}}}|¦}}
 
  +
Double cell, called using \
|<td>{{
 
  +
#explode:{{{4|}}}|¦|1}}</td>}}{{
 
  +
-->{{
#if: {{#pos:{{{5|}}}|¦}}
 
  +
#if: {{#var:achievements-double}}|<tr>{{
|<td>{{
 
  +
#ifeq: {{#explode:{{{5|}}}|¦|1}}|
 
  +
<!-- Título -->
|None
 
|{{#explode:{{{5|}}}|¦|1}}}}</td>}}{{
+
#if: {{#pos:{{{title|}}}|\}}
#if: {{#pos:{{{6|}}}|¦}}
+
|<td align=center><b>{{#explode:{{{title|}}}|\|1}}</b></td>
|<td>{{
+
}}{{
  +
#ifeq: {{#explode:{{{6|}}}|¦|1}}|
 
  +
<!-- Descripción en el juego -->
|N/A
 
|{{#explode:{{{6|}}}|¦|1}}}}</td>}}{{
+
#if: {{#pos:{{{1|}}}|\}}
#if: {{#pos:{{{7|}}}|¦}}
+
|<td>{{#explode:{{{1|}}}|\|1}}</td>
|<td>{{
+
}}{{
  +
#ifeq: {{#explode:{{{7|}}}|¦|1}}|
 
  +
<!-- Requerimientos reales -->
|N/A
 
|{{#explode:{{{7|}}}|¦|1}}}}</td>}}{{
+
#if: {{#pos:{{{2|}}}|\}}
  +
|<td>{{
#ifeq: {{#dplvar:achievementid}}|1|{{
 
#if: {{#pos:{{{8|}}}|¦}}
+
#explode:{{{2|}}}|\|1}}</td>
|<td>{{
+
}}{{
  +
#ifeq: {{#explode:{{{8|}}}|¦|1}}|
 
  +
<!-- Puntaje de jugador -->
|N/A
 
|<code>{{#explode:{{{8|}}}|¦|1}}</code>}}</td>}}}}</tr>}}<!--
+
#if: {{#pos:{{{3|}}}|\}}
  +
|<td>{{
  +
#if: {{#explode:{{{3|}}}|\|1}}
  +
|{{#explode:{{{3|}}}|\|1}}
  +
| —
  +
}}</td>
  +
}}{{
  +
  +
<!-- Tipo de trofeo -->
  +
#if: {{#pos:{{{4|}}}|\}}
  +
|<td>{{
  +
#if: {{#explode:{{{4|}}}|\|1}}
  +
|{{#explode:{{{4|}}}|\|1}}
  +
| —
  +
}}</td>
  +
}}{{
  +
  +
<!-- Recompensas -->
  +
#if: {{#dplvar:achievements-rewards}}
  +
| {{
  +
#if: {{#pos:{{{5|}}}|\}}
  +
|<td>{{
  +
#if: {{#explode:{{{5|}}}|\|1}}
  +
|{{#explode:{{{5|}}}|\|1}}
  +
| —
  +
}}</td>
  +
}}</tr>
  +
}}
  +
}}<!--
   
 
Foot
 
Foot
   
 
-->{{
 
-->{{
#vardefine:doublecell|0}}{{
+
#vardefine:achievements-double|}}{{
#ifeq: {{#dplvar:achievementfoot}}|1
+
#if: {{#dplvar:achievements-head}}
|
+
|
|{{#dplvar:set|achievementheader|0|achievementid|0}}</table>}}{{
+
|{{#dplvar:set|achievements-header|}}</table>
  +
}}{{
#ifeq:{{NAMESPACE}}{{#dplvar:achievementoverride}}||{{
 
  +
#if: {{NAMESPACE}}{{#dplvar:achievements-override}} ||{{
#if:{{{upcoming|}}}
 
  +
#if: {{{upcoming|}}}
|[[Categoría:Próximamente]]}}}}</includeonly><noinclude>
 
  +
|[[Categoría:Próximamente]]
{{Documentación}}
 
  +
|
  +
}}
  +
}}</includeonly><noinclude>
  +
{{documentation}}
 
<!-- Put categories/interwiki on the documentation page -->
 
<!-- Put categories/interwiki on the documentation page -->
 
</noinclude>
 
</noinclude>

Revisión actual del 19:09 5 ene 2021

[ver | editar | historial | purgar]Documentación

Using this template, you can create tables like those commonly used in the “Achievements” section of articles and on the Achievements page.

Usage

To use this template, replace the note after each | with what is specified.

{{achievements
 |title=Name of achievement
 |Word-for-word in game description
 |If the in game description is not obvious, explain here
 |Gamerscore earned (usually 10G), defaults to "N/A"
 |PS trophy type, defaults to "N/A"
}}

Using the character \ after the parameter makes a second cell below. If cannot be used on |1=, or any of the table parameters below.

Table parameters

To group multiple achievements templates into one table, you also need to set |head= in the first template of the table, and |foot= in the last.

Example

{{Achievements
 |title=Taking Inventory
 |Press '[defaults to E]' to open your inventory.
 |Open your inventory. The description will match the configured inventory key.
 |10G
 |Bronze
}}

Produces:

Icono Logros Descripción en el juego Requerimientos reales (si difieren) Puntaje de jugador obtenido Tipo de trofeo (PS)
Taking Inventory.pngTaking InventoryPress '[defaults to E]' to open your inventory.Open your inventory. The description will match the configured inventory key.10GBronze

See also

[ver | editar | historial | purgar]La documentación arriba es transcluída desde Plantilla:Logros/doc.