Template:Spell table: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(code & layout)
No edit summary
 
(44 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable sortable" style="background-color:#{{Cyan 3}}; border: 1px solid black; text-align:left;"  
<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
|- bgcolor={{Teal 1}} style="height: 25px;"
! width=60px | Level
! style="padding-left:3px;" width=300px |Name
! width=80px | Class
! width=50px | Level
! class="unsortable" width=230px | Effect</includeonly><noinclude>
! width=50px | Class
'''St''' is short of '''S'''pell '''T'''able.
! 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]