Difference between revisions of "Template:Infobox/List AlchemyVals"

From Salem Wiki
Jump to: navigation, search
m (Adding code)
m (Protected "Template:Infobox/List AlchemyVals": Key feature of wiki ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude><!--
 
<onlyinclude><!--
--><table class="Infobox mw-collapsible mw-collapsed" style="float:none;"><!--
+
--><table class="Infobox mw-collapsible {{#ifeq: {{{collapsed|no}}} | no | | mw-collapsed}}" style="float:none;"><!--
 
--><tr class="IBheader"><!--
 
--><tr class="IBheader"><!--
 
--><th><!--
 
--><th><!--
Line 11: Line 11:
 
*** HEADER ***
 
*** HEADER ***
 
--><tr class="IBheader"><!--
 
--><tr class="IBheader"><!--
--><th class="unsortable"></th><!--
+
--><th class="IBhumour"><span>[[Humour]]s</span></th><!--
--><th class="IBbl"><span>[[Blood]]</span></th><!--
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?heph|?heyb|?hebb|link=none|format=list}}
--><th class="IBph"><span>[[Phlegm]]</span></th><!--
+
| <th class="IBheal"><span>Heal</span></th>
--><th class="IByb"><span>[[Yellow Bile]]</span></th><!--
+
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?sabl|?saph|?sayb|?sabb|link=none|format=list}}
--><th class="IBbb"><span>[[Black Bile]]</span></th><!--
+
| <!-- 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 ***
-->{{#if: x
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?sabl|?mebl|?subl|?lebl|link=none|format=list}}
| <tr class="IBinfo"><!--
+
| <tr class="IBinfo IBblood"><!--
--><th class="IBleft">Heals:</th><!--
+
--><th class="IBhumour IBblood">[[Blood]]:</th><!--
--><td class="IBrightC"></td><!--
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?heph|?heyb|?hebb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBblood IBheal">{{#show:{{{page|Help:Infobox/testdata}}}|?hebl|link=none}}</td>
--><td class="IBrightC"></td><!--
+
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?sabl|?saph|?sayb|?sabb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBblood IBna">{{#show:{{{page|Help:Infobox/testdata}}}|?sabl|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?mebl|?meph|?meyb|?mebb|link=none|format=list}}
 +
| <td class="IBblood IBhg">{{#show:{{{page|Help:Infobox/testdata}}}|?mebl|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?subl|?suph|?suyb|?subb|link=none|format=list}}
 +
| <td class="IBblood IBs">{{#show:{{{page|Help:Infobox/testdata}}}|?subl|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?lebl|?leph|?leyb|?lebb|link=none|format=list}}
 +
| <td class="IBblood IBpb">{{#show:{{{page|Help:Infobox/testdata}}}|?lebl|link=none}}</td>
 +
}}<!--
 
--></tr>
 
--></tr>
 
}}<!--
 
}}<!--
-->{{#if: x
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?heph|?saph|?meph|?suph|?leph|link=none|format=list}}
| <tr class="IBinfo"><!--
+
| <tr class="IBinfo IBphlegm"><!--
--><th class="IBleft">[[Salt]]:</th><!--
+
--><th class="IBhumour IBphlegm">[[Phlegm]]:</th><!--
--><td class="IBrightC"></td><!--
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?heph|?heyb|?hebb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBphlegm IBheal">{{#show:{{{page|Help:Infobox/testdata}}}|?heph|link=none}}</td>
--><td class="IBrightC"></td><!--
+
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?sabl|?saph|?sayb|?sabb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBphlegm IBna">{{#show:{{{page|Help:Infobox/testdata}}}|?saph|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?mebl|?meph|?meyb|?mebb|link=none|format=list}}
 +
