「模板:Navbox」:修訂間差異
跳至導覽
跳至搜尋
小 (無說明文檔) |
(正在將頁面替換為 '{{#invoke: Navbox | navbox }}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>') |
||
行 1: | 行 1: | ||
{{#invoke: Navbox | navbox }}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude> |
|||
{| style="width:100%; margin-top:0.5em; border:1px solid #ccc; text-align:center;" |
|||
|- |
|||
! style="background:{{{header_bg|#CCF}}}; padding:0.15em 0.5em; font-size: 110%" nowrap="nowrap" colspan=2| {{{header}}} |
|||
|- |
|||
{{#if:{{{group1|<noinclude>1</noinclude>}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group1}}} |}} |
|||
| style="padding:0.15em 0.5em; text-align: {{{align|left}}}" | {{{list1}}} |
|||
|- |
|||
<!-- 下面看起來很長,其實都是幾乎一樣的東西哦~ --> |
|||
{{#if:{{{list2|}}}| |
|||
{{#if:{{{group2|}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group2}}} |}} |
|||
{{!}} style="padding:0.15em 0.5em; text-align: {{{align|left}}}; background:#FAFAFA" {{!}} {{{list2}}} |
|||
{{!}}- |}} |
|||
{{#if:{{{list3|}}}| |
|||
{{#if:{{{group3|}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group3}}} |}} |
|||
{{!}} style="padding:0.15em 0.5em; text-align: {{{align|left}}}; " {{!}} {{{list3}}} |
|||
{{!}}- |}} |
|||
{{#if:{{{list4|}}}| |
|||
{{#if:{{{group4|}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group4}}} |}} |
|||
{{!}} style="padding:0.15em 0.5em; text-align: {{{align|left}}}; background:#FAFAFA" {{!}} {{{list4}}} |
|||
{{!}}- |}} |
|||
{{#if:{{{list5|}}}| |
|||
{{#if:{{{group5|}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group5}}} |}} |
|||
{{!}} style="padding:0.15em 0.5em; text-align: {{{align|left}}}; " {{!}} {{{list5}}} |
|||
{{!}}- |}} |
|||
{{#if:{{{list6|}}}| |
|||
{{#if:{{{group6|}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group6}}} |}} |
|||
{{!}} style="padding:0.15em 0.5em; text-align: {{{align|left}}}; background:#FAFAFA" {{!}} {{{list6}}} |
|||
{{!}}- |}} |
|||
{{#if:{{{list7|}}}| |
|||
{{#if:{{{group7|}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group7}}} |}} |
|||
{{!}} style="padding:0.15em 0.5em; text-align: {{{align|left}}}; " {{!}} {{{list7}}} |
|||
{{!}}- |}} |
|||
{{#if:{{{list8|}}}| |
|||
{{#if:{{{group8|}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group8}}} |}} |
|||
{{!}} style="padding:0.15em 0.5em; text-align: {{{align|left}}}; background:#FAFAFA" {{!}} {{{list8}}} |
|||
{{!}}- |}} |
|||
{{#if:{{{list9|}}}| |
|||
{{#if:{{{group9|}}}|{{!}} style="width: 10%; background:{{{group_bg|#DDF}}}; padding: 0.15em 0.9em; text-align: right; white-space: nowrap" {{!}} {{{group9}}} |}} |
|||
{{!}} style="padding:0.15em 0.5em; text-align: {{{align|left}}}; " {{!}} {{{list9}}} |
|||
{{!}}- |}} |
|||
|} |