Template:Equipment: Difference between revisions

From Epic Path
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>This template holds information on equipment, goods and services. 
<pre>
{{Equipment
| Name = {{subst:FULLPAGENAME}}
| URL-Name = {{subst:PAGENAMEE}}
| Cost =
| Weight =
| Description =
| ShortDesc =
| Craft-Skill =
| Craft-DC =
| Craft-Notes =
}}
</pre>
Note that "Craft-Skill", "Craft-DC", and "Craft-Notes" are optional fields. {{#cargo_declare:_table = Equipment| Name = string| URL-Name = page| Cost = string| Weight = integer| ShortDesc = string| Craft-Skill = string| Craft-DC = integer| Craft-Notes = string}}
</noinclude><includeonly>
{{#cargo_store: _table = Equipment| Name = {{{Name|}}}| URL-Name = {{{URL-Name}}}| Cost = {{{Cost|}}}| Weight = {{{Weight|0.1}}}| ShortDesc = {{{ShortDesc|}}}| Craft-Skill = {{{Craft-Skill|}}}| Craft-DC = {{{Craft-DC|}}}| Craft-Notes = {{{Craft-Notes|}}}}}[[Category:Equipment]]
<h3>{{{Name|Name}}}<span class=plainlinks style="font-size:80%; font-weight:normal; padding-right:5;">&nbsp;&nbsp;&#91;[https://www.epicpath.org/index.php?title={{{URL-Name|Name}}}&action=edit edit]&#93;</span></h3>
<h3>{{{Name|Name}}}<span class=plainlinks style="font-size:80%; font-weight:normal; padding-right:5;">&nbsp;&nbsp;&#91;[https://www.epicpath.org/index.php?title={{{URL-Name|Name}}}&action=edit edit]&#93;</span></h3>
:* '''Cost:''' {{{Cost|0 gp}}}
:* '''Cost:''' {{{Cost|0 gp}}}
Line 6: Line 23:


:* '''Crafting:''' {{#if: {{{Craft-Skill|}}}|[[{{{Craft-Skill}}}]] (DC {{{Craft-DC|10}}}){{#if:{{{Craft-Notes|}}}|&#59; requires {{{Craft-Notes|}}}|}}|Not craftable.}}
:* '''Crafting:''' {{#if: {{{Craft-Skill|}}}|[[{{{Craft-Skill}}}]] (DC {{{Craft-DC|10}}}){{#if:{{{Craft-Notes|}}}|&#59; requires {{{Craft-Notes|}}}|}}|Not craftable.}}
</includeonly>

Revision as of 03:17, 12 January 2018

This template holds information on equipment, goods and services.

{{Equipment
| Name = {{subst:FULLPAGENAME}}
| URL-Name = {{subst:PAGENAMEE}}
| Cost = 
| Weight = 
| Description = 
| ShortDesc = 
| Craft-Skill = 
| Craft-DC = 
| Craft-Notes = 
}}

Note that "Craft-Skill", "Craft-DC", and "Craft-Notes" are optional fields.

Error: field name "URL-Name" cannot contain any of the following characters: .,-&lt;&gt;(){}[]\/