Difference between revisions of "User:©TriMoon™/Sandbox"
From Salem Wiki
m (→RequiredBy: x) |
HopeSlayer (talk | contribs) |
||
Line 20: | Line 20: | ||
{{#if: {{HasProp |page=Help:Infobox/testdata |Has icon}} | {{#if: {{HasProp |page=Help:Infobox/testdata |Has icon}} | ||
| [[{{#show:Help:Infobox/testdata|?Has icon|link=none}}]] | | [[{{#show:Help:Infobox/testdata|?Has icon|link=none}}]] | ||
− | + | } | |
− | |||
− | |||
− | |||
− | |||
===Skills=== | ===Skills=== |
Revision as of 08:43, 26 October 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=== <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}}
Provided skill proficiency: | ||
---|---|---|
|
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.
- xXxxXx
- xXxxXx
- {{Infobox/List AlchemyVals}}
Provided Alchemy values: Humours - {{Infobox/List AlchemyVals|page=Crispy Cricket}}
Provided Alchemy values: Humours Heal Na Hg S Pb Blood: Phlegm: Yellow Bile: Black Bile: