Template:Weapon data
From Discworld MUD Wiki
[edit]
DocumentationThis template encapsulates {{Infobox weapon}} with the parameters found in it so that those arguments become available to be transcluded through {{Weapon line}} when the page is included in the weapons table pages.
It is also necessary to put it inside onlyinclude tags to prevent the rest of the page from being included.
- Transcluded from Example_weapon_page:
You can copy the following code and put values in it and selecting the type and ranged-type from the choices.
See {{itemdb}} for info on the item database, {{Judge-str}} for how to fill those judge lines with your strength and see {{Infobox weapon}} for the other parameters. For multiple infoboxes for the same item see {{Multiinfobox}}.
<onlyinclude>{{Weapon_data | Weight = | Commands = | Hands = | Tape-length = | Tape-width = | Material = | Type = Axe/Dagger/Flail/Heavy-sword/Mace/Misc/Polearm/Sword/None | Ranged-type = Thrown/Fired | Thrown = | Comment = | pagetype={{{pagetype|}}} | Judge-speed = | Judge-max = | Judge-ave = {{subst:Judge-str|9|||}} {{subst:Judge-str|10|||}} {{subst:Judge-str|11|||}} {{subst:Judge-str|12|||}} {{subst:Judge-str|13|||}} {{subst:Judge-str|14|||}} {{subst:Judge-str|15|||}} {{subst:Judge-str|16|||}} {{subst:Judge-str|17|||}} {{subst:Judge-str|18|||}} {{subst:Judge-str|19|||}} {{subst:Judge-str|20|||}} {{subst:Judge-str|21|||}} {{subst:Judge-str|22|||}} {{subst:Judge-str|23|||}} }}</onlyinclude> ==Long Description== ==Appraises As== ==Acquisition== {{Itemdb|}} ==Notes==