Template:Equipment: Difference between revisions

From Epic Path
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
<pre>
<pre>
{{Equipment
{{Equipment
| Name = {{subst:FULLPAGENAME}}
| Cost=<onlyinclude>{{#ifeq:{{{transcludesection|Cost}}}
| URL-Name = {{subst:PAGENAMEE}}
| Cost|
| Cost =
}}</onlyinclude>
| Weight =
 
| Weight=<onlyinclude>{{#ifeq:{{{transcludesection|Weight}}}
| Weight|
}}</onlyinclude>
 
| Description =  
| Description =  
| ShortDesc =  
 
| Craft-Skill =  
| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| Craft-DC =  
| ShortDesc|
| Craft-Notes =  
}}</onlyinclude>
 
| Craft-Skill=<onlyinclude>{{#ifeq:{{{transcludesection|Craft-Skill}}}
| Craft-Skill|
}}</onlyinclude>
 
| Craft-DC=<onlyinclude>{{#ifeq:{{{transcludesection|Craft-DC}}}
| Craft-DC|
}}</onlyinclude>
 
| Craft-Notes=<onlyinclude>{{#ifeq:{{{transcludesection|Craft-Notes}}}
| Craft-Notes|
}}</onlyinclude>
 
}}
}}
</pre>
</pre>
Note that "Craft-Skill", "Craft-DC", and "Craft-Notes" are optional fields.  
Note that "Craft-Skill", "Craft-DC", and "Craft-Notes" are optional fields.  
{{#cargo_declare:
_table = Silly3
| Name = string
| URL-Name = page
| Cost = string
| Weight = integer
| ShortDesc = string
| Craft-Skill = page
| Craft-DC = integer
| Craft-Notes = string
}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_store:
[[Category:Equipment]]
_table = Silly3
| 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>
:* '''Cost:''' {{{Cost|0 gp}}}
:* '''Cost:''' {{{Cost|0 gp}}}
:* '''Weight:''' {{{Weight|0.1}}} lbs.
:* '''Weight:''' {{{Weight|0.1}}} lbs.

Revision as of 15:02, 13 January 2018

This template holds information on equipment, goods and services.

{{Equipment
| Cost=<onlyinclude>{{#ifeq:{{{transcludesection|Cost}}}
| Cost|
}}</onlyinclude>

| Weight=<onlyinclude>{{#ifeq:{{{transcludesection|Weight}}}
| Weight|
}}</onlyinclude>

| Description = 

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

| Craft-Skill=<onlyinclude>{{#ifeq:{{{transcludesection|Craft-Skill}}}
| Craft-Skill|
}}</onlyinclude>

| Craft-DC=<onlyinclude>{{#ifeq:{{{transcludesection|Craft-DC}}}
| Craft-DC|
}}</onlyinclude>

| Craft-Notes=<onlyinclude>{{#ifeq:{{{transcludesection|Craft-Notes}}}
| Craft-Notes|
}}</onlyinclude>

}}

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