User:Farman/spelltemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(55 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
{{#ifeq: {{{planned|}}} | yes | {{PlannedSpell {{!}} {{{name|This spell}}} }} }} |
|||
__NOEDITSECTION__ |
|||
⚫ | |||
|{{GuildThumb |{{{guild|}}} }} |
|||
|} |
|||
{| class=wikitable width=60% |
{| class=wikitable width=60% |
||
|- |
|||
⚫ | |||
! width=20% style="background: #B9B59C;border-right: hidden"| |
! width=20% style="background: #B9B59C;border-right: hidden;height: 35px"| |
||
! align="center" style="background:#B9B59C;font-size:150%;border-right:hidden"|'''{{{name}}}''' |
! align="center" style="background:#B9B59C;font-size:150%;border-right:hidden"|'''{{{name|Spell Infobox}}}''' |
||
! valign=" |
! valign="middle" width=20% style="background:#B9B59C;border-left:hidden"| {{#ifeq: {{{scroll|}}} | yes | [[Image:miniscroll.jpg|Scroll-only Spell]]}} {{#ifeq: {{{target|}}} | yes | [[Image:minitarget.jpg|Targetted Magic Spell]]}} {{#ifeq: {{{held|}}} | yes | [[Image:miniheld.jpg|Held Mana spell]]}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|- |
||
! style="text-align:left"|'''Abbreviation:''' |
! style="text-align:left"|'''Abbreviation:''' |
||
| colspan=2|{{{abbrev}}} |
| colspan=2|'''<tt>{{{abbrev|}}}</tt>''' |
||
|- |
|- |
||
! style="text-align:left"|'''Prerequisites:''' |
! style="text-align:left"|'''Prerequisites:''' |
||
| colspan=2|{{{prereqs}}} |
| colspan=2|{{{prereqs|}}} |
||
|- |
|- |
||
! style="text-align:left"|'''Minimum Prep:''' |
! style="text-align:left"|'''Minimum Prep:''' |
||
| colspan=2|{{{minprep}}} |
| colspan=2|{{{minprep|}}} |
||
|- |
|- |
||
! style="text-align:left"|'''Casting Cap:''' |
! style="text-align:left"|'''Casting Cap:''' |
||
| colspan=2|{{{castcap}}} |
| colspan=2|{{{castcap|}}} |
||
|- |
|- |
||
! style="text-align:left"|'''Valid Spell Target:''' |
! style="text-align:left"|'''Valid Spell Target:''' |
||
| colspan=2|{{{validtarget}}} |
| colspan=2|{{{validtarget|}}} |
||
|- |
|- |
||
! style="text-align:left"|'''Description:''' |
! style="text-align:left"|'''Description:''' |
||
| colspan=2|{{{desc}}} |
| colspan=2|{{{desc|}}} |
||
|- |
|- |
||
! style="text-align:left"|'''Example messaging:''' |
! style="text-align:left"|'''Example messaging:''' |
||
| colspan=2|{{{messaging}}} |
| colspan=2|{{{messaging|}}} |
||
|} |
|} |
||
== Notes == |
|||
⚫ | |||
<!-- Categories --> |
<!-- Categories --> |
||
Line 56: | Line 54: | ||
}} |
}} |
||
{{#if: {{{magictype|}}} |[[Category:{{{magictype}}} Magic]] | }} |
{{#if: {{{magictype|}}} |[[Category:{{{magictype}}} Magic]] | }} |
||
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells]] | }} |
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells]] | }} |
||
⚫ | |||
⚫ | |||
⚫ | |||
<!-- The 'notes' section below is so spell notes are still visible while the individual spell articles are edited to use the new template. Delete when the project is completed. --> |
|||
{{#if: {{{notes|}}} | |
|||
==NOTES== |
|||
⚫ | |||
<!-- end section to delete --> |
|||
</includeonly> |
|||
<noinclude> |
<noinclude> |
||
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing. |
|||
==Usage== |
==Usage== |
||
<pre> |
<pre> |
||
{{spell |
{{spell |
||
Line 69: | Line 75: | ||
|minprep= |
|minprep= |
||
|castcap= |
|castcap= |
||
|validtarget=Self |
|validtarget= Self |
||
|desc= |
|desc= |
||
|notes= |
|notes= |
||
Line 77: | Line 83: | ||
|magictype= |
|magictype= |
||
|spelltype= |
|spelltype= |
||
|target= yes/no |
|||
|held= yes/no |
|||
|scroll= yes/no |
|||
|planned = yes/no |
|||
}} |
}} |
||
</pre> |
</pre> |
||
</noinclude> |
</noinclude> |
Latest revision as of 21:04, 5 May 2007
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing.
Usage
{{spell |name= |abbrev= |prereqs= <!--links to other spells if needed--> |minprep= |castcap= |validtarget= Self |desc= |notes= |messaging= |guild= |spellbook= |magictype= |spelltype= |target= yes/no |held= yes/no |scroll= yes/no |planned = yes/no }}