Diferencia entre revisiones de «Plantilla:Comida»

De WikiMinecraft
Saltar a: navegación, buscar
Línea 1: Línea 1:
<includeonly>{{#invoke:infobox|infobox
+
<table class="infobox" cellpadding="4" style="width: 22em; font-size: 90%; float:right; border: 1px solid #AAAAAA; margin-left:0.5em">
| rows =
 
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
 
{{infobox row|label=[[Food|Restores]]|field={{ #if: {{{heals|}}} | {{{heals}}} | ? }} }}
 
{{infobox row|label=Cookable|field={{ #if: {{{cookable|}}} | {{{cookable}}} | ? }} }}
 
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}
 
{{#if: {{{light|}}} | {{infobox row|label=[[Light|Luminance]]|field={{{light}}}}} }}
 
{{#if: {{{multiplevers|}}}
 
| {{infobox row|label=First appearances|field={{{multiplevers}}} }}
 
| {{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} {{
 
    #if: {{{firstdev|}}} | ({{version link|{{{firstdev}}}}})
 
    }}}}
 
  }}
 
}}
 
{{#if: {{{multipledata|}}}
 
  | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }}
 
  | {{infobox row|label=[[Data values|Data value]]|field={{data value|{{{data|}}}}} }}
 
}}
 
{{#if: {{NAMESPACE}}
 
|
 
| {{#ifeq: {{lc: {{{nameid}}} }} | none
 
  |
 
  | {{infobox row|label=[[Data values|Name]]|field={{
 
    #if: {{{nameid|}}}
 
    | {{{nameid}}}
 
    | {{lc: {{#replace: {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} || _ }} }}
 
    }}}}
 
  }}
 
}}
 
}}{{#if:{{NAMESPACE}}||[[Category:Food]]}}</includeonly><noinclude>
 
{{/doc}}
 
  
[[Category:Infobox templates|F]]
+
<tr>
[[es:Plantilla:Comida]]
+
 
[[fr:Modèle:Nourriture]]
+
<td align="center" colspan=2 bgcolor="#7caa21" style="font-size:120%; font-weight: bold;">{{{name|{{BASEPAGENAME}}}}}</td>
</noinclude>
+
 
 +
</tr>
 +
 
 +
<tr valign="top">
 +
 
 +
<td align="center" colspan="2">[[File:{{{image|No block image.png}}}|150px|center]]</td>
 +
 
 +
</tr>
 +
 
 +
{{#if:{{{image2|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{image2}}}|150px|center]]</td></tr>}}
 +
 
 +
{{#if:{{{invimage|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{invimage}}}|36px|center]]</td></tr>}}
 +
 
 +
{{#if:{{{invimage2|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{invimage2}}}|36px|center]]</td></tr>}}
 +
 
 +
{{Block/row2|label=Tipo|field={{{tipo|?}}}}}
 +
 
 +
{{Block/row2|label=Restaura|field={{{restaura|?}}}}}
 +
 
 +
{{Block/row|label=Cocinable|field={{{cocinable|?}}}}}
 +
 
 +
{{Block/row|label=Apilable|field={{{apilable|?}}}}}
 +
 
 +
{{Block/row2|label=[[Código|Código]]{{#if:{{{data1|}}}|s|}}|field={{{data|{{#if:{{{datadec|}}}|<!--
 +
 
 +
 
 +
---->|{{#if:{{{data1name|}}}|'''{{{data1name|}}}'''<br />| }}<!--
 +
 
 +
----><sub>dec:</sub> {{{data1|00}}} <sub>hex:</sub> {{dec-hex|{{{data1|00}}} }}<br /><!--
 +
 
 +
 
 +
The optional second data value.
 +
 
 +
 
 +
---->{{#if:{{{data2|}}}|<!--
 +
 
 +
------>{{#if:{{{data2name|}}}|'''{{{data2name|}}}'''<br />| }}<!--
 +
 
 +
------><sub>dec:</sub> {{{data2}}} <sub>hex:</sub> {{dec-hex|{{{data2}}} }}<!--
 +
 
 +
---->|}}<!--
 +
 
 +
-->}} }}} }}
 +
 
 +
</table>

Revisión del 20:19 11 abr 2014

Comida
No block image.png
Tipo ?
Restaura ?
Cocinable ?
Apilable ?
Código dec: 00 hex: 0