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

From Salem Wiki
Jump to: navigation, search
 
Line 5: Line 5:
  
 
fe. [[Blazing Brazier]], would need:
 
fe. [[Blazing Brazier]], would need:
*isGameMenu=n
+
*isGameMenu
*isinGameMenu=Claims & Defenses
 
;See these pages for documentation:
 
*[http://semantic-mediawiki.org/wiki/Help:Selecting_pages Help:Selecting pages]
 
*[http://semantic-mediawiki.org/wiki/Help:Displaying_information Help:Displaying information]
 
*[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://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]
 
----
 
__SHOWFACTBOX__
 
 
===HasProp===
 
===HasProp===
 
<pre>
 
<pre>

Latest revision as of 08:44, 26 October 2012

Semantic Wiki related

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

HasProp

{{#if: {{HasProp |page=Help:Infobox/testdata |Has icon}}
| [[{{#show:Help:Infobox/testdata|?Has icon|link=none}}]]
}

===Skills===
<ul>
<li>Skill values for [[Help:Infobox/testdata|Infobox/testdata]]</li>
<li><pre>
{{#ask: [[{{{page|Weaving}}}]]
|?arts
|?cloak
|?faith
|?frontier
|?hammer
|?hunting
|?law
|?mines
|?pots
|?sparks
|?stocks
|?sugar
|?thread
|?natural
|?perennial
|format=template
|named args=yes
|userparam=test
|template=<query template>
|link=none
}}

{{<query template> |#userparam=test |#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:
    Nameval
  • Property:Locations

    1. Listing all values for Property:Locations on certain page
      1. {{#ask: [[{{{page|Help:Infobox/testdata}}}]] |?Locations |link=none}}
         Locations
        Help:Infobox/testdata
      2. {{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none}}
      3. {{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none |format=ul |template=List Locations/query template}}
      4. {{List Locations|page=Help:Infobox/testdata}}

    Alchemical values