Difference between revisions of "User:©TriMoon™/Sandbox"
From Salem Wiki
m (→Alchemical values: x) |
m (→Semantic Wiki related: x) |
||
Line 19: | Line 19: | ||
===HasProp=== | ===HasProp=== | ||
<pre> | <pre> | ||
− | {{#if: {{HasProp |page= | + | {{#if: {{HasProp |page=Help:Infobox/testdata |Has icon}} |
− | | [[{{#show: | + | | [[{{#show:Help:Infobox/testdata|?Has icon|link=none}}]] |
}} | }} | ||
</pre> | </pre> | ||
− | {{#if: {{HasProp |page= | + | {{#if: {{HasProp |page=Help:Infobox/testdata |Has icon}} |
− | | [[{{#show: | + | | [[{{#show:Help:Infobox/testdata|?Has icon|link=none}}]] |
}} | }} | ||
===Skills=== | ===Skills=== | ||
<ul> | <ul> | ||
− | <li>Skill values for [[ | + | <li>Skill values for [[Help:Infobox/testdata|Infobox/testdata]]</li> |
<li><pre> | <li><pre> | ||
{{#ask: [[{{{page|Weaving}}}]] | {{#ask: [[{{{page|Weaving}}}]] | ||
Line 82: | Line 82: | ||
<ol> | <ol> | ||
<li>Listing all values for [[Property:Locations]] on certain page<ol type="a"> | <li>Listing all values for [[Property:Locations]] on certain page<ol type="a"> | ||
− | <li><code><nowiki>{{#ask: [[{{{page| | + | <li><code><nowiki>{{#ask: [[{{{page|Help:Infobox/testdata}}}]] |?Locations |link=none}}</nowiki></code><br/>{{#ask: [[{{{page|Help:Infobox/testdata}}}]] |?Locations |link=none}}</li> |
− | <li><code><nowiki>{{#ask: [[-Locations::{{{page| | + | <li><code><nowiki>{{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none}}</nowiki></code><br/>{{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none}}</li> |
− | <li><code><nowiki>{{#ask: [[-Locations::{{{page| | + | <li><code><nowiki>{{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none |format=ul |template=List Locations/query template}}</nowiki></code><br/>{{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none |format=ul |template=List Locations/query template}}</li> |
− | <li>{{t|List Locations|page<nowiki>=</nowiki> | + | <li>{{t|List Locations|page<nowiki>=</nowiki>Help:Infobox/testdata}}<br/>{{List Locations}}</li> |
</ol></li> | </ol></li> | ||
</ol> | </ol> | ||
===Alchemical values=== | ===Alchemical values=== | ||
*See {{t|Infobox Food}} for old (current) implementation. | *See {{t|Infobox Food}} for old (current) implementation. |
Revision as of 07:40, 14 July 2012
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
- Help:Selecting pages
- Help:Displaying information
- Help:Inline queries (Parser function #show)
- Extension:StringFunctions (#explode:)
- List the set of unique values for a property
- Multiple values for the same field
HasProp
{{#if: {{HasProp |page=Help:Infobox/testdata |Has icon}} | [[{{#show:Help:Infobox/testdata|?Has icon|link=none}}]] }}
Skills
- Skill values for Infobox/testdata
{{#ask: [[{{{page|Weaving}}}]] |?arts |?cloak |?faith |?frontier |?hammer |?hunting |?law |?mines |?pots |?sparks |?stocks |?sugar |?thread |?natural |?perennial |format=template |named args=yes |template=<query template> |link=none }}
{{<query template> |#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: Name val
Property:Locations
- Listing all values for Property:Locations on certain page
{{#ask: [[{{{page|Help:Infobox/testdata}}}]] |?Locations |link=none}}
Locations Help:Infobox/testdata {{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none}}
{{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none |format=ul |template=List Locations/query template}}
- {{List Locations|page=Help:Infobox/testdata}}
Alchemical values
- See {{Infobox Food}} for old (current) implementation.