Difference between revisions of "Template:Infobox/List AlchemyVals"
From Salem Wiki
m (Humours heading) |
m (hiding columns when no relevant data) |
||
Line 12: | Line 12: | ||
--><tr class="IBheader"><!-- | --><tr class="IBheader"><!-- | ||
--><th class="IBhumour"><span>[[Humour]]s</span></th><!-- | --><th class="IBhumour"><span>[[Humour]]s</span></th><!-- | ||
− | --><th class="IBheal"><span>Heal</span></th><!-- | + | -->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?heph|?heyb|?hebb|link=none|format=list}} |
− | + | | <th class="IBheal"><span>Heal</span></th> | |
− | + | }}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?sabl|?saph|?sayb|?sabb|link=none|format=list}} | |
− | + | | <!-- http://www.webelements.com/sodium/ | |
− | + | --><th class="IBna"><span>[[Salt|Na]]</span></th> | |
+ | }}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?mebl|?meph|?meyb|?mebb|link=none|format=list}} | ||
+ | | <!-- http://www.webelements.com/mercury/ | ||
+ | --><th class="IBhg"><span>[[Mercury|Hg]]</span></th> | ||
+ | }}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?subl|?suph|?suyb|?subb|link=none|format=list}} | ||
+ | | <!-- http://www.webelements.com/sulfur/ | ||
+ | --><th class="IBs"><span>[[Sulphur|S]]</span></th> | ||
+ | }}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?lebl|?leph|?leyb|?lebb|link=none|format=list}} | ||
+ | | <!-- http://www.webelements.com/lead/ | ||
+ | --><th class="IBpb"><span>[[Lead|Pb]]</span></th> | ||
+ | }}<!-- | ||
--></tr><!-- | --></tr><!-- | ||
*** ROWS *** | *** ROWS *** |
Revision as of 22:14, 14 July 2012
Provided Alchemy values: | |
---|---|
|
Template documentation (for the template shown above, sometimes hidden or invisible)
Description
- This template is used to automatically list the Alchemy values of a page..
- This template is used by {{Infobox}}.
- See these pages for more SMW-documentation:
Syntax
- Type the below code somewhere on a page:
{{Infobox/List AlchemyVals |page= }}
- It can accept 2 named parameters:
Examples
- {{Infobox/List AlchemyVals}} gives:
Provided Alchemy values: Humours - {{Infobox/List AlchemyVals|page=Help:Infobox/testdata|collapsed=y}} gives:
Provided Alchemy values: Humours
Visit Template:Infobox/List AlchemyVals/doc to edit this text! (How does this work?)