User:A morris/sandbox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
imported>A morris (→Old parameters: OPQ) |
imported>A morris |
||
Line 1: | Line 1: | ||
== Buy types == |
== Buy types == |
||
{{t|Object}} |
|||
buy = Yes/No |
|||
<dpl> |
<dpl> |
||
uses=Template:Object |
uses=Template:Object |
||
include={object}:buy |
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 |
allowcachedresults=true |
||
</dpl> |
|||
buy /= value in {{t|GetObjectCats}} ("Buy mode", additional regexp for includenotmatch not working) |
|||
<dpl> |
|||
uses=Template:Object |
|||
include={object}:buy |
|||
namespace= |
namespace= |
||
includenotmatch=/\|\s*buy\s*=\s*[Bb]uy [Mm]ode/s,/\|\s*buy\s*=\s*[Bb]uild [Mm]ode/s,/\|\s*buy\s*=\s*[Cc]ommunity [Ll]ot/s,/\|\s*buy\s*=\s*[Ll]imited/s,/\|\s*buy\s*=\s*[Ee]dit [Tt]own [Mm]ode/s,/\|\s*buy\s*=\s*[Aa]ward/s |
|||
table= class="wikitable sortable",Object,Buy type |
|||
resultsheader=\nNumber of objects = %PAGES%\n |
|||
noresultsheader= \nNo matching objects found.\n |
|||
allowcachedresults=true |
|||
</dpl> |
</dpl> |
||
Revision as of 20:49, 12 December 2010
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}} ("Buy mode", additional regexp for includenotmatch not working)
<dpl>
uses=Template:Object include={object}:buy namespace= includenotmatch=/\|\s*buy\s*=\s*[Bb]uy [Mm]ode/s,/\|\s*buy\s*=\s*[Bb]uild [Mm]ode/s,/\|\s*buy\s*=\s*[Cc]ommunity [Ll]ot/s,/\|\s*buy\s*=\s*[Ll]imited/s,/\|\s*buy\s*=\s*[Ee]dit [Tt]own [Mm]ode/s,/\|\s*buy\s*=\s*[Aa]ward/s 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 titlematch=%(Child)|%(Nanny)|%(Gardener)|%(Newspaper Delivery)|%(Delivery Girl)|%(Maid)|%(Babysitter)|%(Burglar) allowcachedresults=true namespace=
</dpl> Townies <dpl>
category=Sims titlematch=%(Townie) allowcachedresults=true namespace=
</dpl>
Old parameters
Sim favorites <dpl>
uses=Template:Sim3|Template:Simbio3 include={Sim3}:favorites,{Simbio3}:favorites titlematch=O%|P%|Q% allowcachedresults=true namespace= table= class="wikitable sortable",,favorites,favorites ordermethod = title
</dpl> Sim traits <dpl>
uses=Template:Sim3|Template:Simbio3 titlematch=O%|P%|Q% include={Sim3}:traits,{Simbio3}:traits table= class="wikitable sortable",,traits,traits ordermethod = title allowcachedresults=true namespace=
</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) |