Template:Property

From Another Eden Wiki
Template-info.png Documentation

Description[edit]

Basic key-value MAP that can be used for anything to not add new fields to database for new changes.

Use Template:Properties box to show all properties of some <Item> or any other <Object> on some page

Usage[edit]

{{Property
|store=yes        <!-- required to store to db-->
|item={{PAGENAME}}
|Property=Rank    <!--alias: |Key or {{{1}}}}-->
|Value=SSS        <!--alias: {{{2}}}} -->
|format=none    <!--String, Row, none(default), empty-->
}}

Example[edit]

{{Property|Rank|SSS|format=string}}
Rank - SSS
{| class=wikitable
{{Property|Rank|SSS|format=Row}}
{{Property|store=yes|item=Aldo|Dense|Yes|format=Row}}
{{Property|store=yes|item=Aldo|People's pleaser|100%|format=Row}}
|}
Rank
SSS
Aldo
Dense
Yes
Aldo
People's pleaser
100%
{{Properties box|Aldo}}
Properties of Aldo
Dense Yes
People's pleaser 100%

This template defines the table "Properties". View table.