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><noinclude>
<includeonly>{{Category:{{{1}}} }}[[Category:{{{1}}}]]</includeonly><noinclude>
==What this does==
==What this does==
All this does is wrap the call to the spell so that the user doesn't have to use the category twice. It does no formatting. It would be like typing <nowiki>{{Category:SPELLNAME}}[[Category:SPELLNAME]]</nowiki>, which is really annoying to do when you're adding a bunch of spells to a list.  
* The Spellbox template calls a spell category.
 
* Use this instead of [[:Template:SpellTable]] when the spell is embedded in an existing table.
** Example: The [[:Template:Magnet]] for modular warbeasts.
==Instructions==
==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.  
This is an example of the Spellbox being called inside a table.  
===CODE===
===CODE===
<nowiki>
<nowiki><table class="Wikitable"></nowiki>
{{Spellbox|ExampleSpell}}
 
</nowiki>
<nowiki>{{Spellbox|ExampleSpell}}</nowiki>
 
<nowiki>{{Spellbox|ExampleSpell}}</nowiki>
 
<nowiki></table></nowiki>


==Spells==
===Result===
<table class="Wikitable">
{{Spellbox|ExampleSpell}}
{{Spellbox|ExampleSpell}}
{{Spellbox|ExampleSpell}}
{{Spellbox|ExampleSpell}}
</table>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 19:23, 8 February 2024

What this does

  • The Spellbox template calls a spell category.
  • Use this instead of Template:SpellTable when the spell is embedded in an existing table.

Instructions

This is an example of the Spellbox being called inside a table.

CODE

<table class="Wikitable">

{{Spellbox|ExampleSpell}}

{{Spellbox|ExampleSpell}}

</table>

Result

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