Difference between revisions of "Template:RitualInfoBox"
From DWPriests
(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...) |
|||
| (11 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly><div style="float: right | + | <includeonly> |
| + | <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%;"> | ||
| + | <tr><th colspan="2" style="text-align:center;"> {{{name}}} </th></tr> | ||
<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> | + | <tr><td> '''Best Baton(s)''' </td><td> |
| − | {{RitualInfoBox/doc}} | + | {{#switch: {{{rodtype}}} |
| − | + | | o = Coral, Serrated | |
| − | </noinclude> | + | | d = Pale Yellow |
| + | | h | ||
| + | | c = Pure White | ||
| + | | m = Purple, Ribboned | ||
| + | | g = ''Any'' | ||
| + | | ??? [[Category:Rituals with no best rod information]] | ||
| + | }} | ||
| + | </td></tr> | ||
| + | <tr><td> '''Best Cane''' </td><td> | ||
| + | {{#switch: {{{rodtype}}} | ||
| + | | o = Orange | ||
| + | | d = Forest Green | ||
| + | | h | ||
| + | | c = White | ||
| + | | m = Grey | ||
| + | | g = ''Any'' | ||
| + | | ??? | ||
| + | }} | ||
| + | </td></tr> | ||
| + | </table> | ||
| + | </div> | ||
| + | </includeonly><noinclude>{{RitualInfoBox/doc}}</noinclude> | ||
Latest revision as of 15:54, 21 April 2009
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 |