Difference between revisions of "Template:4E weapon autolist"

From Action
Jump to navigation Jump to search
m (Width test.)
(Only one phantom template!)
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
== Arguments ==
 
== Arguments ==
  
# category
+
# category - Several can be specificed if joined by ampersand ("&").
  
 
<!-- Template -->
 
<!-- Template -->
Line 10: Line 10:
  
 
|uses = Template:4E weapon header
 
|uses = Template:4E weapon header
|include = {4E weapon}.name,{4E weapon}.prof,{4E weapon}.damage,{4E weapon}.range,{4E weapon}.price,{4E weapon}.weight,{4E weapon}.group,{4E weapon}.properties
+
|include = {4E weapon}.table
|table = class="wikitable",-,Weapon,   Prof,  Dmg,Range,Wt,Price,Group,Properties
+
|table = class="sortable wikitable",-,Weapon,P,D,R,$,W,H,Training,Type,Group,Properties
|tablerow = width="10em"¦%%, align="center"¦%%, align="right"¦%%, align="center"¦%%, align="right"¦%%, align="right"¦%%
 
|table = class="wikitable",-,Weapon,Prof,Dmg,Range,Price,Wt,Group,Properties
 
 
}}</includeonly></onlyinclude>
 
}}</includeonly></onlyinclude>
  
 
<!-- Categories -->
 
<!-- Categories -->
[[Category:4E templates]] [[Category:Test]]
+
[[Category:4E templates]]

Latest revision as of 14:19, 31 January 2012

This template (hopefully) generates an automagic weapon table.

Arguments

  1. category - Several can be specificed if joined by ampersand ("&").