Template:Infobox Trait: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>WraithAv
No edit summary
m (33 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<data source="info"><label>Info</label></data>
<data source="info"><label>Info</label></data>
<data source="pros"><label>Pros <div class="imageAlign">[[File:PlusIcon.png|Pro|14px]]</div></label></data>
<data source="pros"><label><span class="imageAlign">Pros [[File:PlusIcon.png|Pro|14px]]</span></label></data>
<data source="cons"><label>Cons <div class="imageAlign">[[File:MinusIcon.png|Pro|14px]]</div></label></data>
<data source="cons"><label><span class="imageAlign">Cons [[File:MinusIcon.png|Pro|14px]]</span></label></data>
<data source="opposite"><label>Opposite</label></data>
<data source="opposite"><label>Opposite</label></data>
<data source="unlock"><label>Unlock condition</label><default>Unlocked by default</default></data>
<data source="unlock"><label>Unlock condition</label><default>Unlocked by default</default></data>

Latest revision as of 18:52, 12 December 2020

[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.