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

From Action
Jump to navigation Jump to search
m (Column swap.)
(Only one phantom template!)
 
(9 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 -->
<onlyinclude><includeonly>
+
<onlyinclude><includeonly>{{#dpl:category = {{{1|Undefined}}}
{{#dpl:category = {{{1|Undefined}}}
 
  
 
|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 = %%, align="center"¦%%, align="right"¦%%, align="center"¦%%, align="right"¦%%, align="right"¦%%
+
}}</includeonly></onlyinclude>
|table = class="wikitable",-,Weapon,Prof,Dmg,Range,Price,Wt,Group,Properties
 
}}
 
</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 ("&").