Template:Spellbox: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{Category:{{{1}}} }}[[Category:{{{1}}}]]</includeonly>
<includeonly><table class="wikitable" style="width: 100%;">
 
{{Category:{{{1}}} }}[[Category:{{{1}}}]]</table></includeonly>
<noinclude>
<noinclude>
==What this does==
==What this does==
* The Spellbox template calls a spell category.  
This template wraps the spell data from the spell category, so it can be displayed on the screen by itself.  
* Use this instead of [[:Template:SpellTable]] when the spell is embedded in an existing table.
* Use when:
** Example: The [[:Template:Magnet]] for modular warbeasts.
** listing a warcaster/warlock spells.
** building a spell rack.
** calling a warbeasts's animus.
Do not use when the spell is being inserted into an existing table. Instead, use [[:Template:SpellTable]].  
 
===Using on a Spell page===
Each Category:Spell page needs to be set up so that the following is in before and after the call to the Template:Spell.
 
==Instructions==
==Instructions==
This is an example of the Spellbox being called inside a table.  
You're going to paste the following code into the caster, or warbeast, or whatever. The example is calling a header for spells, then the Spellbox twice, using the ExampleSpell.  
===CODE===
===CODE===
<nowiki><table class="Wikitable"></nowiki>
<nowiki>====Spells====</nowiki>


<nowiki>{{Spellbox|ExampleSpell}}</nowiki>
<nowiki>{{Spellbox|ExampleSpell}}</nowiki>
Line 15: Line 22:
<nowiki>{{Spellbox|ExampleSpell}}</nowiki>
<nowiki>{{Spellbox|ExampleSpell}}</nowiki>


<nowiki></table></nowiki>
===Output===
 
====Spells====
===Result===
<table class="Wikitable">
{{Spellbox|ExampleSpell}}
{{Spellbox|ExampleSpell}}
{{Spellbox|ExampleSpell}}
{{Spellbox|ExampleSpell}}
</table>


==Spells==
{{Spellbox|ExampleSpell}}{{Spellbox|ExampleSpell}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:45, 8 February 2024


What this does

This template wraps the spell data from the spell category, so it can be displayed on the screen by itself.

  • Use when:
    • listing a warcaster/warlock spells.
    • building a spell rack.
    • calling a warbeasts's animus.

Do not use when the spell is being inserted into an existing table. Instead, use Template:SpellTable.

Using on a Spell page

Each Category:Spell page needs to be set up so that the following is in before and after the call to the Template:Spell.

Instructions

You're going to paste the following code into the caster, or warbeast, or whatever. The example is calling a header for spells, then the Spellbox twice, using the ExampleSpell.

CODE

====Spells====

{{Spellbox|ExampleSpell}}

{{Spellbox|ExampleSpell}}

Output

Spells

ExampleSpell Cost RNG AOE POW DUR OFF
4 6 - - Upkeep No
Some models gain the following:
ExampleAdvantage:
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)
Other things happen.
And some other things happen.
These models gain
ExampleAdvantage:
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)
  Errata-ExampleSpell (2024-1-31)
Question: This is where the question goes?
Answer: Yes, and this is a short answer.
Explanation: The quote from the infernal, without interpretation or distillation (as much as possible).
Infernal Ruling: Dark Legacy - PP Community forum
ExampleSpell Cost RNG AOE POW DUR OFF
4 6 - - Upkeep No
Some models gain the following:
ExampleAdvantage:
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)
Other things happen.
And some other things happen.
These models gain
ExampleAdvantage:
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)
  Errata-ExampleSpell (2024-1-31)
Question: This is where the question goes?
Answer: Yes, and this is a short answer.
Explanation: The quote from the infernal, without interpretation or distillation (as much as possible).
Infernal Ruling: Dark Legacy - PP Community forum


Spells

ExampleSpell Cost RNG AOE POW DUR OFF
4 6 - - Upkeep No
Some models gain the following:
ExampleAdvantage:
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)
Other things happen.
And some other things happen.
These models gain
ExampleAdvantage:
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)
  Errata-ExampleSpell (2024-1-31)
Question: This is where the question goes?
Answer: Yes, and this is a short answer.
Explanation: The quote from the infernal, without interpretation or distillation (as much as possible).
Infernal Ruling: Dark Legacy - PP Community forum
ExampleSpell Cost RNG AOE POW DUR OFF
4 6 - - Upkeep No
Some models gain the following:
ExampleAdvantage:
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)
Other things happen.
And some other things happen.
These models gain
ExampleAdvantage:
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.
No errata for ExampleAdvantage (Create)
  Errata-ExampleSpell (2024-1-31)
Question: This is where the question goes?
Answer: Yes, and this is a short answer.
Explanation: The quote from the infernal, without interpretation or distillation (as much as possible).
Infernal Ruling: Dark Legacy - PP Community forum