Gswiki:Style guide/Spells: Difference between revisions
(Updated to include the common Messaging section.) |
m (→The Spell Template: Typo fixes.) |
||
Line 12: | Line 12: | ||
For example, this would be the spell template for [[Minor Shock (901)]]: |
For example, this would be the spell template for [[Minor Shock (901)]]: |
||
<nowiki>{{spell | mnemonic = MINORSHOCK | duration = Instantaneous | type = Attack |
<nowiki>{{spell | mnemonic = MINORSHOCK | duration = Instantaneous | type = Attack }}</nowiki> |
||
Which results in the following table being added to the article page: |
Which results in the following table being added to the article page: |
||
Line 29: | Line 29: | ||
|- |
|- |
||
! Type |
! Type |
||
| valign="top" style="white-space: nowrap; text-align: right;" | Attack |
| valign="top" style="white-space: nowrap; text-align: right;" | Attack |
||
|} |
|} |
||
|} |
|} |
||
Line 35: | Line 35: | ||
This table will float along the right-hand side of the article, and article content will attempt to flow around it as best as possible. Please keep this in mind when writing articles and preview articles before saving to make sure the table flows well with the rest of the article's content. |
This table will float along the right-hand side of the article, and article content will attempt to flow around it as best as possible. Please keep this in mind when writing articles and preview articles before saving to make sure the table flows well with the rest of the article's content. |
||
The template inclusion should be kept as a single line as illustrated above, unless the spell has a |
The template inclusion should be kept as a single line as illustrated above, unless the spell has a particularly long or complex duration, in which case an inclusion in the following form is preferred: |
||
<nowiki>{{spell |
<nowiki>{{spell |
||
Line 46: | Line 46: | ||
* Mnemonic should be typed in all capital letters. |
* Mnemonic should be typed in all capital letters. |
||
* Duration should be one of the following: ''instantaneous'', '' |
* Duration should be one of the following: ''instantaneous'', ''permanent'', ''special'' or the duration formula. |
||
** Time units should be abbreviated as follows: ''sec'' (seconds), ''min'' (minutes), ''hr'' (hours) |
** Time units should be abbreviated as follows: ''sec'' (seconds), ''min'' (minutes), ''hr'' (hours) |
||
* Type should be any of the following, as appropriate: ''attack'', ''defense'', ''offense'', or ''utility''. |
* Type should be any of the following, as appropriate: ''attack'', ''defense'', ''offense'', or ''utility''. |
Revision as of 14:24, 30 September 2015
All spell entries are required to include a spell template inclusion at the top of the article. Additionally, all spell entries should include one or more the following:
- a blurb about the spell, describing its visual effects in simple English.
- a Factors that affect <spell name> section listing what skills, lores, attributes, etc. factor into and in what manner they do so.
- an Effects section describing the mechanical effects of the spell, such as bonuses conferred, if they are not fully described in the blurb.
- a Using <spell name> section describing how the spell is used and the mechanics underlying its effects. This section is expected in attack and utility spell articles.
- a Messaging section showing the in-game text when the spell is cast and when its effect expires (if applicable).
The Spell Template
Each spell entry should begin with a spell template inclusion.
For example, this would be the spell template for Minor Shock (901):
{{spell | mnemonic = MINORSHOCK | duration = Instantaneous | type = Attack }}
Which results in the following table being added to the article page:
|
This table will float along the right-hand side of the article, and article content will attempt to flow around it as best as possible. Please keep this in mind when writing articles and preview articles before saving to make sure the table flows well with the rest of the article's content.
The template inclusion should be kept as a single line as illustrated above, unless the spell has a particularly long or complex duration, in which case an inclusion in the following form is preferred:
{{spell | mnemonic = MSUMMON | base_dur = 600 sec | add_dur = +20 sec per [[Sorcerer Base|rank]] <br>+30 sec per [[Sorcerous Lore, Demonology|Demonology]] rank | span = [[Refreshable]] | type = Utility }}
- Mnemonic should be typed in all capital letters.
- Duration should be one of the following: instantaneous, permanent, special or the duration formula.
- Time units should be abbreviated as follows: sec (seconds), min (minutes), hr (hours)
- Type should be any of the following, as appropriate: attack, defense, offense, or utility.
Advanced Functions
The spell template has many, many more functions than those listed here. For more information, see Template:Spell.