Jump to content

Template:Value infobox: Difference between revisions

From inZOI Wiki
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
 
(6 intermediate revisions by the same user not shown)
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}}}]]
|-
! style="background:#ececec; text-align:left; padding:4px;" | Type
| style="padding:4px;" | [[{{{type}}}]]
|-
|-
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description'''
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description'''
|-
|-
! 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 17: Line 17:
|-
|-
|}
|}
[[{{PAGENAME}}]] is a [[Value]].
[[{{PAGENAME}}]] is a [[Value]] for your [[Zoi]] in [[inZOI]].
<div style="display:none;">
<div style="display:none;">
{{#set:value={{{value|}}} }}
{{#set:Value={{{value|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Type={{{type|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Related Traits={{{related traits|}}} |+sep}}
{{#set:Related Desired Life={{{related desired life|}}} |+sep}}
{{#set:Related Desired Life={{{related desired life|}}} |+sep}}
</div>
</div>
Line 33: 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)
* '''type''' -
* '''description''' -  
* '''description''' -  
* '''related traits''' -
* '''related desired life''' -  
* '''related desired life''' -  
==Usage==
==Usage==
Line 41: Line 41:
| value =  
| value =  
| icon =  
| icon =  
| type =
| description =  
| description =  
| related traits =
| related desired life =  
| related desired life =  
}}
}}
Line 51: Line 51:
| value = Boxing
| value = Boxing
| icon = Boxing icon1.png
| icon = Boxing icon1.png
| type = Fitness
| description = ??????
| description = ??????
| related traits = ??????
| related desired life = ??????
| related desired life = ??????
}}
}}
Line 59: Line 59:
| value = Boxing
| value = Boxing
| icon = Boxing icon1.png
| icon = Boxing icon1.png
| type = Fitness
| description = ??????
| description = ??????
| related traits = ??????
| related desired life = ??????
| related desired life = ??????
}}
}}
</noinclude>
</noinclude>

Latest revision as of 11:49, 27 March 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 for your Zoi in inZOI.