Difference between revisions of "Template:Foodstuff"
Wikisimpsons - The Simpsons Wiki
Solar Dragon (talk | contribs) |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {| align="right" style="background: # | + | {| align="right" style="background: #{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; width: 19%; border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; -icab-border-top-left-radius: 5px; -o-border-top-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px;; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; -icab-border-bottom-right-radius: 5px; -o-border-bottom-right-radius: 5px;; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};;" |
|- | |- | ||
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>''' | | align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>''' | ||
− | { | + | {{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}} |
− | |||
− | |||
|- | |- | ||
− | | style="background:# | + | | style="background:#{{DarkColorSwitch}}; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;;" align="center" | '''Food/Drink Information''' |
{| align="center" style="background: #FFFDF0; width: 100%; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};" | {| align="center" style="background: #FFFDF0; width: 100%; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};" | ||
− | {{#if:{{{ | + | {{#if:{{{produced|}}}| |
− | ! align="right" width="80px" {{!}} | + | ! align="right" width="80px" {{!}} Produced by: |
− | {{!}} {{{ | + | {{!}} {{{produced}}} }} |
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{type|}}}| |
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Type: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{type}}} }} | ||
+ | |- | ||
+ | {{#if:{{{town|}}}| | ||
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Town: | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Town: | ||
− | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{ | + | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{town}}} }} |
+ | |- | ||
+ | {{#if:{{{mentioned|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} First mentioned: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{mentioned}}} }} | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{appearance|}}}| |
− | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} First | + | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} First appearance: |
− | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{ | + | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{appearance}}} }} |
|- | |- | ||
|} | |} | ||
Line 25: | Line 31: | ||
|} | |} | ||
+ | <noinclude> | ||
== Use == | == Use == | ||
− | < | + | <pre> |
{{Foodstuff | {{Foodstuff | ||
|name = | |name = | ||
|image = | |image = | ||
− | | | + | |produced = |
− | | | + | |type = |
− | | | + | |town = |
+ | |appearance = | ||
}} | }} | ||
− | </ | + | </pre> |
− | [[Category:Templates | + | [[Category:Templates]] |
+ | [[Category:Infoboxes]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:06, February 12, 2022
Foodstuff |
Food/Drink Information
|
Use[edit]
{{Foodstuff |name = |image = |produced = |type = |town = |appearance = }}