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 | style | notes |
---|---|---|---|---|
green | #F0FBF1 | rgb(240, 251, 241) | Color Scheme Designer | |
green | #93F793 | rgb(147, 247, 147) | border | Main page green border |
green | #64B668 | rgb(100, 182, 104) | background | Site background, Main page green background |
green | #0A6F2F | rgb(10, 111, 47) | background | Main page green heading background |
blue | #EEF4FD | rgb(238, 244, 253) | Color Scheme Designer | |
blue | #99BBEE | rgb(153, 187, 238) | background | Main page blue background |
blue | #6495ED | rgb(100, 149, 237) | background | Main page blue heading background |
blue | #0000CD | rgb(0, 0, 205) | border | Main page blue border |
blue | #344790 | rgb(52, 71, 144) | border | My design blue hr |
blue | #325C9B | rgb(52, 71, 144) | Color Scheme Designer | |
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 backgrounds, .navbox-group, .navbox-subgroup .navbox-group borders |
gray | #AAAAAA | rgb(170, 170, 170) | border | wikitable & prettytable, div.Boxmerge, div.NavFrame borders |
gray | #efefef | rgb(239, 239, 239) | background | table.heading-grey th, table.heading-gray th, td.heading-grey, td.heading-gray, .alt, .zebra backgrounds |
blue | #A7C7FA | rgb(167,199,250) | border | table.prettytable th, th.heading2, table.prettytable th.heading2, table.prettytable td borders |
white | #fdfdfd | rgb(253, 253, 253) | background & border | .navbox, .navbox-subgroup background, .navbox-list border |
purple | #ccccff | rgb(204, 204, 255) | background | Level 1 color .navbox-title, table.navbox th, div.NavFrame div.NavHead backgrounds |
purple | #ddddff | rgb(204, 204, 255) | background | Level 2 color .navbox-abovebelow,
.navbox-subgroup .navbox-title background |
purple | #e6e6ff | rgb(230, 230, 255) | background | Level 3 color .navbox-subgroup .navbox-abovebelow background |
gray | #f7f7f7 | rgb(247, 247, 247) | background | Even row striping .navbox-even background |
blue | #007FFF | rgb(0, 127, 255) | border | .roundborder |