Template:Infobox Trait: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Olaroll
No edit summary
portalsofphereon>Olaroll
No edit summary
Line 1: Line 1:
<includeonly><infobox theme="trait" layout="stacked">
<includeonly><infobox theme="trait">
<title source="name" layout="default"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<data source="info" layout="default"><label>Info</label></data>
<data source="info"><label>Info</label></data>
<data source="pros" layout="default"><label>Pros</label></data>
<data source="pros"><label>Pros</label></data>
<data source="cons" layout="default"><label>Cons</label></data>
<data source="cons"><label>Cons</label></data>
<data source="opposite" layout="default"><label>Opposite</label></data>
<data source="opposite"><label>Opposite</label></data>
<data source="no-MC"><format>{{#if:{{{no-MC|}}}|<b>Does not affect main character</b>}}</format></data>
<data source="no-MC"><format>{{#if:{{{no-MC|}}}|<b>Does not affect main character</b>}}</format></data>
<data source="unlock"><label>Unlock condition</label></data>
<data source="unlock"><label>Unlock condition</label></data>

Revision as of 17:29, 16 December 2019

[view | edit | purge]Documentation
Description
An infobox for traits
Usage
Look at the example to see how it should be formatted
Use this as a template
{{Infobox Trait
| name     = <!-- Defaults to title -->
| color    = <!-- Color of the skill name itself, use Normal/Green/Blue/Orange -->
| info     = <!-- The yellow text -->
| pros     = <!-- The green text -->
| cons     = <!-- The red text -->
| opposite = 
| unlock   = 
| no-MC    = <!-- Enter yes if it doesn't affect main character -->
}}
Example

{{Infobox Trait
| name     = Fertile
| color    = Normal
| info     = <!-- The yellow text -->
| pros     = *Fertility +50%
*Milk amount +50%
| cons     = *Virility -20%
| opposite = Virile
| unlock   = Level an endurance character to 20
| no-MC    = <!-- Enter yes if it doesn't affect main character -->
}}
[view | edit | purge]The above documentation is transcluded fromTemplate:Infobox Trait/doc.