Template:Value infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
|- | |- | ||
| colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}]] | | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}]] | ||
|- | |- | ||
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description''' | ! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description''' | ||
| Line 24: | Line 21: | ||
{{#set:value={{{value|}}} }} | {{#set:value={{{value|}}} }} | ||
{{#set:Icon=File:{{{icon|}}} }} | {{#set:Icon=File:{{{icon|}}} }} | ||
{{#set:Description={{{description|}}} }} | {{#set:Description={{{description|}}} }} | ||
{{#set:Related Desired Life={{{related traits|}}} |+sep}} | |||
{{#set:Related Desired Life={{{related desired life|}}} |+sep}} | {{#set:Related Desired Life={{{related desired life|}}} |+sep}} | ||
</div> | </div> | ||
| Line 36: | Line 33: | ||
* '''value''' - name of the Value (e.g. Loved Life) | * '''value''' - name of the Value (e.g. Loved Life) | ||
* '''icon''' – Filename for the value's icon (e.g. Loved Life icon1.png) | * '''icon''' – Filename for the value's icon (e.g. Loved Life icon1.png) | ||
* '''description''' - | * '''description''' - | ||
* '''related traits''' - | * '''related traits''' - | ||
| Line 45: | Line 41: | ||
| value = | | value = | ||
| icon = | | icon = | ||
| description = | | description = | ||
| related traits = | | related traits = | ||
| Line 56: | Line 51: | ||
| value = Boxing | | value = Boxing | ||
| icon = Boxing icon1.png | | icon = Boxing icon1.png | ||
| description = ?????? | | description = ?????? | ||
| related traits = ?????? | | related traits = ?????? | ||
| Line 65: | Line 59: | ||
| value = Boxing | | value = Boxing | ||
| icon = Boxing icon1.png | | icon = Boxing icon1.png | ||
| description = ?????? | | description = ?????? | ||
| related traits = ?????? | | related traits = ?????? | ||
Revision as of 22:13, 24 February 2025
This template creates an infobox for Values with Semantic MediaWiki annotations.
Parameters
- value - name of the Value (e.g. Loved Life)
- icon – Filename for the value's icon (e.g. Loved Life icon1.png)
- description -
- related traits -
- related desired life -
Usage
{{Value infobox
| value =
| icon =
| description =
| related traits =
| related desired life =
}}
Example Usage
{{Value infobox
| value = Boxing
| icon = Boxing icon1.png
| description = ??????
| related traits = ??????
| related desired life = ??????
}}
| Boxing | |
|---|---|
| Description | |
| ?????? | |
| Related Traits | ?????? |
| Related Desired Life | ?????? |
Value infobox is a Value.