Difference between revisions of "User:©TriMoon™/Sandbox"
From Salem Wiki
m (→Property:Locations: x) |
m (→Skills: x) |
||
Line 50: | Line 50: | ||
<li>Now lets try to get em 1-per-line<br/> | <li>Now lets try to get em 1-per-line<br/> | ||
− | {{#show: | + | {{#show: Weaving |
− | |||
|?arts = Arts & Crafts | |?arts = Arts & Crafts | ||
|?cloak = Cloak & Dagger | |?cloak = Cloak & Dagger | ||
Line 67: | Line 66: | ||
|?natural = Natural Philosophy | |?natural = Natural Philosophy | ||
|?perennial = Perennial Philosophy | |?perennial = Perennial Philosophy | ||
+ | |format=template | ||
+ | |named args=yes | ||
+ | |template=<query template> | ||
+ | |link=none | ||
}}</li> | }}</li> | ||
</ul> | </ul> |
Revision as of 18:36, 8 July 2012
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}}