Difference between revisions of "Template:Defence"

576 bytes added ,  20:39, 10 July 2022
Cleaning up template documentation. Also changed the wiki heading used in the template to a html heading tag.
m (Added a noinclude section so it can be in the templates category)
(Cleaning up template documentation. Also changed the wiki heading used in the template to a html heading tag.)
 
Line 1: Line 1:
==={{{defName}}}===
<noinclude>
==Parameters==
*<code>defName</code>
*<code>defLine</code> - The line that appears in DEF
*<code>defSources</code> - Abilities, herbs, etc. that provide the defense.
==Example==
<pre>{{Defence
|defName = Truehearing
|defLine = Sounds are heard through your true hearing.
|defSources = [[Discipline#Truehearing|Discipline Truehearing]], eating earwort.
}}</pre> displays as
{{Defence
|defName = Truehearing
|defLine = Sounds are heard through your true hearing.
|defSources = [[Discipline#Truehearing|Discipline Truehearing]], eating earwort.
}}
 
[[Category:Templates]]
</noinclude><includeonly><h3>{{{defName}}}</h3>
{| cellpadding="4" style="text-align: left;"
{| cellpadding="4" style="text-align: left;"
! style="background-color: darkblue;color: white;" | Defences line:  
! style="background-color: darkblue;color: white;" | Defences line:  
Line 6: Line 24:
|-
|-
| style="background-color: pink;" | Provided by: {{{defSources}}}
| style="background-color: pink;" | Provided by: {{{defSources}}}
|}
|}</includeonly>
<noinclude>
 
[[Category:Templates]]</noinclude>
2,691

edits