User:A morris/sandbox
Jump to navigation
Jump to search
MoS examples
<dpl>
titleregexp=[;:'"?!.]$ allowcachedresults=true namespace=
</dpl>
Table styles
<dpl>
namespace=Main|Template|The_Sims_Wiki include=* includematch=/\s*class="?wikitable\s*heading-gr[ae]y"?\s*/s resultsheader=\nNumber of pages = %PAGES% of %TOTALPAGES%\n noresultsheader= \nNo matching pages found.\n allowcachedresults=true count = 5
</dpl>
Buy types
{{Object}} buy = Yes/No <dpl>
uses=Template:Object include={object}:buy namespace= includematch=/\|\s*buy\s*=\s*[Yy]es/s includematch=/\|\s*buy\s*=\s*[Nn]o/s table= class="wikitable sortable",Object,Buy type resultsheader=\nNumber of objects = %PAGES%\n noresultsheader= \nNo matching objects found.\n allowcachedresults=true
</dpl> buy /= value in {{GetObjectCats}}
<dpl>
uses=Template:Object include={object}:buy namespace= includenotmatch=/\|\s*buy\s*=\s*([Bb]uy [Mm]ode|[Bb]uild [Mm]ode|[Cc]ommunity [Ll]ot|[Ss]upermarket|[Ll]imited|[Ee]dit [Tt]own [Mm]ode|[Aa]ward|[Cc]rafted|[Qq]uest|[Oo]pportunity|[Nn]o)/ table= class="wikitable sortable",Object,Buy type resultsheader=\nNumber of objects = %PAGES%\n noresultsheader= \nNo matching objects found.\n allowcachedresults=true
</dpl>
Suffixes
<dpl>
category=Sims titleregexp=\([ABCDEFGHIJKLMNOPQRSTUVWXYZ].*\) allowcachedresults=true namespace=
</dpl> Townies <dpl>
category=Sims titlematch=%(Townie) allowcachedresults=true namespace=
</dpl>
Old parameters
Sim favorites <dpl>
uses=Template:favorites include={favorites}:music,{favorites}:color,{favorites}:food allowcachedresults=true namespace= table= class="wikitable sortable",,music,color,food resultsheader=\nNumber of Sims using {{Favorites}}= %PAGES%\n noresultsheader= \nNo matching Sims found.\n
</dpl> Sim traits <dpl>
uses=Template:Sim3|Template:Simbio3 notuses=Template:GetTraitCat notcategory=Sims with no traits notcategory=Unborn Sims include={Sim3}:traits,{Simbio3}:traits table= class="wikitable sortable",,traits,traits allowcachedresults=true namespace= resultsheader=\nNumber of who may be Sims using "traits"= %PAGES%\n noresultsheader= \nNo matching Sims found.\n
</dpl>
Needs images
Belladonna Cove <dpl>
uses=Template:Needs-headshot category=Belladonna Cove Sims notlinksto=The Sims 2 (console)|The Sims 2 (Nintendo DS)|The Sims 2 (PSP)|The Sims 2 (GBA)|The Sims 2 (mobile) count = 5 allowcachedresults=true namespace= resultsheader=Number of Sims = %PAGES%\n noresultsheader= no matching Sims found.\n
</dpl> Desiderata Valley <dpl>
uses=Template:Needs-headshot category=Desiderata Valley Sims notlinksto=The Sims 2 (console)|The Sims 2 (Nintendo DS)|The Sims 2 (PSP)|The Sims 2 (GBA)|The Sims 2 (mobile) count = 5 allowcachedresults=true namespace= resultsheader=Number of Sims = %PAGES%\n noresultsheader= no matching Sims found.\n
</dpl> Veronaville <dpl>
uses=Template:Needs-headshot category=Veronaville Sims notlinksto=The Sims 2 (console)|The Sims 2 (Nintendo DS)|The Sims 2 (PSP)|The Sims 2 (GBA)|The Sims 2 (mobile) count = 5 allowcachedresults=true namespace= resultsheader=Number of Sims = %PAGES%\n noresultsheader= no matching Sims found.\n
</dpl> Pleasantview <dpl>
uses=Template:Needs-headshot category=Pleasantview Sims notlinksto=The Sims 2 (console)|The Sims 2 (Nintendo DS)|The Sims 2 (PSP)|The Sims 2 (GBA)|The Sims 2 (mobile) count = 5 allowcachedresults=true namespace= resultsheader=Number of Sims = %PAGES%\n noresultsheader= no matching Sims found.\n
</dpl> Strangetown <dpl>
uses=Template:Needs-headshot category=Strangetown Sims notlinksto=The Sims 2 (console)|The Sims 2 (Nintendo DS)|The Sims 2 (PSP)|The Sims 2 (GBA)|The Sims 2 (mobile) count = 5 allowcachedresults=true namespace= resultsheader=Number of Sims = %PAGES%\n noresultsheader= no matching Sims found.\n
</dpl> Riverblossom Hills <dpl>
uses=Template:Needs-headshot category=Riverblossom Hills Sims notlinksto=The Sims 2 (console)|The Sims 2 (Nintendo DS)|The Sims 2 (PSP)|The Sims 2 (GBA)|The Sims 2 (mobile) count = 5 allowcachedresults=true namespace= resultsheader=Number of Sims = %PAGES%\n noresultsheader= no matching Sims found.\n
</dpl>
Career Table
Collapsible table example
Sim biography | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Relationships
Type of relationship | Level of relationship | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
-100 | -85 | -60 | -40 | -25 | -15 | -10 | -5 | 0 | 5 | 10 | 15 | 25 | 40 | 60 | 70 | 85 | 100 | |
Inimical | Arch Enemy (<= -15) | Enemy (> -15 and < 15) | ||||||||||||||||
Amicable | Acquaintance (> -10 and < 40) | Friend (>= 40 and < 60) | Best Friend (>= 60 and < 100) | |||||||||||||||
Best Friend (>= 60 and < 85) | Best Friend Forever (>= 85 and < 100) | |||||||||||||||||
Romantic | Crush (>= 40 and < 70) | Lover (>= 70 and < 100) |
Imagemap
Colors
Color | hex | rgb | notes |
---|---|---|---|
green | #F0FBF1 | rgb(240, 251, 241) | |
green | #93F793 | rgb(147, 247, 147) | Main page green border |
green | #64B668 | rgb(100, 182, 104) | Site background, Main page green background |
green | #0A6F2F | rgb(10, 111, 47) | Main page green heading background |