Difference between revisions of "Template:Defence"
Jump to navigation
Jump to search
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: | ||
==={{ | <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> | ||
Latest revision as of 20:39, 10 July 2022
Parameters
defName
defLine
- The line that appears in DEFdefSources
- Abilities, herbs, etc. that provide the defense.
Example
{{Defence |defName = Truehearing |defLine = Sounds are heard through your true hearing. |defSources = [[Discipline#Truehearing|Discipline Truehearing]], eating earwort. }}
displays as
Truehearing
Defences line: |
---|
Sounds are heard through your true hearing. |
Provided by: Discipline Truehearing, eating earwort. |