Jump to content

Template:Trait infobox: Difference between revisions

From inZOI Wiki
No edit summary
Tag: Reverted
No edit summary
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<!--
{| class="infobox" style="font-size:90%; border:1px solid #aaa; background:#fff;"
  =============================
|-
      TEMPLATE: Trait Infobox
! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{trait}}}
  =============================
|-
 
| colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|64px]]
  This template combines both the simple trait display and optional extra fields.
|-
 
| colspan="2" style="text-align:center; font-style:italic; padding:4px;" | {{{tagline}}}
  PARAMETER NOTES:
    | trait        = The trait’s name (e.g. "Expert"). If left empty, 'name' is used instead.
    | icon        = Filename for the trait’s icon (e.g. "Trait_Expert.png").
    | personality  = The trait’s personality group (e.g. "Wise and Logical"). If left empty, 'category' is used.
    | description  = A brief or detailed description of the trait.
    | tagline      = A short tagline or flavor text for the trait.
    | gameplaytips = Optional gameplay tips or notes.
    | conflicts    = Optional list or brief explanation of conflicting traits.
    | synergy      = Optional list of complementary traits or synergy notes.
    | introduced  = Optional mention of when/how the trait was introduced (e.g. "Base Game" or version number).
   
  USAGE EXAMPLE:
    {{Trait infobox
    | trait        = Expert
    | icon        = Trait_Expert.png
    | personality  = Wise and Logical
    | description  = Pursues exceptional knowledge and skills...
    | tagline      = "Pursuing knowledge and skill"
    | gameplaytips = Great for skill-building...
    | conflicts    = May clash with traits that discourage study
    | synergy      = Explorer, Go-Getter
    | introduced  = Base Game
    }}
-->
 
<div style="float:right; margin:0 0 1em 1em; width:auto;">
{| class="infobox" style="width:300px; border:1px solid #aaa; background:#fff; font-size:90%; text-align:left;"
|+ style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{trait|{{{name|}}}}}
 
