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

<includeonly><onlyinclude>{{Armor
| {{{1}}}
|        name=
|        desc=
|       image=
|  imagewidth=
|     caption=
|        icon=
|     defense=
|      weight=
| bestdefense=
|  bestweight=
|      recipe=
|       notes=
}}</onlyinclude></includeonly><noinclude>
[[{{:{{PAGENAME}}|icon}}|left]]
{{infobox item2|{{PAGENAME}}}}
<blockquote>''"{{:{{PAGENAME}}|desc}}"''</blockquote>


==Description==

==Uses==

==Sources==

==Also See==


{{Equipment}}
</noinclude>

2. Use the syntax {{:PAGENAME|<property>}} to extract properties from the generated page. E.g.

Expression


{{:Doomplate|name}} is a {{:Doomplate|type}} (Defense:{{:Doomplate|defense}, Weight:{{:Doomplate|weight}})


Output


Doomplate is a Armor (Defense:10, Weight:5)


Advertisement