| <td class="IBphlegm IBhg">{{#show:{{{page|Help:Infobox/testdata}}}|?meph|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?subl|?suph|?suyb|?subb|link=none|format=list}}
 +
| <td class="IBphlegm IBs">{{#show:{{{page|Help:Infobox/testdata}}}|?suph|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?lebl|?leph|?leyb|?lebb|link=none|format=list}}
 +
| <td class="IBphlegm IBpb">{{#show:{{{page|Help:Infobox/testdata}}}|?leph|link=none}}</td>
 +
}}<!--
 
--></tr>
 
--></tr>
 
}}<!--
 
}}<!--
-->{{#if: x
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?heyb|?sayb|?meyb|?suyb|?leyb|link=none|format=list}}
| <tr class="IBinfo"><!--
+
| <tr class="IBinfo IBybile"><!--
--><th class="IBleft">[[Mercury]]:</th><!--
+
--><th class="IBhumour IBybile">[[Yellow Bile]]:</th><!--
--><td class="IBrightC"></td><!--
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?heph|?heyb|?hebb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBybile IBheal">{{#show:{{{page|Help:Infobox/testdata}}}|?heyb|link=none}}</td>
--><td class="IBrightC"></td><!--
+
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?sabl|?saph|?sayb|?sabb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBybile IBna">{{#show:{{{page|Help:Infobox/testdata}}}|?sayb|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?mebl|?meph|?meyb|?mebb|link=none|format=list}}
 +
| <td class="IBybile IBhg">{{#show:{{{page|Help:Infobox/testdata}}}|?meyb|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?subl|?suph|?suyb|?subb|link=none|format=list}}
 +
| <td class="IBybile IBs">{{#show:{{{page|Help:Infobox/testdata}}}|?suyb|link=none}}</td>
 +
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?lebl|?leph|?leyb|?lebb|link=none|format=list}}
 +
| <td class="IBybile IBpb">{{#show:{{{page|Help:Infobox/testdata}}}|?leyb|link=none}}</td>
 +
}}<!--
 
--></tr>
 
--></tr>
 
}}<!--
 
}}<!--
-->{{#if: x
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebb|?sabb|?mebb|?subb|?lebb|link=none|format=list}}
| <tr class="IBinfo"><!--
+
| <tr class="IBinfo IBbbile"><!--
--><th class="IBleft">[[Sulphur]]:</th><!--
+
--><th class="IBhumour IBbbile">[[Black Bile]]:</th><!--
--><td class="IBrightC"></td><!--
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?heph|?heyb|?hebb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBbbile IBheal">{{#show:{{{page|Help:Infobox/testdata}}}|?hebb|link=none}}</td>
--><td class="IBrightC"></td><!--
+
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?sabl|?saph|?sayb|?sabb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBbbile IBna">{{#show:{{{page|Help:Infobox/testdata}}}|?sabb|link=none}}</td>
--></tr>
+
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?mebl|?meph|?meyb|?mebb|link=none|format=list}}
}}<!--
+
| <td class="IBbbile IBhg">{{#show:{{{page|Help:Infobox/testdata}}}|?mebb|link=none}}</td>
-->{{#if: x
+
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?subl|?suph|?suyb|?subb|link=none|format=list}}
| <tr class="IBinfo"><!--
+
| <td class="IBbbile IBs">{{#show:{{{page|Help:Infobox/testdata}}}|?subb|link=none}}</td>
--><th class="IBleft">[[Lead]]:</th><!--
+
}}{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?lebl|?leph|?leyb|?lebb|link=none|format=list}}
--><td class="IBrightC"></td><!--
+
| <td class="IBbbile IBpb">{{#show:{{{page|Help:Infobox/testdata}}}|?lebb|link=none}}</td>
--><td class="IBrightC"></td><!--
+
}}<!--
--><td class="IBrightC"></td><!--
 
--><td class="IBrightC"></td><!--
 
 
--></tr>
 
--></tr>
 
}}<!--
 
}}<!--

Latest revision as of 18:20, 25 July 2012

Provided Alchemy values:
Humours


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:
  • page
    Selects the page to fetch Alchemy values from.
    This parameter defaults to the test-data page.
  • collapsed
    If assigned anything other than 'no', it will be collapsed by default.
    It defaults to 'no'

Examples

  1. {{Infobox/List AlchemyVals}} gives:
    Provided Alchemy values:
    Humours
  2. {{Infobox/List AlchemyVals|page=Help:Infobox/testdata|collapsed=y}} gives:
    Provided Alchemy values:
    Humours