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.
(Created page with "<div {{#ifeq:{{{2|1}}}|{{{1}}} |style="display:block" |{{#if:{{{3|}}} | |style="display:none;" }} }}>{{{4}}}</div><noinclude> ==Purpose== Properly formats the tab contents...") |
mNo edit summary |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<div {{#ifeq:{{{ | <div class="tab_content" style=" | ||
| | {{#ifeq:{{{1}}}|{{{2}}} | ||
|{{# | |display:block; | ||
|{{#ifeq:{{{1}}}|{{{3}}} | |||
| | | | ||
| | |display:none; | ||
}} | }} | ||
}}>{{{4}}}</div><noinclude> | }}"> | ||
{{{4}}} | |||
</div><noinclude> | |||
==Purpose== | ==Purpose== | ||
Properly formats the tab contents. For use with the [[Template:Tab|Tab template]]. | Properly formats the tab contents. For use with the [[Template:Tab|Tab template]]. | ||
Line 16: | Line 19: | ||
*'''tabtext''': The parameter containing the tab text (eg. {{{tab2}}}) | *'''tabtext''': The parameter containing the tab text (eg. {{{tab2}}}) | ||
*'''content''': The parameter containing the content (eg. {{{content2}}}) | *'''content''': The parameter containing the content (eg. {{{content2}}}) | ||
[[Category:Formatting | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Revision as of 15:42, 23 January 2019
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}}})