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

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