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

From Action
Jump to navigation Jump to search
m (Test of #tag,)
m (Alternate DPL invocation.)
Line 8: Line 8:
 
<!-- Template -->
 
<!-- Template -->
 
<onlyinclude><includeonly>
 
<onlyinclude><includeonly>
{{#tag:dynamicpagelist|
+
{{#dpl
  category = {{{1|Undefined}}}
+
|category = {{{1|Undefined}}}
  
  uses = Template:4E weapon
+
|uses = Template:4E weapon
  uses = Template:4E weapon header
 
  
  include = {4E weapon}.name,{4E weapon}:prof:damage:range:weight:price:group:properties
+
|include = {4E weapon}.name,{4E weapon}:prof:damage:range:weight:price:group:properties
  table = class="wikitable",-,Weapon,Prof,Dmg,Range,Wt,Price,Group,Properties
+
|table = class="wikitable",-,Weapon,Prof,Dmg,Range,Wt,Price,Group,Properties
  tablerow = %%,align="center"¦%%,align="right"¦%%,align="center"¦%%,align="right"¦%%,align="right"¦%%
+
|tablerow = %%,align="center"¦%%,align="right"¦%%,align="center"¦%%,align="right"¦%%,align="right"¦%%
 
}}
 
}}
 
</includeonly></onlyinclude>
 
</includeonly></onlyinclude>

Revision as of 10:18, 2 October 2008

This template (hopefully) generates an automagic weapon table.

Arguments

  1. categories