Template:PkmnInfoTab: Difference between revisions
Jump to navigation
Jump to search
(I wanted to see if I could make the Tabs work, but through my findings, it takes another template. Hopefully I'm doing this correctly. If not, then it's at least worth working on a bit.) |
m (Accidentally created an extra set of braces.) |
||
(10 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"> | |||
{{#ifeq:{{FULLPAGENAME}}|{{{tab1}}}| | |||
<td style="vertical-align:center;">{{{tab1}}}</td></tr></table> | <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| }}}| | {{#if:{{{tab2| }}}| | ||
{{#ifeq:{{{ | {{#ifeq:{{FULLPAGENAME}}|{{{tab2}}}| | ||
<table style=" | <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> | <td style="vertical-align:center;">tab2</td></tr></table> | ||
|}</includeonly> | | | ||
<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> | |||
| | |||
<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}}|{{{tab5}}}]] | |||
</td></tr></table></div> | |||
}} | |||
}}{{#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.