Template:Food: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Random Ranaun No edit summary |
SimDestroyer (talk | contribs) No edit summary |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | 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" |
{| 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}}}}'' |
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'' |
||
|- |
|- |
||
{{#if:{{{image<includeonly>|</includeonly>}}} | |
{{#if:{{{image<includeonly>|</includeonly>}}} | |
||
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}<br /><span style="font-size:80%;">{{{caption}}}</span> |
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}<br /><span style="font-size:80%;">{{{caption<includeonly>|</includeonly>}}}</span> |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 12: | Line 13: | ||
{{!}} style="text-align:left;" {{!}} '''Type''' |
{{!}} style="text-align:left;" {{!}} '''Type''' |
||
{{!}}{{{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" {{!}} |
||
---- |
---- |
||
{{!}}- |
|||
{{!}} 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>}}} | |
{{#if:{{{hunger<includeonly>|</includeonly>}}} | |
||
Line 46: | Line 56: | ||
{{!}}{{{bladder}}} |
{{!}}{{{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> |
|}<includeonly> |
||
{{#ifeq:{{NAMESPACE}}|[[Category:Food]]}}{{ |
{{#ifeq:{{NAMESPACE}}|[[Category:Food]]}}{{ |
||
#if: {{{type|}}} | {{#ifeq: {{{type|}}}| Fruit | [[Category:Fruits]]|{{ #ifeq: {{{type|}}}| Vegetable | [[Category:Vegetables]]|{{#ifeq: {{{type|}}}| Meat | [[Category:Meat foods]]|{{#ifeq: {{{type|}}}| Prepared | [[Category:Prepared foods]] }} }} }} }} }} |
#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> |
|||
⚫ | |||
<pre>{{Food |
|||
|image = |
|||
|caption = |
|||
|type = |
|||
|hunger = |
|||
|energy = |
|||
|comfort = |
|||
|hygiene = |
|||
|social = |
|||
|bladder = |
|||
⚫ |
Latest revision as of 18:58, 22 April 2019
Food | |
---|---|
{{{image}}} {{{caption}}} | |
Name | Food |
Type | {{{type}}} |
Ingredients | {{{ingredient1}}}, {{{ingredient2}}}, {{{ingredient3}}}, {{{ingredient4}}}, {{{ingredient5}}} |
| |
Effects | |
Hunger | {{{hunger}}} |
Energy | {{{energy}}} |
Comfort | {{{comfort}}} |
Hygiene | {{{hygiene}}} |
Social | {{{social}}} |
Bladder | {{{bladder}}} |
- Description
- Infobox for food.
- Syntax
- {{Food|<...>}}
{{Food |image = |caption = |type = |ingredient1 = |ingredient2 = |ingredient3 = |ingredient4 = |ingredient5 = |hunger = |energy = |comfort = |hygiene = |social = |bladder = }}
- Type: Fruit, Vegetable, Meat, or Prepared
Visit Template:Food/doc to edit this text! (How does this work?) (Refresh this text - why?)