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.
Thecornerman (talk | contribs) m (→Usage: Updated) |
(Adding optional width parameter to allow for better display on pages with lots of units & inventory items) |
||
Line 1: | Line 1: | ||
{| style="margin: auto; border-radius: 15px; border: 2px solid {{Color2}}; background: {{Color3}}; width: 80%; text-align: center" | {| style="margin: auto; border-radius: 15px; border: 2px solid {{Color2}}; background: {{Color3}}; width: {{{width|80}}}%; text-align: center" | ||
| colspan="6" | | | colspan="6" | | ||
{| style="border-radius: 15px; border: 1px solid {{Color2}}; background: {{Color1}}; width: 100%; font-size: larger" | {| style="border-radius: 15px; border: 1px solid {{Color2}}; background: {{Color1}}; width: 100%; font-size: larger" | ||
Line 26: | Line 26: | ||
==Usage== | ==Usage== | ||
For character data on chapter pages. In the <code>newunit1</code> field, use {{t|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. | For character data on chapter pages. In the <code>newunit1</code> field, use {{t|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. | ||
*The optional <code>width</code> parameter can be used to specify the template width, otherwise the default is 80%. | |||
<pre> | <pre> | ||
{{ChapChars | {{ChapChars |
Revision as of 04:53, 13 June 2021
| ||||||
| ||||||
None | ||||||
| ||||||
|
Usage
For character data on chapter pages. In the newunit1
field, 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.
- The optional
width
parameter can be used to specify the template width, otherwise the default is 80%.
{{ChapChars |game#= Number of the game (e.g. 07 for The Blazing Blade, 08 for The Sacred Stones, 11 for Shadow Dragon, etc.) |newunit1={{NewUnit}} |newunit2={{NewUnit}} |newunit3={{NewUnit}} |return1= First returning character |return1article= article for the first returning character (if different from name) |return2= Second returning character |return2article= article for the first returning character (if different from name) |return3= Third returning character |return3article= article for the first returning character (if different from name) }}