Difference between revisions of "Template:4E ritual"
Jump to navigation
Jump to search
(First attempt at template) |
m (Colspan.) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<!-- Documentation --> | <!-- Documentation --> | ||
− | This template is used to display a | + | This template is used to display a ritual for 4th Edition Dungeon & Dragons. |
− | == | + | == Arguments == |
− | + | * <tt>name</tt> - name of ritual (required) | |
− | * name | + | * <tt>fluff</tt> - ritual fluff |
− | * fluff - ritual fluff | + | * <tt>level</tt> |
− | * level | + | * <tt>componentcost</tt> - cost to use |
− | * componentcost - cost to use | + | * <tt>category</tt> - one of: binding. creation, deception, divination, exploration, restoration, scrying, travel, warding |
− | * category - | + | * <tt>marketprice</tt> - cost to learn |
− | * marketprice - cost to learn | + | * <tt>time</tt> - time to use |
− | * time - time to use | + | * <tt>keyskill</tt> - skill rolled |
− | * keyskill - skill rolled | + | * <tt>duration</tt> - how long it lasts |
− | * duration - how long it lasts | + | * <tt>'''{{add|requirements}}'''</tt> - (optional) requirements. Hidden unless argument is used. |
− | * | + | * <tt>'''{{add|link}}'''</tt> - (optional) page link. If used, page lists shows this link rather than than a link to the ritual page. |
== Preview == | == Preview == | ||
− | < | + | <onlyinclude><h3>{{{name|Ritual name}}}</h3> |
− | < | + | <div style="background:#eee">''{{{fluff}}}''</div> |
− | + | {| | |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
||'''Level''': {{{level}}}||align="right" |'''Component Cost''': {{{componentcost}}} | ||'''Level''': {{{level}}}||align="right" |'''Component Cost''': {{{componentcost}}} | ||
Line 32: | Line 27: | ||
||'''Time''': {{{time}}}||align="right" |'''Key Skill''': {{{keyskill}}} | ||'''Time''': {{{time}}}||align="right" |'''Key Skill''': {{{keyskill}}} | ||
|- | |- | ||
− | ||'''Duration''': {{{duration}}} | + | ||'''Duration''': {{{duration}}} |
− | |- | + | |- |
− | |colspan="2" | + | {{#if:{{{requirements|}}}|{{!}}colspan="2"{{!}}'''Requirements:''' {{{requirements}}} |
− | |}< | + | {{!}}- |
+ | }} | ||
+ | |}</onlyinclude> | ||
<small>''This text is not part of the template. It is included only as an indicator vertical space usage.''</small> | <small>''This text is not part of the template. It is included only as an indicator vertical space usage.''</small> | ||
− | </ | + | == Notes == |
+ | * The {{add|link}} argument is used by the <nowiki>{{</nowiki>[[Template:4E ritual.name|4E ritual.name]]<nowiki>}}</nowiki> shadow template. | ||
+ | <!-- Category --> | ||
+ | [[Category:4E templates]] |
Latest revision as of 17:29, 13 October 2008
This template is used to display a ritual for 4th Edition Dungeon & Dragons.
Arguments
- name - name of ritual (required)
- fluff - ritual fluff
- level
- componentcost - cost to use
- category - one of: binding. creation, deception, divination, exploration, restoration, scrying, travel, warding
- marketprice - cost to learn
- time - time to use
- keyskill - skill rolled
- duration - how long it lasts
- requirements - (optional) requirements. Hidden unless argument is used.
- link - (optional) page link. If used, page lists shows this link rather than than a link to the ritual page.
Preview
Ritual name
{{{fluff}}}
Level: {{{level}}} | Component Cost: {{{componentcost}}} |
Category: {{{category}}} | Market Price: {{{marketprice}}} |
Time: {{{time}}} | Key Skill: {{{keyskill}}} |
Duration: {{{duration}}} |
This text is not part of the template. It is included only as an indicator vertical space usage.
Notes
- The link argument is used by the {{4E ritual.name}} shadow template.