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

From Salem Wiki
Jump to: navigation, search
m (Adding code)
m (Adding code)
Line 8: Line 8:
 
*** INFO ***
 
*** INFO ***
 
--><tr class="IBinfo"><td class="IBboth"><!--
 
--><tr class="IBinfo"><td class="IBboth"><!--
--><!--
+
--><table class="Infobox IBalchemy sortable"><!--
 +
*** HEADER ***
 +
--><tr class="IBheader"><!--
 +
--><th class="unsortable"></th><!--
 +
--><th class="IBbl"><span>[[Blood]]</span></th><!--
 +
--><th class="IBph"><span>[[Phlegm]]</span></th><!--
 +
--><th class="IByb"><span>[[Yellow Bile]]</span></th><!--
 +
--><th class="IBbb"><span>[[Black Bile]]</span></th><!--
 +
--></tr><!--
 +
*** ROWS ***
 +
--><!--
 +
--></table><!--
 
--></td></tr><!--
 
--></td></tr><!--
 
--></table><!--
 
--></table><!--
 
--></onlyinclude><noinclude>{{documentation}}</noinclude>
 
--></onlyinclude><noinclude>{{documentation}}</noinclude>

Revision as of 09:12, 14 July 2012

Provided Alchemy values:
BloodPhlegmYellow BileBlack Bile


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