Template:Alliance
From Project Rebearth
Alliance
General
Focus
{{{focus}}}
Bonuses
{{{bonuses}}}
Drawbacks
{{{drawbacks}}}
Alliance
An infobox template for alliance type articles. It displays the alliance's focus, bonuses (positive effects), and drawbacks (negative effects) in the same visual style as {{Building}}.
Usage
{{Alliance
| name = Alliance Name
| focus = Brief description of the alliance's theme
| bonuses = Bonus effect rows using rb-ia-effect rb-ia-bonus divs
| drawbacks = Drawback effect rows using rb-ia-effect rb-ia-drawback divs
}}
Effect row format
Each bonus or drawback is a div with the effect name and multiplier value:
<div class="rb-ia-effect rb-ia-bonus"><div class="rb-ia-effect-name">Effect name</div><div class="rb-ia-effect-value">×1.2</div></div>
Replace rb-ia-bonus with rb-ia-drawback for negative effects.
Parameters
| Parameter | Required | Description |
|---|---|---|
name |
No | Alliance name. Defaults to {{PAGENAME}}.
|
focus |
Yes | The alliance's thematic focus (e.g. "Research & Exploration"). |
bonuses |
Yes | One or more effect rows with class rb-ia-bonus.
|
drawbacks |
Yes | One or more effect rows with class rb-ia-drawback.
|