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:Tab/Content: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m (This template looks alllll messed up >_>)
m (Reverted edits by Dkpat (talk) to last revision by Aria der Donau)
Line 1: Line 1:
{{#if:{{{4|}}}|<div class="content" style="
<div {{#ifeq:{{{2|1}}}|{{{1}}}
{{#ifeq:{{{1}}}|{{{2}}}
  |style="display:block"
  |display:block
  |{{#if:{{{3|}}}
  |{{#ifeq:{{{1}}}|{{{3}}}
   |
   |
   |display:none
   |style="display:none;"
  }}
  }}
}};">
}}>
{{{4}}}
{{{4}}}
</div><noinclude>
</div><noinclude>

Revision as of 22:54, 3 May 2014

{{{4}}}

Purpose

Properly formats the tab contents. For use with the Tab template.

Usage

{{Tab/Content | number | default | tabtext | content }}
  • number: The number of the tab
  • default: The number of the tab to select by default
  • tabtext: The parameter containing the tab text (eg. {{{tab2}}})
  • content: The parameter containing the content (eg. {{{content2}}})