Difference between revisions of "User:©TriMoon™/Sandbox"

From Salem Wiki
Jump to: navigation, search
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

{{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

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

  1. {{List MenuEntries|menu=Test}}
    no Non-menu entries found.
  2. ---{{#show: {{FULLPAGENAME}} |?IsinGameMenu}}---
    ------
  3. 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"
Board;6 +, Wooden Plugs;4 +, Nails;2 +, Lime;15;Startpost +, Flint;15;Startpost +, Stone;30;Startpost +, Lime;8;Cornerpost +, Flint;8;Cornerpost +, Stone;15;Cornerpost +  and + +