Sandbox

__NEWSECTIONLINK__
==Haven and Hearth==
2+2 = (\frac{8}{2 * \sin{\frac{\pi}{2}}})
<math>2+2 = (\frac{8}{2 * \sin{\frac{\pi}{2}}})</math>
== TreeDataTest ==
Thinking/looking into Record type usage, and if it might work for storing tree resource data (per tree level).
Related pages: (to be created ... taking some additional time to give it some more thought.)
* Sandbox/TT1/TreeData1 (data, template caller)
* Sandbox/TT1/TreeData2 (data, template caller)
* Sandbox/TT1/TreeData3 (data, template caller)
* Sandbox/TT1/TreeTpl (template/code)
* Property:SBtt1_TreeLevel1 (Number) (Record support property page)
* Property:SBtt1_TreeLevel2 ...
* Property:SBtt1_TreeLevel3 ...
* Property:SBtt1_TreeLevel4 ...
* Property:SBtt1_TreeLevel5 ...
* Property:SBtt1_TreeLevel6 ... (annoying, but seems to be needed) (when working, check if that's true)
* Property:SBtt1_TreeBranch (Record) (branch count per tree level)
* Property:SBtt1_TreeBough (Record) (bough count, no differentiation in item(bough) type.)
* Property:SBtt1_TreeSeed (Record) ... (not needed for test case)
* Property:SBtt1_TreeBark (Record) ... (not needed for test case)
* Property:SBtt1_TreeChop (Record) Ok, here I have a problem. Have not figured out a way to get the resource type included (Branch, Block, Log, or Nothing). (not activated)
Page Content:
TreeLevel<N>: [[Has type::Number]]
Tree<ActionType>:[[Has type::Record]]
[[Has fields::TreeLevel1; TreeLevel2; TreeLevel3; TreeLevel4; TreeLevel5; TreeLevel6]]
TreeData<N>:
{{:Sandbox/TT1/TreeTpl
| TreeBranch = 1;2;3;4;5;6
| TreeBough = ...
| TreeBark = ...
| TreeSeed = ...
| TreeChop = ???
}}
TreeTpl: (base code)
<includeonly>
{{#if: {{{TreeBranch}}} | [[SBtt1_TreeBranch::{{{TreeBranch}}}]] }}
{{#if: {{{TreeBough}}} | [[SBtt1_TreeBough::{{{TreeBough}}}]] }}
{{#if: {{{TreeBark}}} | [[SBtt1_TreeBark::{{{TreeBark}}}]] }}
{{#if: {{{TreeSeed}}} | [[SBtt1_TreeSeed::{{{TreeSeed}}}]] }}
{{#if: {{{TreeChop}}} | [[SBtt1_TreeChop::{{{TreeChop}}}]] }}
</includeonly>
Ask query(s):
Implemented initial testcase setup. ... Back to thinking. (experiment if you like) --.MvGulik. 21:03, 1 October 2013 (EDT)
== I template ==
Shamelessly copied from Salem wiki.
Pre documentation stuff
{{#ask:[[specific::Bar of Common Metal]]
|format=ol
|template=I
|link=none
}}
or
{{#ask:[[specific::Bar of Common Metal]]|format=ol|template=I|link=none}}
{{i|NoneExistingFile}}
 foobar (default link to image file/page, no popup)
 foobar (no link on image)
 foobar (target page link on image, but also with popup-text on image.)
Link: using link always generate a image popup text.
- "*|link=fooling|]]" or "*|link=fooling| ]]" don't work here.
- and "*|link=fooling| ]]" generates a blank(single space) popup.
Note: Almost forgot. With the newer version of mediawiki running RoB now it seems to not show blank-space only popups anymore. Well, at least for the image mouse-over popup.