Template:PkmnInfoTab: Difference between revisions
Jump to navigation
Jump to search
m (Getting frustrated with trying to figure this out, so I'm just taking a break because I have no idea what I'm actually doing. :< Feel free to edit, anyone.) |
m (Accidentally created an extra set of braces.) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{{PkmnInfoTab | {{PkmnInfoTab | ||
| | |tab1=Lunupine | ||
| | |tab2=Mega Lunupine Q | ||
}}</noinclude> | }}</noinclude> | ||
<includeonly>{| | <includeonly> | ||
<div style="position:relative"> | |||
<table style=" | {{#ifeq:{{FULLPAGENAME}}|{{{tab1}}}| | ||
<td style="vertical-align:center;">{{{ | <table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | ||
<td style="vertical-align:center;">{{{tab1}}} | |||
</td></tr></table></div> | |||
}} | |||
<div style="position:relative"> | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">[[{{FULLPAGENAME}}|{{{tab1}}}]]</td> | |||
</tr></table></div> | |||
{{#if:{{{tab2| }}}| | |||
{{#ifeq:{{FULLPAGENAME}}|{{{tab2}}}| | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">tab2</td></tr></table> | |||
| | |||
<div style="position:relative"> | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">[[{{FULLPAGENAME}}|{{{tab2}}}]] | |||
</td></tr></table></div> | |||
}} | |||
}} | |||
{{#if:{{{tab3| }}}| | |||
{{#ifeq:{{FULLPAGENAME}}{{{tab3}}}| | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">{{{tab3}}}</td></tr></table> | |||
| | |||
<div style="position:relative"> | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">[[{{FULLPAGENAME}}|{{{tab3}}}]] | |||
</td></tr></table></div> | |||
}} | |||
}} | |||
{{#if: {{{tab4| }}}| | |||
{{#ifeq:{{FULLPAGENAME}}|{{{tab4}}}| | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">{{{tab4}}}</td></tr></table> | |||
| | |||
<div style="position:relative"> | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">[[{{FULLPAGENAME}}|{{{tab4}}}]] | |||
</td></tr></table></div> | |||
}} | |||
}}{{#if: {{{tab5| }}}| | |||
{{#ifeq:{{FULLPAGENAME}}|{{{tab5}}}| | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">{{{tab5}}}</td></tr></table> | |||
| | | | ||
{{#if:{{{ | <div style="position:relative"> | ||
{{#ifeq:{{{ | <table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | ||
<table style=" | <td style="vertical-align:center;">[[{{FULLPAGENAME}}|{{{tab5}}}]] | ||
<td style="vertical-align:center;">{{{ | </td></tr></table></div> | ||
|}</includeonly> | }} | ||
}}{{#if: {{{tab6| }}}| | |||
{{#ifeq:{{FULLPAGENAME}}|{{{tab6}}}| | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">{{{tab6}}}</td></tr></table> | |||
| | |||
<div style="position:relative"> | |||
<table style="font-size: 16pt; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; padding: 4px; border-radius: 10px;"><tr> | |||
<td style="vertical-align:center;">[[{{FULLPAGENAME}}|{{{tab6}}}]] | |||
</td></tr></table></div> | |||
}} | |||
}} | |||
<div style="clear:both;"></div> | |||
</div> | |||
</includeonly> |
Latest revision as of 01:03, 26 November 2016
- Note: The template does not display properly with undefined variables. As such, the example displayed has been filled with Lunupine's information.
- Note: Template is to be used with Template:PkmnInfo.