Difference between revisions of "Template:4E ritual"

From Action
Jump to navigation Jump to search
(width:35em)
m (Colspan.)
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
This template is used to display a ritual for 4th Edition Dungeon & Dragons.
 
This template is used to display a ritual for 4th Edition Dungeon & Dragons.
  
== Argument ==
+
== Arguments ==
* fluff - ritual fluff
+
* <tt>name</tt> - name of ritual (required)
* level
+
* <tt>fluff</tt> - ritual fluff
* componentcost - cost to use
+
* <tt>level</tt>
* category - from list: binding. creation, deception, divination, exploration, restoration, scrying, travel, warding
+
* <tt>componentcost</tt> - cost to use
* marketprice - cost to learn
+
* <tt>category</tt> - one of: binding. creation, deception, divination, exploration, restoration, scrying, travel, warding
* time - time to use
+
* <tt>marketprice</tt> - cost to learn
* keyskill - skill rolled
+
* <tt>time</tt> - time to use
* duration - how long it lasts
+
* <tt>keyskill</tt> - skill rolled
* text - Description of the power. Wiki markup is required for this.
+
* <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 ==
</noinclude><includeonly>
+
<onlyinclude><h3>{{{name|Ritual name}}}</h3>
<!-- Category -->
+
<div style="background:#eee">''{{{fluff}}}''</div>
[[Category:Game templates]]
+
{|
</includeonly>
 
{|style="width:35em;"
 
|-style="background:#eee;"
 
|colspan="2"|''{{{fluff|fluff}}}''
 
 
|-
 
|-
 
||'''Level''': {{{level}}}||align="right" |'''Component Cost''': {{{componentcost}}}
 
||'''Level''': {{{level}}}||align="right" |'''Component Cost''': {{{componentcost}}}
Line 29: Line 27:
 
||'''Time''': {{{time}}}||align="right" |'''Key Skill''': {{{keyskill}}}
 
||'''Time''': {{{time}}}||align="right" |'''Key Skill''': {{{keyskill}}}
 
|-
 
|-
||'''Duration''': {{{duration}}}  
+
||'''Duration''': {{{duration}}}
|-
+
|-  
|colspan="2"|{{{text}}}
+
{{#if:{{{requirements|}}}|{{!}}colspan="2"{{!}}'''Requirements:''' {{{requirements}}}
|}<noinclude>
+
{{!}}-
 +
}}
 +
|}</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>
</noinclude>
+
== 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