User:A morris/sandbox
MoS examples
<dpl>
titleregexp=[0-9]+ nottitlematch=%Player stories%|%The Sims 2%|%The Sims 3% allowcachedresults=true namespace= resultsheader=\nNumber of pages = %PAGES% of %TOTALPAGES%\n noresultsheader= \nNo matching pages found.\n
</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>
Sims - Neighborhoods & Games
<dpl>
category=Sims from The Sims (console) notcategory=SimValley Sims from The Sims (console) allowcachedresults=true namespace= resultsheader=\nSimValley Sims\nNumber of pages = %PAGES% of %TOTALPAGES%\n noresultsheader= \nNo matching pages found.\n
</dpl>
<dpl>
category=Sims from Ambitions notcategory=Twinbrook Sims allowcachedresults=true namespace= resultsheader=\nAmbitions Sims\nNumber of pages = %PAGES% of %TOTALPAGES%\n noresultsheader= \nNo matching pages found.\n
</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=\([A-Z].*\) allowcachedresults=true resultsheader = %PAGES% pages. namespace=
</dpl> Townies <dpl>
category=Sims titleregexp=\([Tt]ownie\) allowcachedresults=true namespace= resultsheader = %PAGES% pages. noresultsheader = No results.\n
</dpl> Hidden sims <dpl>
category=Sims titlematch=%(hidden) allowcachedresults=true namespace= resultsheader = %PAGES% pages.
</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 | style | notes | action |
---|---|---|---|---|---|
green | #F0FBF1 | rgb(240, 251, 241) | Color Scheme Designer | ||
green | #99FF99 | rgb(0, 127, 255) | border & text | Main page green border, h3.mpheading1 border & text | |
green | #64B668 | rgb(100, 182, 104) | background & text | Site background, Main page green background, table.mptable1 background, h3.mpheading1 small a, h3.mpheading1 .editlink a text | |
green | #0A6F2F | rgb(10, 111, 47) | background & border | Main page green heading background, h3.mpheading1 background, main page green table border | |
blue | #F2F7FF | rgb(242,247,255) | background | table.prettytable td, .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow background | Level 3 color |
blue | #D7E6FD | rgb(215,230,253) | background | th.heading2, .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title background | Level 2 color |
blue | #BFD7FF | rgb(170, 170, 170) | background & border | table.heading-blue th, .navbox-title,.navbox-abovebelow, table.navbox th, .navbox-group, .navbox-subgroup .navbox-group, .navbox-title, table.navbox th, div.NavFrame div.NavHead backgrounds, .navbox-group, .navbox-subgroup .navbox-group, table.prettytable th, th.heading2, table.prettytable th.heading2, table.prettytable td borders | Level 1 color |
blue | #99BBEE | rgb(153, 187, 238) | background | Main page blue background, table.mptable2 background | |
blue | #6495ED | rgb(100, 149, 237) | background | Main page blue heading h3.mpheading2 background | |
blue | #007FFF | rgb(0, 127, 255) | border | .roundborder | |
blue | #0000CD | rgb(0, 0, 205) | border | Main page blue border | |
blue | #344790 | rgb(0, 127, 255) | background & text | hr.mphr2 | Changed class to #264B87 |
blue | #264B87 | rgb(38,75,135) | text | th.heading2 text | |
white | #fdfdfd | rgb(253, 253, 253) | background & border | .navbox, .navbox-subgroup background, .navbox-list border | |
gray | #f7f7f7 | rgb(247, 247, 247) | background | Even row striping .navbox-even, .alt, .zebra backgrounds | |
gray | #efefef | rgb(239, 239, 239) | background | table.heading-grey th, table.heading-gray th, td.heading-grey, td.heading-gray backgrounds | Changed .alt & .zebra to #f7f7f7 |
gray | #AAAAAA | rgb(170, 170, 170) | border | wikitable & prettytable, div.Boxmerge, div.NavFrame borders |
Deceased & Widowed Sims
<dpl> category=Widowed Sims category=Deceased Sims
allowcachedresults=true namespace= resultsheader=\nSims who are categorized as widowed and deceased\nNumber of pages = %PAGES% of %TOTALPAGES%\n noresultsheader= \nNo matching pages found.\n
</dpl>