Difference between revisions of "Template:4E ritual"

From Action
Jump to navigation Jump to search
m (Removed text argument. Variable header weight.)
m (Colspan.)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
* <tt>level</tt>
 
* <tt>level</tt>
 
* <tt>componentcost</tt> - cost to use
 
* <tt>componentcost</tt> - cost to use
* <tt>category</tt> - from list: binding. creation, deception, divination, exploration, restoration, scrying, travel, warding
+
* <tt>category</tt> - one of: binding. creation, deception, divination, exploration, restoration, scrying, travel, warding
 
* <tt>marketprice</tt> - cost to learn
 
* <tt>marketprice</tt> - cost to learn
 
* <tt>time</tt> - time to use
 
* <tt>time</tt> - time to use
 
* <tt>keyskill</tt> - skill rolled
 
* <tt>keyskill</tt> - skill rolled
 
* <tt>duration</tt> - how long it lasts
 
* <tt>duration</tt> - 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>
 
<onlyinclude><h3>{{{name|Ritual name}}}</h3>
<span style="background:#eee">''{{{fluff}}}''</span>
+
<div style="background:#eee">''{{{fluff}}}''</div>
 
{|
 
{|
 
|-
 
|-
Line 25: Line 27:
 
||'''Time''': {{{time}}}||align="right" |'''Key Skill''': {{{keyskill}}}
 
||'''Time''': {{{time}}}||align="right" |'''Key Skill''': {{{keyskill}}}
 
|-
 
|-
||'''Duration''': {{{duration}}}  
+
||'''Duration''': {{{duration}}}
|-
+
|-  
 +
{{#if:{{{requirements|}}}|{{!}}colspan="2"{{!}}'''Requirements:''' {{{requirements}}}
 +
{{!}}-
 +
}}
 
|}</onlyinclude>
 
|}</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 -->
 
[[Category:4E templates]]
 
[[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