Diese Aktion ist auf Benutzer beschränkt, die einer der Gruppen „Benutzer, Fandom-Helfer, Wiki-Manager, Fandom-Artikel-Team“ angehören. Du hast nicht die erforderliche Berechtigung, um Seiten im Namensraum Vorlage bearbeiten zu können. Du kannst den Quelltext dieser Seite betrachten und kopieren. <div style="font-weight:bold; text-align:center; margin-bottom:0px;"> {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px; background-color:{{{backcolor|#e3e5cd}}}; color: black; font-size:100%;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">{{{tab1|{{{1|}}}}}} </td></tr></table></div> | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1|{{{1|}}}}}}]]</td> </tr></table></div> }}{{#if:{{{tab2|{{{2|}}}}}}| {{#ifeq:{{SUBPAGENAME}}|{{{tab2|{{{2|}}}}}}| <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px; background-color:{{{backcolor|#e3e5cd}}}; color: black; font-size:100%;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">{{{tab2|{{{2|}}}}}}</td></tr></table></div> | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab2|{{{2|}}}}}}{{!}}{{{tab2|{{{2|}}}}}}]] </td> </tr></table></div> }} }}{{#if:{{{tab3|{{{3|}}}}}}| {{#ifeq:{{SUBPAGENAME}}|{{{tab3|{{{3|}}}}}}| <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px; background-color:{{{backcolor|#e3e5cd}}}; color: black; font-size:100%;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">{{{tab3|{{{3|}}}}}}</td></tr></table></div> | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab3|{{{3|}}}}}}{{!}}{{{tab3|{{{3|}}}}}}]] </td> </tr></table></div> }} }}{{#if: {{{tab4|{{{4|}}}}}}| {{#ifeq:{{SUBPAGENAME}}|{{{tab4|{{{4|}}}}}}| <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px; background-color:{{{backcolor|#e3e5cd}}}; color: black; font-size:100%;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">{{{tab4|{{{4|}}}}}}</td></tr></table></div> | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab4|{{{4|}}}}}}{{!}}{{{tab4|{{{4|}}}}}}]] </td> </tr></table></div> }} }}{{#if: {{{tab5|{{{5|}}}}}}| {{#ifeq:{{SUBPAGENAME}}|{{{tab5|{{{5|}}}}}}| <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px; background-color:{{{backcolor|#e3e5cd}}}; color: black; font-size:100%;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">{{{tab5|{{{5|}}}}}}</td></tr></table></div> | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab5|{{{5|}}}}}}{{!}}{{{tab5|{{{5|}}}}}}]] </td></tr></table></div> }} }}{{#if: {{{tab6|{{{6|}}}}}}| {{#ifeq:{{SUBPAGENAME}}|{{{tab6|{{{6|}}}}}}| <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px; background-color:{{{backcolor|#e3e5cd}}}; color: black; font-size:100%;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">{{{tab6|{{{6|}}}}}}</td></tr></table></div> | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab6|{{{6|}}}}}}{{!}}{{{tab6|{{{6|}}}}}}]] </td></tr></table></div> }} }}{{#if: {{{tab7|{{{7|}}}}}}| {{#ifeq:{{SUBPAGENAME}}|{{{tab7|{{{7|}}}}}}| <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px; background-color:{{{backcolor|#e3e5cd}}}; color: black; font-size:100%;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">{{{tab7|{{{7|}}}}}}</td></tr></table></div> | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab7|{{{7|}}}}}}{{!}}{{{tab7|{{{7|}}}}}}]] </td></tr></table></div> }} }}{{#if: {{{tab8|{{{8|}}}}}}| {{#ifeq:{{SUBPAGENAME}}|{{{tab8|{{{8|}}}}}}| <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px; background-color:{{{backcolor|#e3e5cd}}}; color: black; font-size:100%;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">{{{tab8|{{{8|}}}}}}</td></tr></table></div> | <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|20}}}em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:{{{height|2.2}}}em; margin-bottom:10px;"> <table style="height:100%;width:100%;"><tr> <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab8|{{{8|}}}}}}{{!}}{{{tab8|{{{8|}}}}}}]] </td></tr></table></div> }} }} </div> <noinclude> ==Usage== <pre> {{Parent Tab Template |backcolor= |height= |minwidth= |maxwidth= |tab1= |tab2= |tab3= |tab4= |tab5= |tab6= |tab7= |tab8= }} </pre> All parameters, except '''tab1''', are optional. *'''backcolor''' - background color of active tab; default #e3e5cd; *'''height''' - height of tabs, in em; default 2.2em; *'''minwidth''' - min. width of tabs, in em; default 5.0em; *'''maxwidth''' - max. width of tabs, in em; default 20.0em; *'''tab1''' - an arbitrary title of the first tab; *'''tab2''' - title of the second tab; it must correspond to the part after "/" of the name of the page, to which it links *'''tab3''', '''tab4''', '''tab5''', '''tab6''', '''tab7''', '''tab8''' - like '''tab2''' [[Kategorie:Vorlagen]] </noinclude> Zurück zur Seite Vorlage:Parent Tab Template.