|
|
Línea 1: |
Línea 1: |
− | {{infobox common
| + | <table class="infobox" cellpadding="4" style="width: 22em; font-size: 90%; float:right; border: 1px solid #AAAAAA; margin-left:0.5em"> |
− | | title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| |
− | | imagearea = {{
| |
− | #if: {{#pos: {{{image}}} | ; }}
| |
− | | {{animate|{{{image}}}|return=[[File:{1}|150px|center]]}}
| |
− | | [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No block image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|150px|center]]
| |
− | }}{{
| |
| | | |
− | #if: {{{image2|}}} | <div style="padding-top: 1em">{{
| + | <tr> |
− | #if: {{#pos: {{{image2}}} | ; }}
| |
− | | {{animate|{{{image2}}}|return=[[File:{1}|150px|center]]}}
| |
− | | [[File:{{{image2}}}|150px|center]]
| |
− | }}</div>
| |
− | }}{{
| |
| | | |
− | #if: {{{image3|}}} | <div style="padding-top: 1em">{{
| + | <td align="center" colspan=2 bgcolor="#7caa21" style="font-size:120%; font-weight: bold;">{{{name|{{BASEPAGENAME}}}}}</td> |
− | #if: {{#pos: {{{image3}}} | ; }}
| |
− | | {{animate|{{{image3}}}|return=[[File:{1}|150px|center]]}}
| |
− | | [[File:{{{image3}}}|150px|center]]
| |
− | }}</div>
| |
− | }}{{
| |
− | #ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{{invimage}}}|link=none}} | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}|link=none}} }} }}
| |
− | }}{{
| |
− | #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage3|}}} | {{Grid|{{{invimage3}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage4|}}} | {{Grid|{{{invimage4}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage5|}}} | {{Grid|{{{invimage5}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage6|}}} | {{Grid|{{{invimage6}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage7|}}} | {{Grid|{{{invimage7}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage8|}}} | {{Grid|{{{invimage8}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage9|}}} | {{Grid|{{{invimage9}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage10|}}} | {{Grid|{{{invimage10}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage11|}}} | {{Grid|{{{invimage11}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage12|}}} | {{Grid|{{{invimage12}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage13|}}} | {{Grid|{{{invimage13}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage14|}}} | {{Grid|{{{invimage14}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage15|}}} | {{Grid|{{{invimage15}}}|link=none}}
| |
− | }}{{
| |
− | #if: {{{invimage16|}}} | {{Grid|{{{invimage16}}}|link=none}}
| |
− | }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div> | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | </div> }} }} }}
| |
| | | |
| + | </tr> |
| | | |
| + | <tr valign="top"> |
| | | |
| + | <td align="center" colspan="2">[[File:{{{imagen|No block image.png}}}|150px|center]]</td> |
| | | |
− | | rows =
| + | </tr> |
− | {{infobox row|label=Tipo:|field={{ #if: {{{tipo|}}} | {{{tipo}}} | ? }} }}
| |
− | {{infobox row|label=[[Restaura]]|field={{ #if: {{{restaura|}}} | {{{restaura}}} | ? }} }}
| |
− | {{infobox row|label=Cocinable|field={{ #if: {{{cocinable|}}} | {{{cocinable}}} | ? }} }}
| |
− | {{infobox row|label=Apilable|field={{ #if: {{{apilable|}}} | {{{apilable}}} | ? }} }}
| |
− | {{#if: {{{light|}}} | {{infobox row|label=[[Luz]]|field={{{luz}}}}} }}
| |
− | {{#if: {{{multiplevers|}}}
| |
− | | {{infobox row|label=Primeras apariciones|field={{{multiplesvers}}} }}
| |
− | | {{#if: {{{firstver|}}} | {{infobox row|label=Primera aparicion|field={{version link|{{{primeraver}}}}} {{
| |
− | #if: {{{firstdev|}}} | ({{version link|{{{primeradev}}}}})
| |
− | }}}}
| |
− | }}
| |
− | }}
| |
− | {{#if: {{{multiplesdatos|}}}
| |
− | | {{infobox row|label=[[Valores de Datos]]|field={{{multiplesdatos}}} }}
| |
− | | {{infobox row|label=[[Valores de Datos]]|field={{valores de datos|{{{datos|}}}}} }}
| |
− | }}
| |
− | {{#if: {{NAMESPACE}}
| |
− | |
| |
− | | {{#ifeq: {{lc: {{{nameid}}} }} | none
| |
− | |
| |
− | | {{infobox row|label=[[Valores de Datos|Nombre]]|field={{
| |
− | #if: {{{nameid|}}}
| |
− | | {{{nameid}}}
| |
− | | {{lc: {{#replace: {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} || _ }} }}
| |
− | }}}}
| |
− | }}
| |
− | }}
| |
− | }}{{#if:{{NAMESPACE}}||[[Categoría:Comida]]}}<noinclude>
| |
− | {{/doc}}
| |
| | | |
− | [[es:Plantilla:Comida]] | + | {{#if:{{{image2|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{image2}}}|150px|center]]</td></tr>}} |
− | </noinclude> | + | |
| + | {{#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> |