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

From Salem Wiki
Jump to: navigation, search
Line 117: Line 117:
 
}}
 
}}
  
===Property:RequiresTech===
 
<ol>
 
<li>Listing pages using [[Property:RequiresTech]]<ol type="a">
 
<li><code><nowiki>{{#ask: [[RequiresTech::+]] }}</nowiki></code><br/>{{#ask:[[RequiresTech::+]] |format=ul}}</li>
 
<li><code><nowiki>{{#ask: [[:+]] [[RequiresTech::+]] }}</nowiki></code><br/>{{#ask: [[:+]] [[RequiresTech::+]] |format=ul}}</li>
 
<li>Listing values for [[Property:RequiresTech]] on current [[User:©TriMoon™/PropVals testdata|test data page]]<ol type="i">
 
<li>{{t|PropVals|prop<nowiki>=</nowiki>RequiresTech|page<nowiki>=</nowiki>User:©TriMoon™/PropVals testdata}} gives:<br/>{{PropVals|prop=RequiresTech|page=User:©TriMoon™/PropVals testdata}}</li>
 
</ol></li>
 
</ol></li>
 
</ol>
 
 
===Property:RequiredBy===
 
===Property:RequiredBy===
 
<ol>
 
<ol>

Revision as of 19:23, 4 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|Has icon}}
| [[{{#show:User:©TriMoon™/PropVals testdata|?Has icon|link=none}}]]
}}


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