|-
|-
| style="text-align:center; vertical-align:middle; width:64px;" |  
! style="width:100px; background:#ececec; text-align:left; padding:4px;" | Keywords
[[File:{{{icon|Placeholder.png}}}|64px|alt={{{alttext|}}}]]
| style="padding:4px;" | {{#arraymap:{{{keywords|}}}|,|x|[[x]]}}
| style="vertical-align:middle; padding:4px;" | '''Personality:''' {{{personality|{{{category|}}}}}
 
{{#if: {{{tagline|}}}|
|-
|-
! colspan="2" style="background:#f8f8f8; padding:6px; text-align:center; border-top:1px solid #ddd;" | {{{tagline}}}
! style="background:#ececec; text-align:left; padding:4px;" | Values
}}
| style="padding:4px;" | {{#arraymap:{{{values|}}}|,|x|[[x]]}}
 
|-
|-
| colspan="2" style="padding:6px;" | '''Description:''' {{{description|}}}
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description'''
 
{{#if: {{{gameplaytips|}}}|
|-
|-
| colspan="2" style="padding:6px;" | '''Gameplay Tips:''' {{{gameplaytips}}}
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}}
}}
 
{{#if: {{{conflicts|}}}|
|-
|-
| colspan="2" style="padding:6px;" | '''Conflicts:''' {{{conflicts}}}
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Characteristics'''
}}
 
{{#if: {{{synergy|}}}|
|-
|-
| colspan="2" style="padding:6px;" | '''Synergy:''' {{{synergy}}}
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{characteristics}}}
}}
 
{{#if: {{{introduced|}}}|
|-
|-
| colspan="2" style="padding:6px;" | '''Introduced:''' {{{introduced}}}
! style="background:#ececec; text-align:left; padding:4px;" | Related Trait
}}
| style="padding:4px;" | [[{{{related trait}}}]]
|}
|}
[[{{PAGENAME}}]] is a [[{{{tagline}}}]] [[trait]] for your [[Zoi]] in [[inZOI]].
<div style="display:none;">
{{#set:Trait={{{trait|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Tagline={{{tagline|}}} }}
{{#set:Keywords={{{keywords|}}} |+sep}}
{{#set:Values={{{values|}}} |+sep}}
{{#set:Description={{{description|}}} }}
{{#set:Characteristics={{{characteristics|}}} |+sep}}
{{#set:Related Trait={{{related trait|}}} |+sep}}
</div>
</div>
[[Category:Traits]]
</includeonly>
</includeonly>
<noinclude>
This template creates an infobox for [[trait]]s with Semantic MediaWiki annotations.


<noinclude>
==Parameters==
== Usage ==
* '''trait''' – The trait’s name (e.g. ''Charmer'')
Create or edit a page for a specific trait and add:
* '''icon''' – Filename for the trait’s icon (e.g. ''Charmer icon1.png'')
* '''tagline''' – A short, catchy phrase summarizing the trait (e.g. ''Kind and Generous'')
* '''keywords''' – Keywords related to the trait (e.g. ''Kind, Big-Hearted, Sociable, Possessive, Lighthearted, Ambitious'')
* '''values''' – Core values or personality aspects associated with the trait (e.g. ''Challenger, Accomplishment, Authority, Love'')
* '''description''' – A brief description of the trait
* '''characteristics''' – A list of characteristics for the trait
* '''related trait''' – Traits that are related (e.g. ''Volunteer'')
 
==Usage==
<pre>
{{Trait infobox
| name =  
| icon =
| tagline =
| keywords =  
| values =
| description =  
| characteristics =
| related trait =
}}
</pre>


==Example Usage==
<pre>
<pre>
{{Trait infobox
{{Trait infobox
| trait       =  
| trait = Charmer
| icon         =  
| icon = Charmer icon1.png
| personality  =  
| tagline = Kind and Generous
| description  =  
| keywords = Kind, Big-Hearted, Sociable, Possessive, Lighthearted, Ambitious
| tagline      =  
| values = Challenger, Accomplishment, Authority, Love
| gameplaytips =
| description = With a cheerful and friendly personality, they easily make friends. Affectionate and open in expressing love, they can also appear seductive. Sometimes, they utilize their excellent communication skills to manipulate others for recognition of their talents and social status. Driven by a deep desire to be loved by all, they may exhibit anxiety and possessiveness, fearing the loss of affection.
| conflicts    =  
| characteristics = Frequently feels aflutter, Sad feeling lasts for a longer time, Builds romantic relationships easily, Likes discussing romantic topics
| synergy      =  
| related trait = Volunteer
| introduced  =  
}}
}}
</pre>
</pre>
{{Trait infobox
| trait = Charmer
| icon = Charmer icon1.png
| tagline = Kind and Generous
| keywords = Kind, Big-Hearted, Sociable, Possessive, Lighthearted, Ambitious
| values = Challenger, Accomplishment, Authority, Love
| description = With a cheerful and friendly personality, they easily make friends. Affectionate and open in expressing love, they can also appear seductive. Sometimes, they utilize their excellent communication skills to manipulate others for recognition of their talents and social status. Driven by a deep desire to be loved by all, they may exhibit anxiety and possessiveness, fearing the loss of affection.
| characteristics = Frequently feels aflutter, Sad feeling lasts for a longer time, Builds romantic relationships easily, Likes discussing romantic topics
| related trait = Volunteer
}}


See the code comments in this template for further parameter details.
Pages using this template will automatically be placed in the **Traits** category and have semantic properties for use in SMW queries.
</noinclude>
</noinclude>

Latest revision as of 11:49, 27 March 2025


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

Parameters

  • trait – The trait’s name (e.g. Charmer)
  • icon – Filename for the trait’s icon (e.g. Charmer icon1.png)
  • tagline – A short, catchy phrase summarizing the trait (e.g. Kind and Generous)
  • keywords – Keywords related to the trait (e.g. Kind, Big-Hearted, Sociable, Possessive, Lighthearted, Ambitious)
  • values – Core values or personality aspects associated with the trait (e.g. Challenger, Accomplishment, Authority, Love)
  • description – A brief description of the trait
  • characteristics – A list of characteristics for the trait
  • related trait – Traits that are related (e.g. Volunteer)

Usage

{{Trait infobox
| name = 
| icon = 
| tagline = 
| keywords = 
| values = 
| description = 
| characteristics =  
| related trait = 
}}

Example Usage

{{Trait infobox
| trait = Charmer
| icon = Charmer icon1.png
| tagline = Kind and Generous
| keywords = Kind, Big-Hearted, Sociable, Possessive, Lighthearted, Ambitious
| values = Challenger, Accomplishment, Authority, Love
| description = With a cheerful and friendly personality, they easily make friends. Affectionate and open in expressing love, they can also appear seductive. Sometimes, they utilize their excellent communication skills to manipulate others for recognition of their talents and social status. Driven by a deep desire to be loved by all, they may exhibit anxiety and possessiveness, fearing the loss of affection.
| characteristics = Frequently feels aflutter, Sad feeling lasts for a longer time, Builds romantic relationships easily, Likes discussing romantic topics
| related trait = Volunteer
}}
Charmer
Kind and Generous
Keywords Kind, Big-Hearted, Sociable, Possessive, Lighthearted, Ambitious
Values Challenger, Accomplishment, Authority, Love
Description
With a cheerful and friendly personality, they easily make friends. Affectionate and open in expressing love, they can also appear seductive. Sometimes, they utilize their excellent communication skills to manipulate others for recognition of their talents and social status. Driven by a deep desire to be loved by all, they may exhibit anxiety and possessiveness, fearing the loss of affection.
Characteristics
Frequently feels aflutter, Sad feeling lasts for a longer time, Builds romantic relationships easily, Likes discussing romantic topics
Related Trait Volunteer

Trait infobox is a Kind and Generous trait for your Zoi in inZOI.







Pages using this template will automatically be placed in the **Traits** category and have semantic properties for use in SMW queries.