Site News
Warning: This wiki contains spoilers. Read at your own risk!

Social media: If you would like, please join our Discord server, and/or follow us on Twitter (X) or Tumblr!

Template:ChapChars: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
mNo edit summary
m (Sentence-case heading)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="margin: auto; border-radius: 15px; border: 2px solid {{Color2}}; background: {{Color3}}; width: {{{width|80%}}}; text-align: center"
{| class="round {{#switch:{{{game#|}}}|01|02|03|04|05|06|07|08|bs=pixel-art}}" style="margin: auto; border: 2px solid {{Color2}}; background: {{Color3}}; width: {{{width|80%}}}; text-align: center"  
| colspan="6" |
! class="round" style="border: 1px solid {{Color2}}; background: {{Color1}}; width: 100%; font-size: larger" | Characters
{| style="border-radius: 15px; border: 1px solid {{Color2}}; background: {{Color1}}; width: 100%; font-size: larger"
! Characters
|}
|-
|-
| colspan="6" |
! <div class="round" style="margin: auto; border: 1px solid {{Color2}}; background: {{Color1}}; width: 66%; padding: 3px">New units</div>
{| style="margin: auto; border-radius: 15px; border: 1px solid {{Color2}}; background: {{Color1}}; width: 66%"
! New Units
|}
|-
|-
|
{| style="margin: auto; width: 100%"
{{#invoke:ChapChars|newunits}}
{{#invoke:ChapChars|newunits}}
|-
| colspan="6" |
{| style="margin: auto; border-radius: 15px; border: 1px solid {{Color2}}; background: {{Color1}}; width: 66%"
! Returning Characters
|}
|}
|-
|-
| colspan="6" |
{{#invoke:ChapChars|oldunits}}
{| style="border-radius: 15px; border: 1px solid {{Color2}}; background: {{Color3}}; width: 100%; {{#ifeq:{{{game#|}}}|trs01|transform:scaleX(calc(8/9))}}"
|
{{#invoke:ChapChars|returning}}
|}
|}<noinclude>
|}<noinclude>


{{doc}}</noinclude>
{{doc}}</noinclude>

Latest revision as of 15:48, 28 July 2023

Characters
New units

None

Available characters
None

Usage

For character data on chapter pages. In the newunit# fields, use {{NewUnit}} and enter the fields appropriately. There is no defined limit on the number of new or returning units that can be specified. For returning characters, only the name is needed; the portrait has been coded into the template.

{{ChapChars
|width= width of the template (defaults to 80%)
|game#= Number of the game (e.g. 07 for The Blazing Blade, 08 for The Sacred Stones, 11 for Shadow Dragon, etc.)
|rowbreak= The number of new units in each row (defaults to 3, or to 2 when there are only four units)
|newunit1={{NewUnit}}
|newunit2={{NewUnit}}
|newunit3={{NewUnit}}
|forced1= First character that is automatically deployed
|forced1article= article for the first character that is automatically deployed (if different from name)
|forced2= Second character that is automatically deployed
|forced2article= article for the second character that is automatically deployed (if different from name)
|forced3= Third character that is automatically deployed
|forced3article= article for the third character that is automatically deployed (if different from name)
|return1= First available returning character
|return1article= article for the first available returning character (if different from name)
|return2= Second available returning character
|return2article= article for the second available returning character (if different from name)
|return3= Third returning character
|return3article= article for the third available returning character (if different from name)
|nodeploy1= First character that is accessible, but cannot be deployed
|nodeploy1article= article for the first character that is accessible, but cannot be deployed (if different from name)
|nodeploy2= Second character that is accessible, but cannot be deployed
|nodeploy2article= article for the second character that is accessible, but cannot be deployed (if different from name)
|nodeploy3= Third character that is accessible, but cannot be deployed
|nodeploy3article= article for the third character that is accessible, but cannot be deployed (if different from name)
}}