Template:Test: Difference between revisions

From A KoL Wiki
imported>Nukeboy1313
No edit summary
imported>Nukeboy1313
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{0}}
{{{0}}}
[[Category:Test Templates]]
[[Category:Test Templates]]
</includeonly><noinclude>
</includeonly><noinclude>
Line 21: Line 21:


==Usage==
==Usage==
<pre>{{Test|Foo}}</pre>
{{Test|Foo}}
<pre>{{Test|Foo|Bar}}</pre>
{{Test|Foo|Bar}}
<pre>{{Test|+1 damage to {{element|Hot|Spells}}}}</pre>
{{Test|+1 damage to {{element|Hot|Spells}}}}
<pre>{{Test|quest=1|autocat=yes|notrade=1|autosell=0}}</pre>
<pre>{{Test|quest=1|autocat=yes|notrade=1|autosell=0}}</pre>
{{Test|quest=1|autocat=yes|notrade=1|autosell=0}}
{{Test|quest=1|autocat=yes|notrade=1|autosell=0}}

Revision as of 09:10, 24 August 2024


{{Test}}

{{{0}}} [[Category:Test Templates]]

Instructions

Similar to the Sandbox, this page is here for you to play around with templates. Do what you like with it, but please leave this explanatory section.

Insert your desired template contents above between the "includeonly" tags, and alter the instance below to include any parameters you may need. You may need to purge this page to see the effects of changes to this template's code. The same also holds for any other template. Otherwise, you may have to wait several minutes before the wiki starts using the new code.

Always give a template a category, even if it is Category:Test Templates. For help on how a template works, read some documentation.

Current Test: enchantment

Explanation

Enchantment template

Usage

{{Test|Foo}}

{{{0}}}

{{Test|Foo|Bar}}

{{{0}}}


{{Test|+1 damage to {{element|Hot|Spells}}}}

{{{0}}}


{{Test|quest=1|autocat=yes|notrade=1|autosell=0}}

{{{0}}}


{{Test|autocat=yes|notrade=1|autosell=0}}

{{{0}}}


{{Test|autocat=yes|notrade=1|autosell=11}}

{{{0}}}


{{Test|autocat=yes|autosell=0}}

{{{0}}}


{{Test|autocat=yes|autosell=11}}

{{{0}}}


{{Test|autocat=no|autosell=0}}

{{{0}}}