Difference between revisions of "Template:RitualInfoBox"

From DWPriests
Jump to: navigation, search
m
m
Line 2: Line 2:
 
<div style="float:right;">
 
<div style="float:right;">
 
<table border="1" cellpadding="4" cellspacing="0" style="width:320px;text-align:left;margin: 0 0 1em 1em;border: 1px #aaaaaa solid;border-collapse:collapse;font-size:95%;">
 
<table border="1" cellpadding="4" cellspacing="0" style="width:320px;text-align:left;margin: 0 0 1em 1em;border: 1px #aaaaaa solid;border-collapse:collapse;font-size:95%;">
 +
<thead><tr><th colspan="2">{{{title}}}</th></tr></thead>
 +
<tbody>
 
<tr><td> '''GP Cost''' </td><td> {{{gp}}} </td></tr>
 
<tr><td> '''GP Cost''' </td><td> {{{gp}}} </td></tr>
 
<tr><td> '''Learnt At''' </td><td> {{{learntat}}} </td></tr>
 
<tr><td> '''Learnt At''' </td><td> {{{learntat}}} </td></tr>
Line 7: Line 9:
 
<tr><td> '''Requirements''' </td><td> {{{requirements}}} </td></tr>
 
<tr><td> '''Requirements''' </td><td> {{{requirements}}} </td></tr>
 
<tr><td> '''Granted By''' </td><td> {{{grantedby}}} </td></tr>
 
<tr><td> '''Granted By''' </td><td> {{{grantedby}}} </td></tr>
 +
</tbody>
 
</table>
 
</table>
 
</div>
 
</div>
 
</includeonly><noinclude>{{RitualInfoBox/doc}}</noinclude>
 
</includeonly><noinclude>{{RitualInfoBox/doc}}</noinclude>

Revision as of 14:14, 15 October 2008

Description

Creates a box on the right hand side of the page to display the basic information about a ritual. Don't forget to "linkify" the skills, components and gods!

Parameters

  • name: The name of the ritual, e.g. "Blight"
  • gp: The GP cost of the ritual, e.g. "70"
  • learntat: The level and skill at which the ritual is learnt, e.g. "125 in [[faith.rituals.offensive.target]]"
  • skills: The skills used by the ritual, e.g. "[[faith.rituals.offensive.target]]"
  • grantedby: The gods that grant the ritual, e.g. "[[Fish]] and [[Sek]]"
  • requirements: Any components the ritual requires, e.g. "[[Holy symbol|Symbol]] and [[Holy amulet|amulet]]"
  • rodtype: One of "o", "d", "c", "m" or "g" to indicate the ritual's rod affinity (offensive, defensive, curing, miscellaneous or generic, respectively)

Example Usage

{{RitualInfoBox
| name=Blight
| gp=70
| learntat=125 in [[faith.rituals.offensive.target]]
| skills=[[faith.rituals.offensive.target]]
| grantedby=[[Fish]] and [[Sek]]
| requirements=[[Holy symbol|Symbol]] and [[Holy amulet|amulet]]
| rodtype=o
}}

Example Output

Blight
GP Cost 70
Learnt At 125 in faith.rituals.offensive.target
Skills Used faith.rituals.offensive.target
Requirements Symbol and amulet
Granted By Fish and Sek
Best Baton(s)

Coral, Serrated

Best Cane

Orange