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>
{{infobox item2|{{PAGENAME}}}}
[[{{:{{PAGENAME}}|icon}}|left]]
<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


DoomplateTemplate loop detected: Template:Armor is a ArmorTemplate loop detected: Template:Armor (Defense:10Template loop detected: Template:Armor, Weight:5Template loop detected: Template:Armor)


Advertisement