Template:Sword

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search

This template generates a Sword object with queriable properties.

Usage[edit source]

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)