Difference between revisions of "Template:4e/Item"

From Trad Games Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| style="padding:0px; border-spacing:0; width: 480px"
 
{| style="padding:0px; border-spacing:0; width: 480px"
|- style="{{{background|AV}}}; color: #ffffff"
+
|- style="{{4e/{{{background|AV}}}}}; color: #ffffff"
| colspan=2 | '''{{{name|Attack Name}}}'''
+
| colspan=2 style="padding-left: 3px" | '''{{{name|Item Name}}}'''
| colspan=2 style="text-align:right; font-size:90%" | '''Level {{{level|1+}}}'''
+
| colspan=2 style="vertical-align: bottom; text-align:right; font-size:90%; padding-right: 3px" | '''Level {{{level|1+}}}'''
 
|- style="background: #ededed"
 
|- style="background: #ededed"
| colspan=4 | ''{{{flavor|Flavor text goes here.}}}''
+
| colspan=4 style="padding-left: 3px; padding-right: 3px" | ''{{{flavor|Flavor text goes here.}}}''
 
|}
 
|}
{{{multiple levels|{{Item Levels|1|+1|360|4|+2|840}} }}}
+
{{{multiple levels|{{4e/Item Levels|1|+1|360|4|+2|840}} }}}
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
 
  | Weapon = {{Item Weapon|form = {{{form}}}|specific = {{{specific}}}|price = {{{price}}}|enhancement = {{{enhancement}}}|critical = {{{critical}}} }}
 
  | Weapon = {{Item Weapon|form = {{{form}}}|specific = {{{specific}}}|price = {{{price}}}|enhancement = {{{enhancement}}}|critical = {{{critical}}} }}
 
  | Armor = {{Item Armor|specific = {{{specific}}}|price = {{{price}}}|enhancement = {{{enhancement}}} }}
 
  | Armor = {{Item Armor|specific = {{{specific}}}|price = {{{price}}}|enhancement = {{{enhancement}}} }}
  | Other = {{Item Other|slot = {{{slot}}}|price = {{{price}}} }}
+
  | Worn = {{Item Worn|slot = {{{slot}}}|price = {{{price}}} }}
  | Wondrous = {{Item Wondrous|price = {{{price}}} }}
+
  | Other = {{Item Other|form = {{{form}}}|price = {{{price}}} }}
 
  | #default =  
 
  | #default =  
 
}}<noinclude>
 
}}<noinclude>
{{Item Property|Sample Item|}}
+
{{4e/Item Property|Sample Item|}}
{{Item Power
+
{{4e/Item Power
 
| background = grey
 
| background = grey
 
| frequency = Encounter
 
| frequency = Encounter
Line 23: Line 23:
 
}}
 
}}
  
<pre><nowiki>
+
<pre>
{{Item
+
{{4e/Item
 
| background = AV
 
| background = AV
 
| name =  
 
| name =  
Line 30: Line 30:
 
| flavor =  
 
| flavor =  
 
| multiple levels = {{Item Levels|1|+1|360|4|+2|840}}
 
| multiple levels = {{Item Levels|1|+1|360|4|+2|840}}
| type = Weapon/Armor/Other/Wondrous
+
| type = Weapon/Armor/Worn/Other
 
| price =  
 
| price =  
 
| form =  
 
| form =  
Line 38: Line 38:
 
| slot =
 
| slot =
 
}}
 
}}
</nowiki></pre>
+
</pre>
  
[[Template:Item Levels]] is a simple two-column template showing level, bonus, price for those magic items that have multiple levels.
+
[[Template:4e/Item Levels]] is a simple two-column template showing level, bonus, price for those magic items that have multiple levels.
  
Use [[Template:Item Property]] and [[Template:Item Power]] to append the item's additional details.
+
Use [[Template:4e/Item Property]] and [[Template:4e/Item Power]] to append the item's additional details.
  
 
[[Category:4e Templates|Item]]
 
[[Category:4e Templates|Item]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:37, 23 June 2019

Item Name Level 1+
Flavor text goes here.
Lvl 1   +1 360 gp   Lvl 4   +2 840 gp
Sample Item
Power (Encounter): Free Action. You test out the example.
{{4e/Item
| background = AV
| name = 
| level = 
| flavor = 
| multiple levels = {{Item Levels|1|+1|360|4|+2|840}}
| type = Weapon/Armor/Worn/Other
| price = 
| form = 
| specific =
| enhancement =
| critical =
| slot =
}}

Template:4e/Item Levels is a simple two-column template showing level, bonus, price for those magic items that have multiple levels.

Use Template:4e/Item Property and Template:4e/Item Power to append the item's additional details.