User:LostInRiverview/Test: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>LostInRiverview
No edit summary
imported>LostInRiverview
No edit summary
Line 1: Line 1:
<includeonly><center><div style="height:{{#if:{{{height|}}}|{{{height}}}|300}}px; color: #F9F9F9; font-weight: bold; {{#if:{{{width|}}}|width:{{{width|670}}}px; |width:670px; }}position:relative; overflow:hidden; border: 1px solid #E0E0E0; box-shadow: 1px 1px 3px #777;"><div style="{{#if:|{{{width|}}}|{{{width|670}}}px; |width:670px; }}position:absolute;margin-top:-{{{offset}}}px;">[[File:{{{image}}}|{{#if:{{{width|}}}|{{{width|670}}}px|670px}}|link=|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]</div>{{#if:{{{noname|}}}||<div style="background-color:{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{#switch:{{{generation}}}|1|TS1|Sims 1|The Sims|The Sims 1|TS = #FA8072|2|TS2|Sims 2|The Sims 2 = #7788E0|3|TS3|Sims 3|The Sims 3 = #96CF24|4|TS4|Sims 4|The Sims 4 = #25A8E0|#default = #AAA}}}}; width:{{#if:{{{width|}}}|{{#expr: {{{width|670}}}-40}}|630}}px; position:absolute; align:left; bottom:20px; left:{{#switch:{{{align}}}|left = 0px;|right = 20px;|center |centre = 10px;|#default = 20px;}} padding:10px 10px 10px 10px; box-shadow: 1px 1px 3px #777; border: 1px solid #DDD;"><span style="font-size:25px; float:left; color: white; text-shadow: 1px 1px 2px #333;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</span><span style="font-size:12px;"><div style="float:right;{{#if:{{{width|}}}| float-offset: {{#expr: 670-{{{width|0}}} }}px;|}}">{{#if:{{{pagetype|}}}|{{{pagetype}}}|}}{{#if:{{{1|}}}|{{#if:{{{pagetype|}}}|&nbsp;·&nbsp; |}}Featured in: {{Eraicon|{{{1|}}}}} {{#if:{{{2|}}}|{{Eraicon|{{{2}}}}}}} {{#if:{{{3|}}}|{{Eraicon|{{{3}}}}}}} {{#if:{{{4|}}}|{{Eraicon|{{{4}}}}}}} {{#if:{{{5|}}}|{{Eraicon|{{{5}}}}}}} {{#if:{{{6|}}}|{{Eraicon|{{{6}}}}}}} {{#if:{{{7|}}}|{{Eraicon|{{{7}}}}}}} {{#if:{{{8|}}}|{{Eraicon|{{{8}}}}}}}|}}
<includeonly><center><div style="height:{{#if:{{{height|}}}|{{{height}}}|300}}px; color: #F9F9F9; font-weight: bold; {{#if:{{{width|}}}|width:{{{width|670}}}px; |width:670px; }}position:relative; overflow:hidden; border: 1px solid #E0E0E0; box-shadow: 1px 1px 3px #777;"><div style="{{#if:|{{{width|}}}|{{{width|670}}}px; |width:670px; }}position:absolute;margin-top:-{{{offset}}}px;">[[File:{{{image}}}|{{#if:{{{width|}}}|{{{width|670}}}px|670px}}|link=|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]</div>{{#if:{{{noname|}}}||<div style="background-color:{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{#switch:{{{generation}}}|1|TS1|Sims 1|The Sims|The Sims 1|TS = #FA8072|2|TS2|Sims 2|The Sims 2 = #7788E0|3|TS3|Sims 3|The Sims 3 = #96CF24|4|TS4|Sims 4|The Sims 4 = #25A8E0|#default = #AAA}}}}; opacity: 0.85; width:{{#if:{{{width|}}}|{{#expr: {{{width|670}}}-40}}|630}}px; position:absolute; align:left; bottom:20px; left:{{#switch:{{{align}}}|left = 0px;|right = 20px;|center |centre = 10px;|#default = 20px;}} padding:10px 10px 10px 10px; box-shadow: 1px 1px 3px #777; border: 1px solid #DDD;"><span style="font-size:25px; float:left; color: white; text-shadow: 1px 1px 2px #333;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</span><span style="font-size:12px;"><div style="float:right;{{#if:{{{width|}}}| float-offset: {{#expr: 670-{{{width|0}}} }}px;|}}">{{#if:{{{pagetype|}}}|{{{pagetype}}}|}}{{#if:{{{1|}}}|{{#if:{{{pagetype|}}}|&nbsp;·&nbsp; |}}Featured in: {{Eraicon|{{{1|}}}}} {{#if:{{{2|}}}|{{Eraicon|{{{2}}}}}}} {{#if:{{{3|}}}|{{Eraicon|{{{3}}}}}}} {{#if:{{{4|}}}|{{Eraicon|{{{4}}}}}}} {{#if:{{{5|}}}|{{Eraicon|{{{5}}}}}}} {{#if:{{{6|}}}|{{Eraicon|{{{6}}}}}}} {{#if:{{{7|}}}|{{Eraicon|{{{7}}}}}}} {{#if:{{{8|}}}|{{Eraicon|{{{8}}}}}}}|}}
</div></span>{{#if:{{{subtitle|}}}|<br/><span style="font-size:12px; float:left;">''{{{subtitle}}}''</span>|}}
</div></span>{{#if:{{{subtitle|}}}|<br/><span style="font-size:12px; float:left;">''{{{subtitle}}}''</span>|}}
</div>}}
</div>}}

Revision as of 13:56, 5 April 2015