Difference between revisions of "Template:RitualInfoBox"

From DWPriests
Jump to: navigation, search
(New page: <includeonly><div style="float: right; width: 220px;"><table border="1" cellpadding="4" cellspacing="0" width="200" style="text-align: left; margin: 0 0 1em 1em; background:#ccffcc; border...)
 
m
Line 1: Line 1:
<includeonly><div style="float: right; width: 220px;"><table border="1" cellpadding="4" cellspacing="0" width="200" style="text-align: left; margin: 0 0 1em 1em; background:#ccffcc; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;">
+
<includeonly>
 +
<div style="float: right; width: 280px;">
 +
<table border="1" cellpadding="4" cellspacing="0" style="width:250px;text-align:left;margin: 0 0 1em 1em;border: 1px #aaaaaa solid;border-collapse:collapse;font-size:95%;">
 
<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>
<tr><td> '''Skills Used''' </td><td> {{skills}} </td></tr>
+
<tr><td> '''Skills Used''' </td><td> {{{skills}}} </td></tr>
 
<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>
</table></div></includeonly><noinclude>
+
</table>
{{RitualInfoBox/doc}}
+
</div>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
</includeonly><noinclude>{{RitualInfoBox/doc}}</noinclude>
</noinclude>
+

Revision as of 15:03, 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