Jump to content

Template:Preference infobox: Difference between revisions

From inZOI Wiki
No edit summary
No edit summary
Line 4: Line 4:
! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{preference}}}
! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{preference}}}
|-
|-
| 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}}}]]
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Type
! style="background:#ececec; text-align:left; padding:4px;" | Type
| style="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'''
Line 33: Line 33:
* '''preference''' - name of the Preference (e.g. Loved Life)
* '''preference''' - name of the Preference (e.g. Loved Life)
* '''icon''' – Filename for the preference's icon (e.g. Loved Life icon1.png)
* '''icon''' – Filename for the preference's icon (e.g. Loved Life icon1.png)
* '''type''' -
* '''description''' -
* '''related traits''' -
==Usage==
==Usage==
<pre>
<pre>

Revision as of 18:21, 23 February 2025


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

Parameters

  • preference - name of the Preference (e.g. Loved Life)
  • icon – Filename for the preference's icon (e.g. Loved Life icon1.png)
  • type -
  • description -
  • related traits -

Usage

{{Preference infobox
| preference = 
| icon = 
| type = 
| description = 
| related traits = 
}}

Example Usage

{{Preference infobox
| preference = Family Happiness
| icon = Family Happiness icon1.png
}}
Family Happiness
Type [[{{{type}}}]]
Description
{{{description}}}
Related Traits

Preference infobox is an Preference.