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

From Salem Wiki
Jump to: navigation, search
(Created page with ";{{t|infobox}} :Default theme: {{infobox |type=1 |page={{PAGENAME}} |name={{{name|}}} |icon={{{icon|}}} |caption={{{caption|}}} |image={{{image|}}} |inlineTheme={{{inlineTheme...")
 
 
(190 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;{{t|infobox}}
+
{{tocright}}
:Default theme:
+
==Semantic Wiki related==
{{infobox
+
Lets try to describe properties of [[:Category:Objects|Objects]] using their placement in the game-menus to aid in later auto-categorization....
|type=1
+
:See [[Property:IsinGameMenu]] for current menu-names.
|page={{PAGENAME}}
+
 
|name={{{name|}}}
+
fe. [[Blazing Brazier]], would need:
|icon={{{icon|}}}
+
*isGameMenu
|caption={{{caption|}}}
+
===HasProp===
|image={{{image|}}}
+
<pre>
|inlineTheme={{{inlineTheme|yes}}}
+
{{#if: {{HasProp |page=Help:Infobox/testdata |Has icon}}
|inlineThemeBorderColor={{{inlineThemeBorderColor|}}}
+
| [[{{#show:Help:Infobox/testdata|?Has icon|link=none}}]]
|inlineThemeColor1={{{inlineThemeColor1|}}}
+
}
|inlineThemeColor2={{{inlineThemeColor2|}}}
+
 
|inlineThemeColor3={{{inlineThemeColor3|}}}
+
===Skills===
|inlineThemeBkgColor1={{{inlineThemeBkgColor1|}}}
+
<ul>
|inlineThemeBkgColor2={{{inlineThemeBkgColor2|}}}
+
<li>Skill values for [[Help:Infobox/testdata|Infobox/testdata]]</li>
|inlineThemeBkgColor3={{{inlineThemeBkgColor3|}}}
+
<li><pre>
|inlineThemeBkgColor4={{{inlineThemeBkgColor4|}}}
+
{{#ask: [[{{{page|Weaving}}}]]
|inlineThemeBkgColor5={{{inlineThemeBkgColor5|}}}
+
|?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
 
}}
 
}}
 +
</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
 +
}}</li>
 +
 +
<li>{{t|Infobox/List Skillvals|page<nowiki>=</nowiki>Weaving}}<br/>
 +
{{Infobox/List Skillvals|page=Weaving}}</li>
 +
</ul>
 +
 +
===Property:Locations===
 +
<ol>
 +
<li>Listing all values for [[Property:Locations]] on certain page<ol type="a">
 +
<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|Help:Infobox/testdata}}}]] |link=none}}</nowiki></code><br/>{{#ask: [[-Locations::{{{page|Help:Infobox/testdata}}}]] |link=none}}</li>
 +
<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>Help:Infobox/testdata}}<br/>{{List Locations}}</li>
 +
</ol></li>
 +
</ol>
 +
===Alchemical values===
 +
*See {{t|Infobox Food}} for old (current) implementation.
 +
*xXx{{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?sabl|?mebl|?subl|?lebl|link=none|format=list}}xXx
 +
*xXx{{#show:{{{page|Crispy Cricket}}}|?hebl|?sabl|?mebl|?subl|?lebl|link=none|format=list}}xXx
 +
*{{t|Infobox/List AlchemyVals}}{{Infobox/List AlchemyVals}}
 +
*{{t|Infobox/List AlchemyVals|page<nowiki>=</nowiki>Crispy Cricket}}{{Infobox/List AlchemyVals|page=Crispy Cricket}}

Latest revision as of 08:44, 26 October 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

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

  • {{Infobox/List Skillvals|page=Weaving}}
    Provided skill proficiency:
    Nameval
  • Property:Locations

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

    Alchemical values