Template:Spell table: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(To another category)
No edit summary
 
(46 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable sortable"  
<includeonly>{| cellpadding=0 cellspacing=0 class="sortable" style="background-color:#{{Teal 3}}; color:saddlebrown; border:1px solid; border-color:rgba(0,0,0,0); text-align:left; width:650px"
!width=230px|Name!!width=60px|Level!!width=80px|Class!!class="unsortable" width=230px|Effect</includeonly><noinclude>
|- bgcolor={{Teal 1}} style="height: 25px;"
'''St''' is short of '''S'''pell '''T'''able.
! style="padding-left:3px;" width=300px |Name
! width=50px  | Level
! width=50px  | Class
! width=250px class="unsortable" | Effect</includeonly><noinclude>
'''Spell table''' template is for creating a table settings and heading row for [[Template: Spell table row|Spell table row template]]. Using template <nowiki>{{Spell table}}</nowiki> together with <nowiki>{{Spell table row}}</nowiki> and its variables creates a table.


==Use==
{{Spell table}}
It's for [[List of spells]] table use '''only''', to start a table heading code. Used with [[template:Sr]].
{{Spell table row|Summon Water Elemental|5|Air Magic|Enables hero to fly "over" adventure map.}}
|}


=====Code=====
Spell table template's main use is in the [[List of spells]] page.
<pre>{{St}}
{{Sr|'Spell name'|'level'|'class'|'effect'}}
<...>
{{Sr|'Spell name'|'level'|'class'|'effect'}}
|}</pre>


==Example==
== See also ==
<pre>{{St}}
* [[:Template:Spell table row]]
{{Sr|Armageddon|4|Fire magic|All troops take damage}}
|}</pre>
gives:
 
{|class="wikitable sortable"
!width=230px|Name!!width=60px|Level!!width=80px|Class!!class="unsortable" width=230px|Effect
{{Sr|Armageddon|4|Fire magic|All troops take damage}}
|}


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

Latest revision as of 16:48, 25 June 2021

Spell table template is for creating a table settings and heading row for Spell table row template. Using template {{Spell table}} together with {{Spell table row}} and its variables creates a table.

Name Level Class Effect
 Summon Water Elemental 5 Air Magic Enables hero to fly "over" adventure map.

Spell table template's main use is in the List of spells page.

See also[edit | hide | hide all]