Template:Value infobox: Difference between revisions
Appearance
Created page with "<includeonly> {| class="infobox" style="font-size:90%; border:1px solid #aaa; background:#fff;" |- ! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{value}}} |- | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}]] |- ! style="background:#ececec; text-align:left; padding:4px;" | Type | style="padding:4px;" | [[{{{type}}}]] |- ! colspan="2" style="background:#ececec; text-align:center; padding..." |
No edit summary |
||
Line 12: | Line 12: | ||
|- | |- | ||
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}} | ! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}} | ||
|- | |||
! style="background:#ececec; text-align:left; padding:4px;" | Related Traits | |||
| style="padding:4px;" | {{#arraymap:{{{related traits|}}}|,|x|[[x]]}} | |||
|- | |- | ||
! style="background:#ececec; text-align:left; padding:4px;" | Related Desired Life | ! style="background:#ececec; text-align:left; padding:4px;" | Related Desired Life | ||
Line 35: | Line 38: | ||
* '''type''' - | * '''type''' - | ||
* '''description''' - | * '''description''' - | ||
* '''related traits''' - | |||
* '''related desired life''' - | * '''related desired life''' - | ||
==Usage== | ==Usage== | ||
Line 43: | Line 47: | ||
| type = | | type = | ||
| description = | | description = | ||
| related traits = | |||
| related desired life = | | related desired life = | ||
}} | }} | ||
Line 53: | Line 58: | ||
| type = Fitness | | type = Fitness | ||
| description = ?????? | | description = ?????? | ||
| related traits = ?????? | |||
| related desired life = ?????? | | related desired life = ?????? | ||
}} | }} | ||
Line 61: | Line 67: | ||
| type = Fitness | | type = Fitness | ||
| description = ?????? | | description = ?????? | ||
| related traits = ?????? | |||
| related desired life = ?????? | | related desired life = ?????? | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 22:11, 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)
- type -
- description -
- related traits -
- related desired life -
Usage
{{Value infobox | value = | icon = | type = | description = | related traits = | related desired life = }}
Example Usage
{{Value infobox | value = Boxing | icon = Boxing icon1.png | type = Fitness | description = ?????? | related traits = ?????? | related desired life = ?????? }}
Boxing | |
---|---|
![]() | |
Type | Fitness |
Description | |
?????? | |
Related Traits | ?????? |
Related Desired Life | ?????? |
Value infobox is a Value.