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

From Salem Wiki
Jump to: navigation, search
Line 68: Line 68:
  
 
<li>Now lets try to get em 1-per-line, '''don't''' use <code>#show</code> !<br/>
 
<li>Now lets try to get em 1-per-line, '''don't''' use <code>#show</code> !<br/>
<pre>
+
{{t|Infobox/List Skillvals}}<br/>
{{#ask: [[{{{page|User:©TriMoon™/PropVals testdata}}}]]
+
{{Infobox/List Skillvals}}</li>
|?arts
 
|?cloak
 
|?faith
 
|?frontier
 
|?hammer
 
|?hunting
 
|?law
 
|?mines
 
|?pots
 
|?sparks
 
|?stocks
 
|?sugar
 
|?thread
 
|?natural
 
|?perennial
 
|format=template
 
|named args=yes
 
|template=&lt;query template&gt;
 
|link=none
 
}}
 
</pre>
 
{{#ask: [[{{{page|User:©TriMoon™/PropVals testdata}}}]]
 
|?arts
 
|?cloak
 
|?faith
 
|?frontier
 
|?hammer
 
|?hunting
 
|?law
 
|?mines
 
|?pots
 
|?sparks
 
|?stocks
 
|?sugar
 
|?thread
 
|?natural
 
|?perennial
 
|format=template
 
|named args=yes
 
|template=&lt;query template&gt;
 
|link=none
 
}}</li>
 
 
</ul>
 
</ul>
  

Revision as of 19:25, 8 July 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=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

  • Skill values for ©TriMoon™/PropVals testdata
  • {{#show: {{{page|User:©TriMoon™/PropVals testdata}}}
    |?arts = Arts & Crafts
    |?cloak = Cloak & Dagger
    |?faith = Faith & Wisdom
    |?frontier = Frontier & Wilderness
    |?hammer = Hammer & Nail
    |?hunting = Hunting & Gathering
    |?law = Law & Lore
    |?mines = Mines & Mountains
    |?pots = Pots & Pans
    |?sparks = Sparks & Embers
    |?stocks = Stocks & Cultivars
    |?sugar = Sugar & Spice
    |?thread = Thread & Needle
    |?natural = Natural Philosophy
    |?perennial = Perennial Philosophy
    }}
    
  • Now lets try to get em 1-per-line, don't use #show !
    {{Infobox/List Skillvals}}
    Provided skill proficiency:
    Nameval

Property:Locations

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