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)
m (→‎Semantics use: another page with info on what im trying to accomplish in sub-results)
Line 103: Line 103:
 
*[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]
 
*[http://smw.referata.com/wiki/List_the_set_of_unique_values_for_a_property List the set of unique values for a property]
 +
*[http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Semantic_Forms_and_templates#Multiple_values_for_the_same_field Multiple values for the same field]
 
----
 
----
 
===Property settings===
 
===Property settings===

Revision as of 15:35, 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 + +