模板:Parent Tab:修订间差异

    来自中国珂学院
    小 (导入1个版本)
    无编辑摘要
    第1行: 第1行:
    <div style="font-weight:bold; text-align:center; margin-bottom:0px;">
    <div style="font-weight:bold;
    {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page -->
    text-align:center;
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    margin-bottom:0px;
    <table style="height:100%;width:100%;"><tr>
    "> {
    <td style="vertical-align:center;">{{{tab1}}}
    {#ifeq: {
    </td></tr></table></div>
    {SUBPAGENAME
    }
    }| {
    {PAGENAME
    }
    }| <!-- main page -->
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab1
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1}}}]]</td>
    }
    }}em;
    max-width: {
    {{maxwidth
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    } {
    {!
    }
    } {
    {{tab1
    }
    }}]]</td>
    </tr></table></div>
    </tr></table></div>
    }}{{#if:{{{tab2| }}}|
    }
    {{#ifeq:{{SUBPAGENAME}}|{{{tab2}}}|
    } {
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    {#if: {
    <table style="height:100%;width:100%;"><tr>
    {{tab2|
    <td style="vertical-align:center;">{{{tab2}}}</td></tr></table></div>
    }
    }}| {
    {#ifeq: {
    {SUBPAGENAME
    }
    }| {
    {{tab2
    }
    }}|
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab2
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab2}}}{{!}}{{{tab2}}}]]
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    }/ {
    {{tab2
    }
    }} {
    {!
    }
    } {
    {{tab2
    }
    }}]]
    </td>
    </td>
    </tr></table></div>
    </tr></table></div>
    }}
    }
    }}{{#if:{{{tab3| }}}|
    }}} {
    {{#ifeq:{{SUBPAGENAME}}|{{{tab3}}}|
    {#if: {
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    {{tab3|
    <table style="height:100%;width:100%;"><tr>
    }
    <td style="vertical-align:center;">{{{tab3}}}</td></tr></table></div>
    }}| {
    {#ifeq: {
    {SUBPAGENAME
    }
    }| {
    {{tab3
    }
    }}|
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab3
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab3}}}{{!}}{{{tab3}}}]]
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    }/ {
    {{tab3
    }
    }} {
    {!
    }
    } {
    {{tab3
    }
    }}]]
    </td>
    </td>
    </tr></table></div>
    </tr></table></div>
    }}
    }
    }}{{#if: {{{tab4| }}}|
    }}} {
    {{#ifeq:{{SUBPAGENAME}}|{{{tab4}}}|
    {#if: {
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    {{tab4|
    <table style="height:100%;width:100%;"><tr>
    }
    <td style="vertical-align:center;">{{{tab4}}}</td></tr></table></div>
    }}| {
    {#ifeq: {
    {SUBPAGENAME
    }
    }| {
    {{tab4
    }
    }}|
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab4
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab4}}}{{!}}{{{tab4}}}]]
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    }/ {
    {{tab4
    }
    }} {
    {!
    }
    } {
    {{tab4
    }
    }}]]
    </td>
    </td>
    </tr></table></div>
    </tr></table></div>
    }}
    }
    }}{{#if: {{{tab5| }}}|
    }}} {
    {{#ifeq:{{SUBPAGENAME}}|{{{tab5}}}|
    {#if: {
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    {{tab5|
    <table style="height:100%;width:100%;"><tr>
    }
    <td style="vertical-align:center;">{{{tab5}}}</td></tr></table></div>
    }}| {
    {#ifeq: {
    {SUBPAGENAME
    }
    }| {
    {{tab5
    }
    }}|
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab5
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab5}}}{{!}}{{{tab5}}}]]
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    }/ {
    {{tab5
    }
    }} {
    {!
    }
    } {
    {{tab5
    }
    }}]]
    </td></tr></table></div>
    </td></tr></table></div>
    }}
    }
    }}{{#if: {{{tab6| }}}|
    }}} {
    {{#ifeq:{{SUBPAGENAME}}|{{{tab6}}}|
    {#if: {
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    {{tab6|
    <table style="height:100%;width:100%;"><tr>
    }
    <td style="vertical-align:center;">{{{tab6}}}</td></tr></table></div>
    }}| {
    {#ifeq: {
    {SUBPAGENAME
    }
    }| {
    {{tab6
    }
    }}|
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab6
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab6}}}{{!}}{{{tab6}}}]]
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    }/ {
    {{tab6
    }
    }} {
    {!
    }
    } {
    {{tab6
    }
    }}]]
    </td></tr></table></div>
    </td></tr></table></div>
    }}
    }
    }}{{#if: {{{tab7| }}}|
    }}} {
    {{#ifeq:{{SUBPAGENAME}}|{{{tab7}}}|
    {#if: {
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    {{tab7|
    <table style="height:100%;width:100%;"><tr>
    }
    <td style="vertical-align:center;">{{{tab7}}}</td></tr></table></div>
    }}| {
    {#ifeq: {
    {SUBPAGENAME
    }
    }| {
    {{tab7
    }
    }}|
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab7
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab7}}}{{!}}{{{tab7}}}]]
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    }/ {
    {{tab7
    }
    }} {
    {!
    }
    } {
    {{tab7
    }
    }}]]
    </td></tr></table></div>
    </td></tr></table></div>
    }}
    }
    }}{{#if: {{{tab8| }}}|
    }}} {
    {{#ifeq:{{SUBPAGENAME}}|{{{tab8}}}|
    {#if: {
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    {{tab8|
    <table style="height:100%;width:100%;"><tr>
    }
    <td style="vertical-align:center;">{{{tab8}}}</td></tr></table></div>
    }}| {
    {#ifeq: {
    {SUBPAGENAME
    }
    }| {
    {{tab8
    }
    }}|
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab8
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab8}}}{{!}}{{{tab8}}}]]
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    }/ {
    {{tab8
    }
    }} {
    {!
    }
    } {
    {{tab8
    }
    }}]]
    </td></tr></table></div>
    </td></tr></table></div>
    }}
    }
    }}{{#if: {{{tab9| }}}|
    }}} {
    {{#ifeq:{{SUBPAGENAME}}|{{{tab9}}}|
    {#if: {
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{backcolor|#DDDDDD}}}; color: black; font-size:100%;">
    {{tab9|
    <table style="height:100%;width:100%;"><tr>
    }
    <td style="vertical-align:center;">{{{tab9}}}</td></tr></table></div>
    }}| {
    {#ifeq: {
    {SUBPAGENAME
    }
    }| {
    {{tab9
    }
    }}|
    <div style="min-width: {
    {{minwidth|5.0
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{backcolor|#DDDDDD
    }
    }};
    color:black;
    font-size:100%;
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    "> {
    {{tab9
    }
    }}</td></tr></table></div>
    |
    |
    <div style="min-width:{{{minwidth|5.0}}}em; max-width:{{{maxwidth|12}}}em; float:left; border:1.5px solid {{{bordercolor|gray}}}; -moz-border-radius-topright: {{{borderradius|4}}}px; -moz-border-radius-topleft: {{{borderradius|4}}}px; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; -webkit-border-top-right-radius: {{{borderradius|4}}}px; -webkit-border-top-left-radius: {{{borderradius|4}}}px; padding: .0em 0.5em; height:{{{height|3.8}}}em; margin-bottom:10px; background-color:{{{altbackcolor|transparent}}};">
    <div style="min-width: {
    <table style="height:100%;width:100%;"><tr>
    {{minwidth|5.0
    <td style="vertical-align:center;">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab9}}}{{!}}{{{tab9}}}]]
    }
    }}em;
    max-width: {
    {{maxwidth|12
    }
    }}em;
    float:left;
    border:1.5px solid {
    {{bordercolor|gray
    }
    }};
    -moz-border-radius-topright: {
    {{borderradius|4
    }
    }}px;
    -moz-border-radius-topleft: {
    {{borderradius|4
    }
    }}px;
    border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-right-radius: {
    {{borderradius|4
    }
    }}px;
    -webkit-border-top-left-radius: {
    {{borderradius|4
    }
    }}px;
    padding:.0em 0.5em;
    height: {
    {{height|3.8
    }
    }}em;
    margin-bottom:10px;
    background-color: {
    {{altbackcolor|transparent
    }
    }};
    ">
    <table style="height:100%;
    width:100%;
    "><tr>
    <td style="vertical-align:center;
    ">[[ {
    {NAMESPACE
    }
    }: {
    {BASEPAGENAME
    }
    }/ {
    {{tab9
    }
    }} {
    {!
    }
    } {
    {{tab9
    }
    }}]]
    </td></tr></table></div>
    </td></tr></table></div>
    }}
    }
    }}
    }}}<div style="clear:both;
    <div style="clear:both;"></div>
    "></div>
    </div><noinclude>
    </div><noinclude>


    第115行: 第1,281行:
    <br />
    <br />


    <pre>
    <pre> {
    {{Parent Tab Tempate
    {Parent Tab Tempate
    |backcolor=
    |backcolor=
    |altbackcolor=
    |altbackcolor=
    第133行: 第1,299行:
    |tab8=
    |tab8=
    |tab9=
    |tab9=
    }}
    }
    </pre>
    }</pre>


    <br />
    <br />


    All parameters, except '''tab1''', are optional.
    All parameters,except '''tab1''',are optional.
    *'''backcolor''' - background color of active tab; default #DDDDDD;
    *'''backcolor''' - background color of active tab;
    *'''altbackcolor''' - background color of inactive tabs; default transparent;
    default #DDDDDD;
    *'''bordercolor''' - border color of every tab; default gray;
    *'''altbackcolor''' - background color of inactive tabs;
    *'''borderradius''' - border radius of every tab; default 4;
    default transparent;
    *'''height''' - height of tabs, in em; default 3.8em;
    *'''bordercolor''' - border color of every tab;
    *'''minwidth''' - min. width of tabs, in em; default 5.0em;
    default gray;
    *'''maxwidth''' - max. width of tabs, in em; default 12.0em;
    *'''borderradius''' - border radius of every tab;
    *'''tab1''' - an arbitrary title of the first tab;
    default 4;
    *'''tab2''' - title of the second tab; it must correspond to the part after "/" of the name of the page, to which it links
    *'''height''' - height of tabs,in em;
    *'''tab3''', '''tab4''', '''tab5''', '''tab6''', '''tab7''', '''tab8''', '''tab9''' - like '''tab2'''
    default 3.8em;
    *'''minwidth''' - min. width of tabs,in em;
    default 5.0em;
    *'''maxwidth''' - max. width of tabs,in em;
    default 12.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''','''tab9''' - like '''tab2'''


    <br />
    <br />


    <pre>
    <pre> {
    {{Parent Tab
    {Parent Tab
    |backcolor=#ECF8E0
    |backcolor=#ECF8E0
    |altbackcolor=#CCC
    |altbackcolor=#CCC
    第166行: 第1,340行:
    |tab5=Character Development
    |tab5=Character Development
    |tab6=Misc.
    |tab6=Misc.
    }}
    }
    </pre>
    }</pre>


    <br />
    <br />

    2020年4月1日 (三) 19:15的版本

    {

    {#ifeq: { {SUBPAGENAME } }| { {PAGENAME } }|

    {

    {{tab1 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } } { {! } } { {{tab1 }

    }}]]

    } } { {#if: { 模板:Tab2| { {#ifeq: { {SUBPAGENAME } }| { {{tab2 } }}|

    {

    {{tab2 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } }/ { {{tab2 } }} { {! } } { {{tab2 } }}]]

    } }}} { {#if: { 模板:Tab3| { {#ifeq: { {SUBPAGENAME } }| { {{tab3 } }}|

    {

    {{tab3 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } }/ { {{tab3 } }} { {! } } { {{tab3 } }}]]

    } }}} { {#if: { 模板:Tab4| { {#ifeq: { {SUBPAGENAME } }| { {{tab4 } }}|

    {

    {{tab4 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } }/ { {{tab4 } }} { {! } } { {{tab4 } }}]]

    } }}} { {#if: { 模板:Tab5| { {#ifeq: { {SUBPAGENAME } }| { {{tab5 } }}|

    {

    {{tab5 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } }/ { {{tab5 } }} { {! } } { {{tab5 } }}]]

    } }}} { {#if: { 模板:Tab6| { {#ifeq: { {SUBPAGENAME } }| { {{tab6 } }}|

    {

    {{tab6 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } }/ { {{tab6 } }} { {! } } { {{tab6 } }}]]

    } }}} { {#if: { 模板:Tab7| { {#ifeq: { {SUBPAGENAME } }| { {{tab7 } }}|

    {

    {{tab7 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } }/ { {{tab7 } }} { {! } } { {{tab7 } }}]]

    } }}} { {#if: { 模板:Tab8| { {#ifeq: { {SUBPAGENAME } }| { {{tab8 } }}|

    {

    {{tab8 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } }/ { {{tab8 } }} { {! } } { {{tab8 } }}]]

    } }}} { {#if: { 模板:Tab9| { {#ifeq: { {SUBPAGENAME } }| { {{tab9 } }}|

    {

    {{tab9 }

    }}

    |

    [[ {

    {NAMESPACE } }: { {BASEPAGENAME } }/ { {{tab9 } }} { {! } } { {{tab9 } }}]]

    }

    }}}


    This template is supposed to be the base template for other tab templates.


    Usage


     {
    	{Parent Tab Tempate
    |backcolor=
    |altbackcolor=
    |bordercolor=
    |borderradius=
    |height=
    |minwidth=       
    |maxwidth=
    |tab1=
    |tab2=
    |tab3=
    |tab4=
    |tab5=
    |tab6=
    |tab7=
    |tab8=
    |tab9=
    }
    }


    All parameters,except tab1,are optional.

    • backcolor - background color of active tab;

    default #DDDDDD; *altbackcolor - background color of inactive tabs; default transparent; *bordercolor - border color of every tab; default gray; *borderradius - border radius of every tab; default 4; *height - height of tabs,in em; default 3.8em; *minwidth - min. width of tabs,in em; default 5.0em; *maxwidth - max. width of tabs,in em; default 12.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,tab9 - like tab2


     {
    	{Parent Tab
    |backcolor=#ECF8E0
    |altbackcolor=#CCC
    |bordercolor=red
    |borderradius=6
    |height=2.2
    |maxwidth=20
    |tab1=Introduction
    |tab2=Relationships
    |tab3=Abilities and Powers
    |tab4=History
    |tab5=Character Development
    |tab6=Misc.
    }
    }