Difference between revisions of "User:©TriMoon™/Sandbox"
From Salem Wiki
m (→Skills: x) |
m (→Skills: x) |
||
Line 31: | Line 31: | ||
<li>Skill values for [[User:©TriMoon™/PropVals testdata|©TriMoon™/PropVals testdata]]</li> | <li>Skill values for [[User:©TriMoon™/PropVals testdata|©TriMoon™/PropVals testdata]]</li> | ||
<li><pre> | <li><pre> | ||
− | {{# | + | {{#ask: [[{{{page|Weaving}}}]] |
− | |?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 | ||
+ | |named args=yes | ||
+ | |template=<query template> | ||
+ | |link=none | ||
}} | }} | ||
</pre> | </pre> | ||
− | {{# | + | {{#ask: [[{{{page|Weaving}}}]] |
− | |?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 | ||
+ | |named args=yes | ||
+ | |template=<query template> | ||
+ | |link=none | ||
}}</li> | }}</li> | ||
− | <li> | + | <li>{{t|Infobox/List Skillvals|page<nowiki>=</nowiki>Weaving}}<br/> |
− | {{t|Infobox/List Skillvals|page<nowiki>=</nowiki>Weaving}}<br/> | ||
{{Infobox/List Skillvals|page=Weaving}}</li> | {{Infobox/List Skillvals|page=Weaving}}</li> | ||
</ul> | </ul> |
Revision as of 22:02, 9 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
{{#ask: [[{{{page|Weaving}}}]] |?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=Weaving |#querylimit=50 |#resultoffset=0 |#rowcount=1 |1=Weaving |Arts= |Cloak= |Faith= |Frontier= |Hammer= |Hunting= |Law= |Mines= |Pots= |Sparks= |Stocks= |Sugar= |Thread= |Natural= |Perennial= |#=0
|#rownumber=1}}- {{Infobox/List Skillvals|page=Weaving}}
Provided skill proficiency: Name val
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}}