Template:Sword

This is the current revision of this page, as edited by K6ka (talk | contribs) at 17:48, 9 March 2019 (9 revisions imported: Import from https://sims.wikia.com). The present address (URL) is a permanent link to this version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template generates a Sword object with queriable properties.

Usage Edit

1. Use this template to define the object in its own page, for example, in a page Excalibeer

{{Sword
| {{{1}}}
| name=Excalibeer
| desc=This sword causes the wielder to fight as if drunk.
| image=File:Excalibeer.png
| imagewidth=200
| caption=Caption for image
| icon=File:Excalibeer_icon.png
| attack=5
| weight=5
| notes=This sword don't exists in-game.
}}

2. Use the following way to extract properties from the generated page.

{{:Excalibeer|name}} is a {{:Excalibeer|type}} (Attack:{{:Excalibeer|attack}}, Weight:{{:Excalibeer|weight}})

Output:

Excalibeer is a Sword (Attack:5, Weight:5)