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

From Salem Wiki
Jump to: navigation, search
(Initial setup)
 
m (testdata page has moved)
Line 13: Line 13:
 
}}</pre>
 
}}</pre>
 
:It can accept one parameter, '''''page''''', to select the page to fetch [[Alchemy]] values from.
 
:It can accept one parameter, '''''page''''', to select the page to fetch [[Alchemy]] values from.
:This parameter defaults to the [[User:©TriMoon™/PropVals testdata|test-data]] page.
+
:This parameter defaults to the [[Help:Infobox/testdata|test-data]] page.
 
==Examples==
 
==Examples==
 
<ol>
 
<ol>
 
<li>{{t|Infobox/List AlchemyVals}} gives:<br/>{{Infobox/List AlchemyVals}}</li>
 
<li>{{t|Infobox/List AlchemyVals}} gives:<br/>{{Infobox/List AlchemyVals}}</li>
<li>{{t|Infobox/List AlchemyVals|page<nowiki>=</nowiki>User:©TriMoon™/PropVals testdata}} gives:<br/>{{Infobox/List AlchemyVals|page=User:©TriMoon™/PropVals testdata}}</li>
+
<li>{{t|Infobox/List AlchemyVals|page<nowiki>=</nowiki>Help:Infobox/testdata}} gives:<br/>{{Infobox/List AlchemyVals|page=Help:Infobox/testdata}}</li>
 
</ol>
 
</ol>
 
<includeonly>[[Category:Templates|{{PAGENAME}}]]<!-- Any categories for the template itself -->
 
<includeonly>[[Category:Templates|{{PAGENAME}}]]<!-- Any categories for the template itself -->
 
[[Category:Templates/©TriMoon™|{{SUBPAGENAME}}]]
 
[[Category:Templates/©TriMoon™|{{SUBPAGENAME}}]]
 
</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 07:07, 14 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 one parameter, page, to select the page to fetch Alchemy values from.
This parameter defaults to the test-data page.

Examples

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