Difference between revisions of "User:©TriMoon™/Sandbox"
From Salem Wiki
m (→Skills: x) |
m (→Skills: x) |
||
Line 67: | Line 67: | ||
}}</li> | }}</li> | ||
− | <li>Now lets try to get em 1-per-line<br/> | + | <li>Now lets try to get em 1-per-line, '''don't''' use <code>#show</code> !<br/> |
<pre> | <pre> | ||
− | {{# | + | {{#ask: [[{{{page|User:©TriMoon™/PropVals testdata}}}]] |
− | + | |?arts | |
− | |?arts | + | |?cloak |
− | |?cloak | + | |?faith |
− | |?faith | + | |?frontier |
− | |?frontier | + | |?hammer |
− | |?hammer | + | |?hunting |
− | |?hunting | + | |?law |
− | |?law | + | |?mines |
− | |?mines | + | |?pots |
− | |?pots | + | |?sparks |
− | |?sparks | + | |?stocks |
− | |?stocks | + | |?sugar |
− | |?sugar | + | |?thread |
− | |?thread | + | |?natural |
− | |?natural | + | |?perennial |
− | |?perennial | ||
|format=template | |format=template | ||
|named args=yes | |named args=yes | ||
Line 92: | Line 91: | ||
}} | }} | ||
</pre> | </pre> | ||
− | {{# | + | {{#ask: [[{{{page|User:©TriMoon™/PropVals testdata}}}]] |
− | + | |?arts | |
− | |?arts | + | |?cloak |
− | |?cloak | + | |?faith |
− | |?faith | + | |?frontier |
− | |?frontier | + | |?hammer |
− | |?hammer | + | |?hunting |
− | |?hunting | + | |?law |
− | |?law | + | |?mines |
− | |?mines | + | |?pots |
− | |?pots | + | |?sparks |
− | |?sparks | + | |?stocks |
− | |?stocks | + | |?sugar |
− | |?sugar | + | |?thread |
− | |?thread | + | |?natural |
− | |?natural | + | |?perennial |
− | |?perennial | ||
|format=template | |format=template | ||
|named args=yes | |named args=yes |
Revision as of 18:58, 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
{{#show: {{{page|User:©TriMoon™/PropVals testdata}}} |?arts = Arts & Crafts |?cloak = Cloak & Dagger |?faith = Faith & Wisdom |?frontier = Frontier & Wilderness |?hammer = Hammer & Nail |?hunting = Hunting & Gathering |?law = Law & Lore |?mines = Mines & Mountains |?pots = Pots & Pans |?sparks = Sparks & Embers |?stocks = Stocks & Cultivars |?sugar = Sugar & Spice |?thread = Thread & Needle |?natural = Natural Philosophy |?perennial = Perennial Philosophy }}
- Now lets try to get em 1-per-line, don't use
#show
!
{{#ask: [[{{{page|User:©TriMoon™/PropVals testdata}}}]] |?arts |?cloak |?faith |?frontier |?hammer |?hunting |?law |?mines |?pots |?sparks |?stocks |?sugar |?thread |?natural |?perennial |format=template |named args=yes |template=<query template> |link=none }}
{{<query template> |#querycondition=User:©TriMoon™/PropVals testdata |#querylimit=50 |#resultoffset=0 |#rowcount=1 |1=Help:Infobox/testdata |Arts= |Cloak= |Faith= |Frontier= |Hammer= |Hunting= |Law= |Mines= |Pots= |Sparks= |Stocks= |Sugar= |Thread= |Natural= |Perennial= |#=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}}