Difference between revisions of "Template:Food Infobox"

From Yo-Kai Watch Wiki
Jump to: navigation, search
m (Yokai watch fans moved page Template:Food infobox to Template:Food Infobox)
Line 1: Line 1:
{| class="infobox" id="infobox" style="font-size:89%; width:365px;"
+
{| class="infobox" style="font-size:89%; width:21em;"
 
|-
 
|-
! colspan="2" style="background-color: #BDBDBD; color: #000000; font-size:120%; padding:0.5em; text-align:center;" | {{{name|{{PAGENAME}}}}}
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; font-size:120%; padding:0.5em;" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
! colspan="2" |{{#if:{{{image|}}}|{{{image|}}}}}
+
! colspan="2" |{{#if:{{{image|}}}|[[Image:{{{image}}}|{{PAGENAME}}]]|}}
 
|-
 
|-
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em; text-align:center;" | Description
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em;" | Information
 
|-
 
|-
|{{!}} '''Type'''
+
{{#if: {{{Type|}}}|
{{!}} {{{Type|}}}
+
{{!}} '''Type'''
 +
{{!}} {{{Type|}}} }}
 
|-
 
|-
|{{!}} '''Effect'''
+
{{#if: {{{Effect|}}}|
{{!}} {{{Effect|}}}
+
{{!}} '''Effect'''
 +
{{!}} {{{Effect|}}} }}
 
|-
 
|-
|{{!}} '''Buy'''
+
{{#if: {{{Buy|}}}|
{{!}} {{{Buy|}}}
+
{{!}} '''Buy'''
 +
{{!}} {{{Buy|}}} }}
 
|-
 
|-
|{{!}} '''Sell'''
+
{{#if: {{{Sell|}}}|
{{!}} {{{Sell|}}}
+
{{!}} '''Sell'''
 +
{{!}} {{{Sell|}}} }}
 
|-
 
|-
|{{!}} '''Description'''
+
{{#if: {{{Description|}}}|
{{!}} {{{Description|}}}
+
{{!}} '''Description'''
 +
{{!}} {{{Description|}}} }}
 
|-
 
|-
|}<includeonly>[[Category:Yokai|{{PAGENAME}}]] {{#set:Type={{{Type|}}} |+sep}} {{#set:Effect={{{Effect|}}} |+sep}} {{#set:Buy={{{Buy|}}} |+sep}} {{#set:Sell={{{Sell|}}} }} {{#set:Description={{{Description|}}} }}  </includeonly>
+
{{#if: {{{Acquired by|}}}|
 +
{{!}} '''Acquired by'''
 +
{{!}} {{{Acquired by|}}} }}
 +
|-
 +
|}<includeonly>[[Category:Food|{{PAGENAME}}]] {{#set:Type={{{Type|}}} |+sep}} {{#set:Effect={{{Effect|}}} |+sep}} {{#set:Buy={{{Buy|}}} |+sep}} {{#set:Sell={{{Sell|}}} }} {{#set:Description={{{Description|}}} }}  {{#set:Acquired by={{{Acquired by|}}} }} </includeonly>
 
<noinclude>
 
<noinclude>
Used on [[Item]] pages
+
Used on [[Food]] pages
  
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{Item Infobox
+
{{Food Infobox
 
|image=
 
|image=
 
|Type=
 
|Type=
Line 35: Line 44:
 
|Sell=
 
|Sell=
 
|Description=
 
|Description=
 +
|Acquired by=
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 06:15, 6 November 2015

Food Infobox
Information

Used on Food pages

Usage

{{Food Infobox
|image=
|Type=
|Effect=
|Buy=
|Sell=
|Description=
|Acquired by=
}}