Template:Neighborhood: Difference between revisions

no edit summary
sims>A morris
m (moving Category:Neighborhoods with main namespace statements)
sims>Random Ranaun
No edit summary
Line 1:
<div style="width:260px;float:right;clear:right;margin-left:5px;margin-right:0px;margin-top:0px;margin-bottom:0px; border-right: {{Vgbordercolor|{{Vgcode|{{{game1}}} }} }} 1px solid;border-left:{{Vgbordercolor|{{Vgcode|{{{game1}}} }} }} 1px solid; border-top:{{Vgbordercolor|{{Vgcode|{{{game1}}} }} }} 1px solid;border-bottom:{{Vgbordercolor|{{Vgcode|{{{game1}}} }} }} 1px solid; background:{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}; color:black; vertical-align:top; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:5px; background-position:-40px -15px;">
{| style="margin-left:5px; float:right; width:264px; font-size:94%; text-align:left; border:1px solid #007FFF; background-color: #FFFFFF; -moz-border-radius:10px;" cellpadding="0"
{| cellspacing="1.5" <div style="float:right;background:#99bbff;color:black;">
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''
|
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{#ifeq: {{#expr: {{#if:{{{header|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}} align="center" colspan="2" bgcolor="{{Vgmainheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:#FFFFFF;" {{!}} '''{{{header|{{PAGENAME}}}}}'''
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Sims]]|<!--Not in Main: namespace-->}}{{#ifeq:{{NAMESPACE}}|Fanon|[[Category:Sims (fanon)]]|<!--Not in Main: namespace-->}}</includeonly>
{{!}}-
}}
{{#if:{{{game1<includeonly>{{Checkmns|</includeonly>}}} |
{{!}} colspan="2" style="float:center; text-align:center" {{!}}<small><center>{{GetGameImage|{{{game1}}}}}</center></small>
{{!}}-
}}
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-alignfloat:center;" border-top:{{!}} Vglinecolor|{{Vgcode|{image{{game1}}}<br /><span}} style="font}} 1px solid; text-sizealign:80%;center"> {{!}}{caption|{{PAGENAME}}image}}}</span>
{{!}}-
}}
{{#if:{{{caption<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; text-align:center"{{!}}<small><font color="{{Vgmainheadercolor|{{Vgcode|{{{game1}}} }} }}">{{{caption}}}</font></small>
{{!}}-
}}
{{#if:{{{name<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game1}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Name'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid;" {{!}}{{{name}}}
{{!}}-
}}
{{#if:{{{game1<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game1}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Game(s)'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid;" {{!}}{{#if:{{{game1|}}}|{{GetGenderImage|{{{sex}}} }} }}{{{game1}}}{{#if:{{{game2<includeonly>|</includeonly>}}}|, {{{game2}}} }}
{{!}}-
}}
|}
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{#ifeq: {{#expr: {{#if:{{{playerstories|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}}-
{{!}} align="center" colspan="2" bgcolor="{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:{{Vgsecondaryfontcolor|{{Vgcode|{{{game1}}} }} }};" {{!}} '''<includeonly>{{Checkmns|</includeonly>{{#ifexist:{{FULLPAGENAME}}/Player stories|[[{{PAGENAME}}/Player stories{{!}}Player stories]]|<span class="red-link">[{{fullurl:{{FULLPAGENAME}}/Player stories|action=edit&preload=Template:Player_Stories/preload}} Create 'Player stories' page]</span>}}<includeonly>}}</includeonly>'''
{{!}}-
}}
|}
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{#ifeq: {{#expr: {{#if:{{{theories|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}}-
{{!}} align="center" colspan="2" bgcolor="{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:{{Vgsecondaryfontcolor|{{Vgcode|{{{game1}}} }} }};" {{!}} '''{{#if: {{{theories<includeonly>|</includeonly>}}} | [[{{PAGENAME}}/theories|{{{theories}}}]]}}'''
{{!}}-
}}
|}
{{!}} style="text-align:left;" {{!}} '''Name'''
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
| {{{name|{{PAGENAME}}}}}
|-
{{#ifeq: {{#expr: {{#if:{{{gamesfanoncomments|<includeonlynoinclude>|-</includeonlynoinclude>}}}|1|0}} }} | 1 |
{{!}} align="center" colspan="2" bgcolor="{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:{{Vgsecondaryfontcolor|{{Vgcode|{{{game1}}} }} }};" {{!}} '''<includeonly>{{Checkfns|</includeonly>[[{{FULLPAGENAME}}#WikiaArticleComments|Write a Review!]]<includeonly>}}</includeonly>'''
{{!}} style="text-align:left;" {{!}} '''Game(s)'''
{{!}}{{{games}}}
{{!}}-
}}
|}
! colspan="2" style="text-align:center;" |
</div>
<includeonly>{{Checkmns|</includeonly>
|}
----
|}</div><noinclude>
'''{{#ifexist:{{FULLPAGENAME}}/Onomatology|[[{{PAGENAME}}/Onomatology{{!}}Onomatology]]|<span class="red-link">[{{fullurl:{{FULLPAGENAME}}/Onomatology|action=edit&preload=Template:Onomatology/preload}} Create 'Onomatology' page]</span>}}'''<br>
'''{{#ifexist:{{FULLPAGENAME}}/Player stories|[[{{PAGENAME}}/Player stories{{!}}Player stories]]|<span class="red-link">[{{fullurl:{{FULLPAGENAME}}/Player stories|action=edit&preload=Template:Player_Stories/preload}} Create 'Player stories' page]</span>}}'''
{{#if: {{{theories<includeonly>|</includeonly>}}} | <br />'''[[{{PAGENAME}}/theories|{{{theories}}}]]'''}}
<includeonly>[[Category:Neighborhoods]]
}}</includeonly><includeonly>{{Checkfns|</includeonly>
----
'''[[{{FULLPAGENAME}}#WikiaArticleComments|Write a review!]]'''<includeonly>}}</includeonly>
|}<noinclude>
 
==Usage==
Anonymous user