Difference between revisions of "Template:Compact ToC"
Jump to navigation
Jump to search
(name & {{{1}}} fields) |
m (better layout) |
||
Line 1: | Line 1: | ||
{| id="toc" class="toc" summary="Contents" {{#ifeq:{{{center|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|align="center"|}}{{#ifeq:{{{right|}}}|yes|align="right"|}} | {| id="toc" class="toc" summary="Contents" {{#ifeq:{{{center|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|align="center"|}}{{#ifeq:{{{right|}}}|yes|align="right"|}} | ||
− | + | {{#ifeq:{{{name|}}}|no||! {{{name|{{MediaWiki:Toc}}}}}{{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|:|}} | |
{{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|{{!}}|{{!}}-}} | {{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|{{!}}|{{!}}-}} | ||
− | |{{#ifeq:{{{top|}}}|yes|[[#top{{!}}Top]] -|}} {{#ifeq:{{{sym|}}}|yes|[[#!$@|!$@]]|}} {{#ifeq:{{{num|}}}|yes|[[#0–9|0–9]]|}} {{#ifeq:{{{symnum|}}}|yes|[[#!–9|!–9]]|}} {{{a|[[#A|A]]}}} {{{b|[[#B|B]]}}} {{{c|[[#C|C]]}}} {{{d|[[#D|D]]}}} {{{e|[[#E|E]]}}} {{{f|[[#F|F]]}}} {{{g|[[#G|G]]}}} {{{h|[[#H|H]]}}} {{{i|[[#I|I]]}}} {{{j|[[#J|J]]}}} {{{k|[[#K|K]]}}} {{{l|[[#L|L]]}}} {{{m|[[#M|M]]}}} {{{n|[[#N|N]]}}} {{{o|[[#O|O]]}}} {{{p|[[#P|P]]}}} {{{q|[[#Q|Q]]}}} {{{r|[[#R|R]]}}} {{{s|[[#S|S]]}}} {{{t|[[#T|T]]}}} {{{u|[[#U|U]]}}} {{{v|[[#V|V]]}}} {{{w|[[#W|W]]}}} {{{x|[[#X|X]]}}} {{{y|[[#Y|Y]]}}} {{{z|[[#Z|Z]]}}} {{#ifeq:{{{nobreak|{{#ifeq:{{{1}}}|short1|yes|}}}}}|yes| |<br /> | + | }}|{{#ifeq:{{{top|}}}|yes|[[#top{{!}}Top]] -|}} {{#ifeq:{{{sym|}}}|yes|[[#!$@|!$@]]|}} {{#ifeq:{{{num|}}}|yes|[[#0–9|0–9]]|}} {{#ifeq:{{{symnum|}}}|yes|[[#!–9|!–9]]|}} {{{a|[[#A|A]]}}} {{{b|[[#B|B]]}}} {{{c|[[#C|C]]}}} {{{d|[[#D|D]]}}} {{{e|[[#E|E]]}}} {{{f|[[#F|F]]}}} {{{g|[[#G|G]]}}} {{{h|[[#H|H]]}}} {{{i|[[#I|I]]}}} {{{j|[[#J|J]]}}} {{{k|[[#K|K]]}}} {{{l|[[#L|L]]}}} {{{m|[[#M|M]]}}} {{{n|[[#N|N]]}}} {{{o|[[#O|O]]}}} {{{p|[[#P|P]]}}} {{{q|[[#Q|Q]]}}} {{{r|[[#R|R]]}}} {{{s|[[#S|S]]}}} {{{t|[[#T|T]]}}} {{{u|[[#U|U]]}}} {{{v|[[#V|V]]}}} {{{w|[[#W|W]]}}} {{{x|[[#X|X]]}}} {{{y|[[#Y|Y]]}}} {{{z|[[#Z|Z]]}}} {{#ifeq:{{{nobreak|{{#ifeq:{{{1}}}|short1|yes|}}}}}|yes| |<br /> |
<div style="text-align:center;">}}{{#if:{{{custom1|{{{Sec1|}}}}}}|[[#{{{custom1|{{{Sec1|}}}}}}{{!}}{{{custom1|{{{Sec1|}}}}}}]] |}} {{#if:{{{custom2|{{{Sec2|}}}}}}|[[#{{{custom2|{{{Sec2|}}}}}}{{!}}{{{custom2|{{{Sec2|}}}}}}]] |}} {{#if:{{{custom3|{{{Sec3|}}}}}}|[[#{{{custom3|{{{Sec3|}}}}}}{{!}}{{{custom3|{{{Sec3|}}}}}}]] |}} {{#ifeq:{{{seealso|}}}|yes|[[#See also{{!}}See also]] |}} {{#ifeq:{{{notesfirst|}}}|yes|[[#Notes{{!}}Notes]] |}} {{#ifeq:{{{refs|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|[[#References{{!}}References]] |}} {{#ifeq:{{{notes|}}}|yes|[[#Notes{{!}}Notes]] |}} {{#ifeq:{{{extlinks|}}}|yes|[[#External links{{!}}External links]]|}}</div> | <div style="text-align:center;">}}{{#if:{{{custom1|{{{Sec1|}}}}}}|[[#{{{custom1|{{{Sec1|}}}}}}{{!}}{{{custom1|{{{Sec1|}}}}}}]] |}} {{#if:{{{custom2|{{{Sec2|}}}}}}|[[#{{{custom2|{{{Sec2|}}}}}}{{!}}{{{custom2|{{{Sec2|}}}}}}]] |}} {{#if:{{{custom3|{{{Sec3|}}}}}}|[[#{{{custom3|{{{Sec3|}}}}}}{{!}}{{{custom3|{{{Sec3|}}}}}}]] |}} {{#ifeq:{{{seealso|}}}|yes|[[#See also{{!}}See also]] |}} {{#ifeq:{{{notesfirst|}}}|yes|[[#Notes{{!}}Notes]] |}} {{#ifeq:{{{refs|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|[[#References{{!}}References]] |}} {{#ifeq:{{{notes|}}}|yes|[[#Notes{{!}}Notes]] |}} {{#ifeq:{{{extlinks|}}}|yes|[[#External links{{!}}External links]]|}}</div> | ||
|}__NOTOC__<noinclude> | |}__NOTOC__<noinclude> |