Template:Infobox Card/doc: Difference between revisions

Jump to navigation Jump to search
try to fix broken doc
No edit summary
(try to fix broken doc)
Line 15: Line 15:
:The longterm idea is to be able transclude pages which use the Infobox card template and specify an section-argument to get a specific piece of information.
:The longterm idea is to be able transclude pages which use the Infobox card template and specify an section-argument to get a specific piece of information.
:E.g. if someone want to know the buy cost of an the lucky charm he/she can just add: <nowiki>{{:Lucky Charm|section=buy}}</nowiki>
:E.g. if someone want to know the buy cost of an the lucky charm he/she can just add: <nowiki>{{:Lucky Charm|section=buy}}</nowiki>
:For this to work the actual template has to be enclosed in <nowiki><onlyinclude></nowiki> tags and the section argument within the parameters in <nowiki><includeonly></nowiki> tags. See the below examples.
:For this to work the actual template has to be enclosed in <pre><onlyinclude></pre> tags and the section argument within the parameters in <pre><includeonly></pre> tags. See the below examples.
;Syntax, all possible arguments in alphabetical order:
;Syntax, all possible arguments in alphabetical order:
<pre>
<pre>

Navigation menu