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:Augury: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m (Made character cell not display when no character is set, moved note to cell that usually contains text so cell formatting does not need to be repeated; misc.)
(Adding min-width and centering text if no augury exists for a chapter.)
Line 1: Line 1:
{{#vardefine:character|{{#if:{{{character|}}}|{{{character|}}}|{{#switch:{{PAGENAME}}
{{#vardefine:character|{{#if:{{{character|}}}|{{{character|none}}}|{{#switch:{{PAGENAME}}
| False Friends
| False Friends
| Talons Alight
| Talons Alight
Line 18: Line 18:
|-  
|-  
{{#ifeq:{{lc:{{{character|}}}}}|none||{{!}} style="padding: 5px 8px 5px 5px; vertical-align: top; background: none;" {{!}} [[File:Portrait {{lc:{{#var:character}}}} fe07.png]]<br>'''Price:''' [[File:Is gba gold.png|14px|sub]]{{{price|{{#ifeq:{{lc:{{#var:character}}}}|nils|Free|???}}}}}}}
{{#ifeq:{{lc:{{{character|}}}}}|none||{{!}} style="padding: 5px 8px 5px 5px; vertical-align: top; background: none;" {{!}} [[File:Portrait {{lc:{{#var:character}}}} fe07.png]]<br>'''Price:''' [[File:Is gba gold.png|14px|sub]]{{{price|{{#ifeq:{{lc:{{#var:character}}}}|nils|Free|???}}}}}}}
| style="border-radius: 10px; padding: 10px; text-align: left; font-size: .9em;" | {{#ifeq:{{lc:{{{character|}}}}}|none|''This chapter has no augury. {{{note|}}}''|'''Intro:''' ''{{{intro|Please add intro text.}}}''<p></p>'''Augury:''' ''{{{augury|Please add augury text.}}}''}}
| style="border-radius: 10px; padding: 10px; text-align: left; font-size: .9em; {{#ifeq:{{lc:{{{character|}}}}}|none|min-width:250px; text-align:center;" {{!}} ''This chapter has no augury. {{{note|}}}'' | " {{!}} '''Intro:''' ''{{{intro|Please add intro text.}}}''<p></p>'''Augury:''' ''{{{augury|Please add augury text.}}}''}}
|}<noinclude>
|}<noinclude>



Revision as of 22:18, 30 May 2021

Nils's Augury
Portrait nils fe07.png
Price: Is gba gold.pngFree
Intro: Please add intro text.

Augury: Please add augury text.

Notes

  • This template automatically displays the proper augury character associated with the page name it is placed on. If the character is not displaying correctly, verify that the page name is correct in the #vardefine:character function. Otherwise, the default character is Nils.
  • The template can also accept a custom character by using the character parameter.
    • If the character parameter is set to none, the template will produce a notice stating: "This chapter has no augury." The note parameter may be used to specify why a chapter has no augury available.
  • When the character is Nils, the price defaults to "Free"; otherwise, it defaults to "???".

Examples

{{augury
| character=Hannah
| price=60
| intro=This is the intro text.
| augury=This is the augury text.
}}
produces
Hannah's Augury
Portrait hannah fe07.png
Price: Is gba gold.png60
Intro: This is the intro text.

Augury: This is the augury text.
{{augury
| character=none
| note=[[Hannah]] will join the player's party in [[False Friends|Chapter 14]].
}}
produces
Augury
This chapter has no augury. Hannah will join the player's party in Chapter 14.