User:A morris/sandbox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
imported>A morris |
imported>A morris mNo edit summary |
||
Line 6: | Line 6: | ||
namespace= |
namespace= |
||
</dpl> |
</dpl> |
||
== Table styles == |
|||
== Buy types == |
== Buy types == |
Revision as of 02:36, 17 February 2011
MoS examples
<dpl>
titleregexp=[;:'"?!.]$ allowcachedresults=true namespace=
</dpl>
Table styles
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) |