Template:Food: Difference between revisions

Jump to navigation Jump to search
419 bytes added ,  13 years ago
no edit summary
sims>Random Ranaun
No edit summary
sims>Random Ranaun
No edit summary
Line 1:
<div{| style="widthmargin-left:250px5px; float:right;clear width:right264px;margin: font-1.5emsize:94%; 0 1em 1emtext-align:left; border:1px solid;background:#FFFFFF; -moz-border-radius:10px;padding background-color:10px 10px 10px 10px#FFFFFF;"> cellpadding="0"
<p! colspan="2" style="marginfont-size:0 3% 0 3110%; text-align:center;font-size:94%"> | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''
|-
'''{{PAGENAME}}'''<br />{{#if: {{{image<includeonly>|</includeonly>}}} |{{{image}}}<br><small>{{{caption}}}</small>}}</p>
{{#if: {{{hungerimage<includeonly>|</includeonly>}}} | <br>'''Hunger''': {{{hunger}}} }}{{
----
<p{{!}} stylecolspan="margin:02" 3% 0 3%;style="text-align:center;" {{!}} {{{image}}}<br /><span style="font-size:9480%;">'''''The Sims 2 Castaway (DS)'''''{{{caption}}}</pspan>
{{!}}-
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">{{#if: {{{type<includeonly>|</includeonly>}}} | '''Type''': {{{type}}}}}{{
}}
#if: {{{hunger<includeonly>|</includeonly>}}} | <br>'''Hunger''': {{{hunger}}} }}{{
{{!}} style="text-align:left;" {{!}} '''Name'''
#if: {{{energy<includeonly>|</includeonly>}}} | <br>'''Energy''': {{{energy}}} }}{{
{{!}} {{{name|{{PAGENAME}}}}}
#if: {{{comfort<includeonly>|</includeonly>}}} | <br>'''Comfort''': {{{comfort}}} }}{{
{{!}}-
#if: {{{hygiene<includeonly>|</includeonly>}}} | <br>'''Hygiene''': {{{hygiene}}} }}{{
{{#if: {{{socialtype<includeonly>|</includeonly>}}} | <br>'''Social''': {{{social}}} }}{{
{{!}} style="text-align:left;" {{!}} '''Type'''
#if: {{{bladder<includeonly>|</includeonly>}}} | <br>'''Bladder''': {{{bladder}}} }}
{{!}}{{{type}}}
</p><includeonly>
{{!}}-
{{#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]] }}
|<!--Not in Main{{#if: namespace-->}}{{{Hunger</includeonly>|</div><noincludeincludeonly>}}} |
{{!}} valign="top" style="text-align:left;" {{!}} '''Hunger'''
<pre>{{Food
{{!}}{{{hunger}}}
{{!}}-
}}
{{#if: {{{energy<includeonly>|</includeonly>}}} | <br>'''Energy''': {{{energy}}} }}{{
{{!}} valign="top" style="text-align:left;" {{!}} '''Energy'''
{{!}}{{{energy}}}
{{!}}-
}}
{{#if: {{{comfort<includeonly>|</includeonly>}}} | <br>'''Comfort''': {{{comfort}}} }}{{
{{!}} style="text-align:left;" {{!}} '''Comfort'''
{{!}}{{{comfort}}}
{{!}}-
}}
{{#if: {{{hygiene<includeonly>|</includeonly>}}} | <br>'''Hygiene''': {{{hygiene}}} }}{{
{{!}} style="text-align:left;" {{!}} '''Hygiene'''
{{!}}{{{hygiene}}}
{{!}}-
}}
{{#if:{{{social<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Social'''
{{!}}{{{social}}}
{{!}}-
}}
{{#if: {{{bladder<includeonly>|</includeonly>}}} | <br>'''Bladder''': {{{bladder}}} }}
{{!}} style="text-align:left;" {{!}} '''Bladder'''
{{!}}{{{bladder}}}
{{!}}-
}}
<includeonly>}}</includeonly>
|}<pre>{{Food
|image =
|caption =
Line 26 ⟶ 56:
|bladder =
}}</pre></noinclude>
</p><includeonly>
{{#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]] }} }} }} }}
}}
|<!--Not in Main: namespace-->}}</includeonly><noinclude>{{documentation}}</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu