User:©TriMoon™/Sandbox
From Salem Wiki
Lets try to describe properties of Objects using their placement in the game-menus to aid in later auto-categorization....
- See Property:IsinGameMenu for current menu-names.
fe. Blazing Brazier, would need:
- isGameMenu=n
- isinGameMenu=Claims & Defenses
- See these pages for documentation
- Help:Selecting pages
- Help:Displaying information
- Help:Inline queries (Parser function #show)
- Extension:StringFunctions (#explode:)
- List the set of unique values for a property
- Multiple values for the same field
HasProp
{{#if: {{HasProp |page=User:©TriMoon™/PropVals testdata |Has icon}} | [[{{#show:User:©TriMoon™/PropVals testdata|?Has icon|link=none}}]] }}
Skills
- Skill values for ©TriMoon™/PropVals testdata
- using default
#show
- Now lets try to get em 1-per-line
{{<query template> |#querycondition=Weaving |#querylimit=50 |#resultoffset=0 |#rowcount=1 |Arts & Crafts= |Cloak & Dagger= |Faith & Wisdom= |Frontier & Wilderness= |Hammer & Nail= |Hunting & Gathering= |Law & Lore= |Mines & Mountains= |Pots & Pans= |Sparks & Embers= |Stocks & Cultivars= |Sugar & Spice= |Thread & Needle= |Natural Philosophy= |Perennial Philosophy= |#=0 |#rownumber=1}}
Property:Locations
- Listing all values for Property:Locations on certain page
{{#ask: [[{{{page|User:©TriMoon™/PropVals testdata}}}]] |?Locations |link=none}}
Locations Help:Infobox/testdata {{#ask: [[-Locations::{{{page|User:©TriMoon™/PropVals testdata}}}]] |link=none}}
{{#ask: [[-Locations::{{{page|User:©TriMoon™/PropVals testdata}}}]] |link=none |format=ul |template=List Locations/query template}}
- {{List Locations|page=User:©TriMoon™/PropVals testdata}}