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

From Salem Wiki
Jump to: navigation, search
m (adding collapsing togle)
m (Protected "Template:Infobox/List AlchemyVals/doc": Documentation of key-feature ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(No difference)

Latest revision as of 18:20, 25 July 2012

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