Editing Template:Spell table
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly>{| cellpadding=0 cellspacing=0 class="sortable" style="background-color:#{{Teal 3}} | <includeonly>{| cellpadding=0 cellspacing=0 class="sortable" style="background-color:#{{Teal 3}}; border: 1px solid black; text-align:left;" | ||
|- | |- style="background-color:#{{Teal 1}}" | ||
! | ! width=230px | Name | ||
! width= | ! width=60px | Level | ||
! width= | ! width=80px | Class | ||
! | ! class="unsortable" width=230px | Effect</includeonly><noinclude> | ||
''' | '''St''' is short of '''S'''pell '''T'''able. | ||
{{Spell | ==Use== | ||
{{Spell | It's for [[List of spells]] table use '''only''', to start a table heading code. Used with [[template:Sr]]. | ||
|} | |||
=====Code===== | |||
<pre>{{St}} | |||
{{Sr|'Spell name'|'level'|'class'|'effect'}} | |||
<...> | |||
{{Sr|'Spell name'|'level'|'class'|'effect'}} | |||
|}</pre> | |||
==Example== | |||
<pre>{{St}} | |||
{{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]] | [[Category: Table templates|Spell heading]]</noinclude> | ||