Difference between revisions of "User:©TriMoon™/Sandbox"
From Salem Wiki
m (→Semantic Wiki related: x) |
m (→Skills: x) |
||
Line 118: | Line 118: | ||
===Skills=== | ===Skills=== | ||
+ | <ul> | ||
+ | <li>Skill values for [[User:©TriMoon™/PropVals testdata|©TriMoon™/PropVals testdata]]</li> | ||
+ | <li>using default <code>#show</code><br/> | ||
+ | {{#show: 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 | ||
+ | }}</li> | ||
+ | |||
+ | <li>Now lets try to get em 1-per-line<br/> | ||
+ | {{#show: User:©TriMoon™/PropVals testdata | ||
+ | |format=ul | ||
+ | |?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 | ||
+ | }}</li> | ||
+ | </ul> | ||
+ | |||
===Property:RequiredBy=== | ===Property:RequiredBy=== | ||
<ol> | <ol> |
Revision as of 19:44, 4 July 2012
Infobox
Template:Infobox/debugTheme | Template:Infobox/debugTheme |
Template:Infobox/debugTheme | Template:Infobox/debugTheme |
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|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
Property:RequiredBy
- Listing all values for Property:RequiredBy on certain page
{{#ask: [[Axe]] |?RequiredBy |link=none |format=template |template=PropVals/List RequiredBy/query template |named args=yes}}
{{PropVals/List RequiredBy/query template |#querycondition=Axe |#querylimit=50 |#resultoffset=0 |#rowcount=1 |1=Flint Axe |RequiredBy= |#=0 |#rownumber=1}}{{#ask:[[-RequiredBy::{{{page|Nails}}}]] |format=ul |limit=10 |link=none |template=PropVals/Print Entry }}