Difference between revisions of "User:©TriMoon™/Sandbox"
From Salem Wiki
m (→Property:Locations: x) |
m (→Property:Locations: x) |
||
Line 73: | Line 73: | ||
<ol> | <ol> | ||
<li>Listing all values for [[Property:Locations]] on certain page<ol type="a"> | <li>Listing all values for [[Property:Locations]] on certain page<ol type="a"> | ||
+ | <li><code><nowiki>{{#ask: [[{{{page|User:©TriMoon™/PropVals testdata}}}]] |?Locations |link=none}}</nowiki></code><br/>{{#ask: [[{{{page|User:©TriMoon™/PropVals testdata}}}]] |?Locations |link=none}}</li> | ||
<li><code><nowiki>{{#ask: [[-Locations::{{{page|User:©TriMoon™/PropVals testdata}}}]] |link=none}}</nowiki></code><br/>{{#ask: [[-Locations::{{{page|User:©TriMoon™/PropVals testdata}}}]] |link=none}}</li> | <li><code><nowiki>{{#ask: [[-Locations::{{{page|User:©TriMoon™/PropVals testdata}}}]] |link=none}}</nowiki></code><br/>{{#ask: [[-Locations::{{{page|User:©TriMoon™/PropVals testdata}}}]] |link=none}}</li> | ||
<li><pre> | <li><pre> |
Revision as of 04:23, 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
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}}
<ul>{{#arraymap: {{#ask: [[-Locations::{{{page|User:©TriMoon™/PropVals testdata}}}]] |link=none}} |, |xXx |<li>[[Image:{{#replace:xXx|#|_}}.png{{!}}30px{{!}}link=xXx]] [[xXx{{!}}{{#explode:xXx|#|-1}}]]</li> |}}</ul>