Jump to content

Template:Ambition infobox: Difference between revisions

From inZOI Wiki
m Text replacement - "ZOI" to "Zoi"
Tags: Mobile edit Mobile web edit
No edit summary
Line 5: Line 5:
|-
|-
| colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|100px]]
| colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|100px]]
|-
! 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;" | Traits
| style="padding:4px;" | {{#arraymap:{{{traits|}}}|,|x|[[x]]}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Values
! style="background:#ececec; text-align:left; padding:4px;" | Values
Line 27: Line 27:
{{#set:Ambition={{{ambition|}}} }}
{{#set:Ambition={{{ambition|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Traits={{{type|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Traits={{{traits|}}} |+sep}}
{{#set:Traits={{{traits|}}} |+sep}}
Line 41: Line 42:
* '''ambition''' - name of the Ambition (e.g. Loved Life)
* '''ambition''' - name of the Ambition (e.g. Loved Life)
* '''icon''' – Filename for the ambition's icon (e.g. Loved Life icon1.png)
* '''icon''' – Filename for the ambition's icon (e.g. Loved Life icon1.png)
* '''type''' -
==Usage==
==Usage==
<pre>
<pre>
Line 46: Line 48:
| ambition =  
| ambition =  
| icon =  
| icon =  
| type =
| description =  
| description =  
}}
}}

Revision as of 16:31, 24 March 2025


This template creates an infobox for Ambitions with Semantic MediaWiki annotations.

Parameters

  • ambition - name of the Ambition (e.g. Loved Life)
  • icon – Filename for the ambition's icon (e.g. Loved Life icon1.png)
  • type -

Usage

{{Ambition infobox
| ambition = 
| icon = 
| type = 
| description = 
}}

Example Usage

{{Ambition infobox
| ambition = Family Happiness
| icon = Family Happiness icon1.png
}}
Family Happiness
Type {{{type}}}
Description
{{{description}}}
Values
Ambitions
Skills

Ambition infobox is an Ambition for your Zoi.