Anonymous user
Template:Object: Difference between revisions
Restoring a previous version while I work out the bug in the new version
sims>LostInRiverview mNo edit summary |
sims>LostInRiverview (Restoring a previous version while I work out the bug in the new version) |
||
Line 1:
{| style="margin-left:5px; float:right; width:264px; font-size:94%; text-align:left; border:1px solid #007FFF; -moz-border-radius:10px; -webkit-border-radius:10px; background-color: #FFFFFF;" cellpadding="0"
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''
|-
{{!}}
{{!}}-
}}
{{#if: {{{
{{!}} colspan="2" style="
{{!}}-
}}
{{#if: {{{
{{!}} style="text-align:left;" {{!}} '''Game''':
{{!}} {{{game}}}
{{!}}-
}}
{{#if: {{{buy<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Buyable''':
{{!}} {{{buy}}}
{{!}}-
}}
{{#if: {{{price<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Price''':
{{!}} {{{price}}}
{{!}}-
}}
{{#ifeq: {{#expr: {{#if:{{{type|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{type1|}}}|1|0}} }} | 1 |
{{!}} style="text-align:left;" {{!}} '''Type''':
#if: {{{type<includeonly>|</includeonly>}}} |
{{{type}}}
Line 37 ⟶ 36:
{{!}}-
}}
{{#if: {{{size<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Size''':
{{!}} {{{size}}}
{{!}}-
}}
{{#if: {{{uses<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Uses''':
{{!}} {{{uses}}}
|}<includeonly>{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]]▼
▲}}{{!}}-
▲<includeonly>{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]]
{{GetObjectCats|game|{{{game}}}}}{{GetObjectCats|type|{{{type}}}}}{{GetObjectCats|type|{{{type1}}}}}{{GetObjectCats|type|{{{type2}}}}}{{GetObjectCats|type|{{{type3}}}}}{{GetObjectCats|type|{{{type4}}}}}{{GetObjectCats|type|{{{type5}}}}}{{GetObjectCats|buy|{{{buy}}}}}
|<!-- Not in Main namespace -->}}}}}}</includeonly><noinclude>
|