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

From Salem Wiki
Jump to: navigation, search
m (property values)
m (hide row if no data for row)
Line 19: Line 19:
 
--></tr><!--
 
--></tr><!--
 
*** ROWS ***
 
*** ROWS ***
-->{{#if: x
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebl|?sabl|?mebl|?subl|?lebl|link=none|format=list}}
 
| <tr class="IBinfo IBblood"><!--
 
| <tr class="IBinfo IBblood"><!--
 
--><th class="IBblood">[[Blood]]:</th><!--
 
--><th class="IBblood">[[Blood]]:</th><!--
Line 29: Line 29:
 
--></tr>
 
--></tr>
 
}}<!--
 
}}<!--
-->{{#if: x
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?heph|?saph|?meph|?suph|?leph|link=none|format=list}}
 
| <tr class="IBinfo IBphlegm"><!--
 
| <tr class="IBinfo IBphlegm"><!--
 
--><th class="IBphlegm">[[Phlegm]]:</th><!--
 
--><th class="IBphlegm">[[Phlegm]]:</th><!--
Line 39: Line 39:
 
--></tr>
 
--></tr>
 
}}<!--
 
}}<!--
-->{{#if: x
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?heyb|?sayb|?meyb|?suyb|?leyb|link=none|format=list}}
 
| <tr class="IBinfo IBybile"><!--
 
| <tr class="IBinfo IBybile"><!--
 
--><th class="IBybile">[[Yellow Bile]]:</th><!--
 
--><th class="IBybile">[[Yellow Bile]]:</th><!--
Line 49: Line 49:
 
--></tr>
 
--></tr>
 
}}<!--
 
}}<!--
-->{{#if: x
+
-->{{#if: {{#show:{{{page|Help:Infobox/testdata}}}|?hebb|?sabb|?mebb|?subb|?lebb|link=none|format=list}}
 
| <tr class="IBinfo IBbbile"><!--
 
| <tr class="IBinfo IBbbile"><!--
 
--><th class="IBbbile">[[Black Bile]]:</th><!--
 
--><th class="IBbbile">[[Black Bile]]:</th><!--

Revision as of 18:52, 14 July 2012

Provided Alchemy values:
HealNaHgSPb


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:
    HealNaHgSPb
  2. {{Infobox/List AlchemyVals|page=Help:Infobox/testdata|collapsed=y}} gives:
    Provided Alchemy values:
    HealNaHgSPb