Template:Food: Difference between revisions

910 bytes added ,  5 years ago
no edit summary
sims>Random Ranaun
No edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1:
<noinclude>{{tm|{{Under construction}}}}</noinclude>
{| style="margin-left:5px; float:right; width:264px; font-size:94%; text-align:left; border:1px solid; -moz-border-radius:10px; background-color: #FFFFFF;" cellpadding="0"
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}<br /><span style="font-size:80%;">{{{caption<includeonly>|</includeonly>}}}</span>
{{!}}-
}}
Line 12 ⟶ 13:
{{!}} style="text-align:left;" {{!}} '''Type'''
{{!}}{{{type}}}
{{!}}-
}}
{{#if: {{{ingredient1<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Ingredients'''
{{!}}{{{ingredient1}}}{{#if: {{{ingredient2<includeonly>|</includeonly>}}} |, {{{ingredient2}}}}}{{#if: {{{ingredient3<includeonly>|</includeonly>}}} |, {{{ingredient3}}}}}{{#if: {{{ingredient4<includeonly>|</includeonly>}}} |, {{{ingredient4}}}}}{{#if: {{{ingredient5<includeonly>|</includeonly>}}} |, {{{ingredient5}}}}}
{{!}}-
}}
{{!}} colspan="2" {{!}}
----
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} '''Effects'''
{{!}}-
{{#ifexpr: {{#if:{{{hunger|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{energy|}}}|1|0}} or {{#if:{{{comfort|}}}|1|0}} or {{#if:{{{hygiene|}}}|1|0}} or {{#if:{{{social|}}}|1|0}} or {{#if:{{{bladder|}}}|1|0}} |
{{!}}-
{{#if:{{{hunger<includeonly>|</includeonly>}}} |
Line 46 ⟶ 56:
{{!}}{{{bladder}}}
{{!}}-
}}
|
{{!}} colspan="2" style="text-align:center;" {{!}} ''This food is missing information about it's effects. You can help {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} adding it]. ''
|
}}
|}<includeonly>
Line 51 ⟶ 65:
#if: {{{type|}}} | {{#ifeq: {{{type|}}}| Fruit | [[Category:Fruits]]|{{ #ifeq: {{{type|}}}| Vegetable | [[Category:Vegetables]]|{{#ifeq: {{{type|}}}| Meat | [[Category:Meat foods]]|{{#ifeq: {{{type|}}}| Prepared | [[Category:Prepared foods]] }} }} }} }} }}
<!--Not in Main: namespace--></includeonly><noinclude>
{{clr}}</pre>{{documentation}}</noinclude>
<pre>{{Food
|image =
|caption =
|type =
|hunger =
|energy =
|comfort =
|hygiene =
|social =
|bladder =
}}</pre>{{documentation}}</noinclude>