Difference between revisions of "Template:Compact ToC"

From DMARC Wiki
Jump to navigation Jump to search
(+customlink 2, +replacement of letters, +notes first option, +bullet separation)
(nuke bullets)
Line 2: Line 2:
 
! {{MediaWiki:Toc}}{{#ifeq:{{{side|}}}|yes|:|}}
 
! {{MediaWiki:Toc}}{{#ifeq:{{{side|}}}|yes|:|}}
 
{{#ifeq:{{{side|}}}|yes|{{!}}|{{!}}-}}
 
{{#ifeq:{{{side|}}}|yes|{{!}}|{{!}}-}}
|{{#ifeq:{{{top|}}}|yes|[[#top{{!}}Top]]|}}{{#ifeq:{{{sym|}}}|yes|{{•}}[[#!$@|!$@]]|}}{{#ifeq:{{{num|}}}|yes|{{•}}[[#0–9|0–9]]|}}{{#ifeq:{{{symnum|}}}|yes|{{•}}[[#!–9|!–9]]|{{{symnum|}}}{{{num|}}}{{{sym|}}}{{{top|}}}|{{•}}}}{{#ifeq:}}{{{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|}}}|yes|&nbsp;|<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|}}}|yes|&nbsp;|<br />
<div style="text-align:center;">}}{{#ifeq:{{{custom1|}}}|[[#{{{custom1}}}{{!}}{{{custom1}}}]]|}} {{#ifeq:{{{custom2|}}}|{{•}}[[#{{{custom2}}}{{!}}{{{custom2}}}]]|}} {{#ifeq:{{{seealso|}}}|yes{{•}}|[[#See also{{!}}See also]]|}} {{#ifeq:{{{notesfirst|}}}|yes|{{•}}[[#Notes{{!}}Notes]]|}} {{#ifeq:{{{refs|}}}|yes|{{•}}[[#References{{!}}References]]|}} {{#ifeq:{{{notes|}}}|yes|{{•}}[[#Notes{{!}}Notes]]|}} {{#ifeq:{{{extlinks|}}}|yes|{{•}}[[#External links{{!}}External links]]|}}</div>
+
<div style="text-align:center;">}}{{#ifeq:{{{custom1|}}}|[[#{{{custom1}}}{{!}}{{{custom1}}}]]|}} {{#ifeq:{{{custom2|}}}|[[#{{{custom2}}}{{!}}{{{custom2}}}]]|}} {{#ifeq:{{{seealso|}}}|yes|[[#See also{{!}}See also]]|}} {{#ifeq:{{{notesfirst|}}}|yes|[[#Notes{{!}}Notes]]|}} {{#ifeq:{{{refs|}}}|yes|[[#References{{!}}References]]|}} {{#ifeq:{{{notes|}}}|yes|[[#Notes{{!}}Notes]]|}} {{#ifeq:{{{extlinks|}}}|yes|[[#External links{{!}}External links]]|}}</div>
 
|}__NOTOC__<noinclude>
 
|}__NOTOC__<noinclude>
 
 
  
 
{{template doc}}
 
{{template doc}}
 
<!--Categories and transwikis go in /doc -->
 
<!--Categories and transwikis go in /doc -->
 
</noinclude>
 
</noinclude>

Revision as of 17:26, 9 September 2007

Contents
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Template:Template doc