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

From Salem Wiki
Jump to: navigation, search
Line 109: Line 109:
 
===HasProp===
 
===HasProp===
 
<pre>
 
<pre>
{{#if: {{HasProp|Has icon}}
+
{{#if: {{HasProp |page=User:©TriMoon™/PropVals testdata |Has icon}}
 
| [[{{#show:User:©TriMoon™/PropVals testdata|?Has icon|link=none}}]]
 
| [[{{#show:User:©TriMoon™/PropVals testdata|?Has icon|link=none}}]]
 
}}
 
}}
 
</pre>
 
</pre>
{{#if: {{HasProp|Has icon}}
+
{{#if: {{HasProp |page=User:©TriMoon™/PropVals testdata |Has icon}}
 
| [[{{#show:User:©TriMoon™/PropVals testdata|?Has icon|link=none}}]]
 
| [[{{#show:User:©TriMoon™/PropVals testdata|?Has icon|link=none}}]]
 
}}
 
}}

Revision as of 19:06, 5 July 2012

Infobox

{{infobox}}:
Template:Infobox/debugTheme Template:Infobox/debugTheme
Template:Infobox/debugTheme Template:Infobox/debugTheme

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=n
  • isinGameMenu=Claims & Defenses
See these pages for documentation


HasProp

{{#if: {{HasProp |page=User:©TriMoon™/PropVals testdata |Has icon}}
| [[{{#show:User:©TriMoon™/PropVals testdata|?Has icon|link=none}}]]
}}


Skills

Property:RequiredBy

  1. Listing all values for Property:RequiredBy on certain page
    1. {{#ask: [[Axe]] |?RequiredBy |link=none |format=template |template=PropVals/List RequiredBy/query template |named args=yes}}
      {{PropVals/List RequiredBy/query template |#querycondition=Axe |#querylimit=50 |#resultoffset=0 |#rowcount=1 |1=Flint Axe |RequiredBy= |#=0 |#rownumber=1}}
    2. {{#ask:[[-RequiredBy::{{{page|Nails}}}]]
      |format=ul
      |limit=10
      |link=none
      |template=PropVals/Print Entry
      }}