Difference between revisions of "User:©TriMoon™/Sandbox"
From Salem Wiki
m (→Querries: x) |
m (→Semantics use: another page with info on what im trying to accomplish in sub-results) |
||
Line 102: | Line 102: | ||
*[http://semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23show Help:Inline queries (Parser function #show)] | *[http://semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23show Help:Inline queries (Parser function #show)] | ||
*[http://www.mediawiki.org/wiki/Extension:StringFunctions#.23explode: Extension:StringFunctions (#explode:)] | *[http://www.mediawiki.org/wiki/Extension:StringFunctions#.23explode: Extension:StringFunctions (#explode:)] | ||
+ | *[http://smw.referata.com/wiki/List_the_set_of_unique_values_for_a_property List the set of unique values for a property] | ||
---- | ---- | ||
===Property settings=== | ===Property settings=== |
Revision as of 15:01, 20 June 2012
Infobox
Template:Infobox/debugTheme | Template:Infobox/debugTheme |
Template:Infobox/debugTheme | Template:Infobox/debugTheme |
Semantics use
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
Property settings
- isGameMenu=n
- isinGameMenu=Test
- RequiresObj=Board;6
- RequiresObj=Wooden Plugs;4
- RequiresObj=Nails;2
- RequiresObj=Lime;15;Startpost
- RequiresObj=Flint;15;Startpost
- RequiresObj=Stone;30;Startpost
- RequiresObj=Lime;8;Cornerpost
- RequiresObj=Flint;8;Cornerpost
- RequiresObj=Stone;15;Cornerpost
Querries
- {{List MenuEntries|menu=Test}}
no Non-menu entries found. ---{{#show: {{FULLPAGENAME}} |?IsinGameMenu}}---
------- Listing values for Property:RequiresObj on current page
{{#show: {{FULLPAGENAME}} |?RequiresObj |link=none |sep=<br/> }}
{{#ask: [[{{FULLPAGENAME}}]] [[RequiresObj::+]] | ?RequiresObj= |link=none |sep=<br/>{{!}} }}
- {{Split PropertyVal|part=head|val={{#show:{{FULLPAGENAME}} |?RequiresObj|link=none}}}}
- {{Split PropertyVal|part=tail|val={{#show:{{FULLPAGENAME}} |?RequiresObj|link=none}}}}
... more about "©TriMoon™/Sandbox"