Difference between revisions of "Template:Defence"

From Archives of Lusternian Lore
Jump to navigation Jump to search
(Cleaning up template documentation. Also changed the wiki heading used in the template to a html heading tag.)
 
(One intermediate revision by the same user not shown)
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>

Latest revision as of 20:39, 10 July 2022

Parameters

  • defName
  • defLine - The line that appears in DEF
  • defSources - 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.