Template:ArcAward: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Sekoia
m (moved Template:ArcReward to Template:ArcAward: doh. renaming to match similar existing templates)
imported>Aggelakis
m (+threads)
Line 17: Line 17:
   | 1 = This activity awards 1 [[Incarnate Shard Component]]
   | 1 = This activity awards 1 [[Incarnate Shard Component]]
   | This activity awards {{{s}}} [[Incarnate Shard Component]]s
   | This activity awards {{{s}}} [[Incarnate Shard Component]]s
}}.
|-
{{#if: {{{t|}}} |
{{!}} style="vertical-align: top; padding: 0.25em;" {{!}} [[File:Salvage FishScale.png|22px]]
{{!}} style="width:100%; padding: 0.25em;" {{!}} [[Incarnate Component]]: {{#switch: {{{s}}}
  | 0 = There are no [[Incarnate Thread Component]]s awarded for this activity
  | 1 = This activity awards 1 [[Incarnate Thread Component]]
  | This activity awards {{{s}}} [[Incarnate Thread Component]]s
}}.
}}.
}}
}}
|}</div></includeonly><noinclude>{{documentation}}</noinclude>
|}</div></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 14:28, 30 May 2011

[edit] [purge] Documentation

Usage

To be used on pages with activities that give Merit Rewards and/or Incarnate Shards, including Contacts, Task/Strike Forces, etc.

The template accepts three parameters.

m=
Specifies the number of Merit Rewards awarded. Omit or leave blank to omit mention of Merit Rewards entirely. Set to zero to explicitly mention that none are awarded.
fb=
Specifies whether Merit Rewards are only awarded through Flashbacks. Omit or leave blank to omit mention of Flashbacks. Use fb=1 to specify that Merit Rewards are only granted when the task is completed as a flashback.
s=
Specifies the number of Incarnate Shard Components awarded. Omit or leave blank to omit mention of Incarnate Shards entirely. Set to zero to explicitly mention that none are awarded.
t=
Specifies the number of Incarnate Thread Components awarded. Omit or leave blank to omit mention of Incarnate Threads entirely. Set to zero to explicitly mention that none are awarded.

Examples

{{ArcAward|m=0}}

{{#if: |
E ICON MeritToken.png Merit Rewards: There are no Reward Merits awarded for this activity.
Salvage FishScale.png Incarnate Component: This activity awards {{{s}}} Incarnate Shard Components.

{{ArcAward|m=42}}

{{#if: |
E ICON MeritToken.png Merit Rewards: This activity awards 42 Reward Merits.
Salvage FishScale.png Incarnate Component: This activity awards {{{s}}} Incarnate Shard Components.

{{ArcAward|m=8|fb=1}}

{{#if: |
E ICON MeritToken.png Merit Rewards: This activity awards 8 Reward Merits through Flashback only.
Salvage FishScale.png Incarnate Component: This activity awards Incarnate Shard Components.

{{ArcAward|m=12|s=1}}

{{#if: 1 |
E ICON MeritToken.png Merit Rewards: This activity awards 12 Reward Merits.
Salvage FishScale.png Incarnate Component: This activity awards 1 Incarnate Shard Component.

{{ArcAward|m=12|t=1}}

{{#if: |
E ICON MeritToken.png Merit Rewards: This activity awards 12 Reward Merits.
Salvage FishScale.png Incarnate Component: This activity awards {{{s}}} Incarnate Shard Components.
Salvage FishScale.png Incarnate Component: This activity awards {{{s}}} Incarnate Thread Components.

See also