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"
<div style="width: 255px; font-size:94%; float:right; margin-left: 5px; margin-right: 0px; margin-top: 0px; margin-bottom: 0px; border-right: {{Vgbordercolor|{{Vgcode|{{{game}}} }} }} 1px solid; border-left: {{Vgbordercolor|{{Vgcode|{{{game}}} }} }} 1px solid; border-top: {{Vgbordercolor|{{Vgcode|{{{game}}} }} }} 1px solid; border-bottom: {{Vgbordercolor|{{Vgcode|{{{game}}} }} }} 1px solid; background: {{Vgsecondaryheadercolor|{{Vgcode|{{{game}}} }} }}; color: black; vertical-align: top; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; background-position: -40px -15px;">
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''
{| cellspacing="1.5" <div style="float:right;background:#99bbff;color:black;">
|
{| cellpadding="3" cellspacing="0" style="float:center; width:250px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{#ifeq: {{#expr: {{#if:{{{name|image<noincludeincludeonly>-|</noincludeincludeonly>}}}|1|0}} }} | 1 |
{{!}} aligncolspan="center2" colspanstyle="2text-align:center;" bgcolor="{{Vgmainheadercolor|!}} {{Vgcode|{{{gameimage}}}<br }} }}"/><span style="font-size:11080%; padding:1px; color:#FFFFFF;" {{!}} '''{{{name|{{PAGENAME}}}}}'''>
{{!}}-
}}
{{#if: {{{imagedesc<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="float:center; border-top:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; text-align:center;" {{!}} ''{{{imagedesc}}}''<br />
{{!}}-
}}
{{#if: {{{descgame<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Game''':
{{!}} colspan="2" style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; text-align:center"{{!}}<small><font color="{{Vgmainheadercolor|{{Vgcode|{{{game}}} }} }}">''{{{desc}}}''</font></small>
{{!}} {{{game}}}
{{!}}-
}}
{{#if: {{{buy<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Buyable''':
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Buyable'''
{{!}} {{{buy}}}
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}} {{{buy}}}
{{!}}-
}}
{{#if: {{{price<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Price''':
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Price'''
{{!}} {{{price}}}
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}} {{{price}}}
{{!}}-
}}
{{#ifeq: {{#expr: {{#if:{{{type|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{type1|}}}|1|0}} }} | 1 |
{{!}} style="text-align:left;" {{!}} '''Type''':
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Type'''
}}{{!}}-{{
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}}{{
#if: {{{type<includeonly>|</includeonly>}}} |
{{{type}}}
Line 37 ⟶ 36:
{{!}}-
}}
{{#if: {{{size<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Size''':
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Size'''
{{!}} {{{size}}}
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}} {{{size}}}
{{!}}-
}}
{{#if: {{{uses<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Uses''':
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Uses'''
{{!}} {{{uses}}}
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}} {{{uses}}}
{{!}}-
|}<includeonly>{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]]
}}{{!}}-
|}
|}
</div></div>
<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>
Anonymous user