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

From Action
Jump to navigation Jump to search
m (Test of row template.)
(Only one phantom template!)
 
(13 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|Undefined}}}
 
  
|uses = Template:4E weapon
+
|uses = Template:4E weapon header
 
+
|include = {4E weapon}.table
|include = {4E weapon}.row
+
|table = class="sortable wikitable",-,Weapon,P,D,R,$,W,H,Training,Type,Group,Properties
|table = class="wikitable",-,Weapon,Prof,Dmg,Range,Wt,Price,Group,Properties
+
}}</includeonly></onlyinclude>
|tablerow = %%,align="center"¦%%,align="right"¦%%,align="center"¦%%,align="right"¦%%,align="right"¦%%
 
}}
 
</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 ("&").