The Sims Medieval Wiki
Advertisement

This template generates a Armor object with queriable properties.

Usage

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

{{Sword
| {{{1}}}
| name=Shield of Invisibility
| desc=No, this shield does not make you invisible. The shield IS invisible. In fact, you can't really know for sure whether it is there or not.
| image=File:Shield_of_invisibility.png
| imagewidth=200
| caption=Caption for image
| icon=File:Shield_of_invisibility_icon.png
| attack=5
| weight=5
| notes=This shield don't exists, in-game or otherwise.
}}

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

{{:Shield of Invisibility|name}} is a {{:Shield of Invisibility|type}} (Defense:{{:Shield of Invisibility|defense}, Weight:{{:Shield of Invisibility|weight}})

Output:

Shield of Invisibility is a Armor(Defense:5, Weight:5)
Advertisement