Template:Spell table: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
==Example==
==Example==
<pre>{{St}}
<pre>{{St}}
{{Sr|Armageddon|4|Fire|All troops take damage}}
{{Sr|Armageddon|4|Fire magic|All troops take damage}}
|}</pre>
|}</pre>
gives:
gives:
Line 21: Line 21:
{|class="wikitable sortable"  
{|class="wikitable sortable"  
!width=230px|Name!!width=56px|Level!!width=56px|Class!!class="unsortable" width=230px|Effect
!width=230px|Name!!width=56px|Level!!width=56px|Class!!class="unsortable" width=230px|Effect
{{Sr|Armageddon|4|Fire|All troops take damage}}
{{Sr|Armageddon|4|Fire magic|All troops take damage}}
|}
|}


[[Category:Text templates|Table Spell heading]]</noinclude>
[[Category:Text templates|Table Spell heading]]</noinclude>

Revision as of 08:19, 19 March 2014

St is short of Spell Table.

Use

It's for List of spells table use only, to start a table heading code. Used with template:Sr.

Code
{{St}}
{{Sr|'Spell name'|'level'|'class'|'effect'}}
<...>
{{Sr|'Spell name'|'level'|'class'|'effect'}}
|}

Example

{{St}}
{{Sr|Armageddon|4|Fire magic|All troops take damage}}
|}

gives:

Name Level Class Effect

Template:Sr