Difference between revisions of "Template:Food Infobox"

From Yo-Kai Watch Wiki
Jump to: navigation, search
(Redirected page to Template:Item Infobox)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:21em;"
+
#REDIRECT [[Template:Item Infobox]]
|-
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; font-size:120%; padding:0.5em;" | {{{name|{{PAGENAME}}}}}
+
|-
+
! colspan="2" |{{#if:{{{image|}}}|[[Image:{{{image}}}|{{PAGENAME}}]]|}}
+
|-
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em;" | Information
+
|-
+
{{#if: {{{Type|}}}|
+
{{!}} '''Type'''
+
{{!}} {{{Type|}}} }}
+
|-
+
{{#if: {{{Effect|}}}|
+
{{!}} '''Effect'''
+
{{!}} {{{Effect|}}} }}
+
|-
+
{{#if: {{{Buy|}}}|
+
{{!}} '''Buy'''
+
{{!}} {{{Buy|}}} }}
+
|-
+
{{#if: {{{Sell|}}}|
+
{{!}} '''Sell'''
+
{{!}} {{{Sell|}}} }}
+
|-
+
{{#if: {{{Description|}}}|
+
{{!}} '''Description'''
+
{{!}} {{{Description|}}} }}
+
|-
+
{{#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>
+
Used on [[Food]] pages
+
 
+
==Usage==
+
<pre>
+
{{Food Infobox
+
|image=
+
|Type=
+
|Effect=
+
|Buy=
+
|Sell=
+
|Description=
+
|Acquired by=
+
}}
+
</pre>
+
 
+
 
+
 
+
<br><br>
+
[[Category:Templates]]
+
</noinclude>
+

Latest revision as of 08:57, 6 November 2015