Difference between revisions of "Template:CompactTOC"

From Hearts of Iron 2 Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{| class="toccolours"
+
{| id="toc" class="toc" summary="Contents" {{#ifeq:{{{center|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|align="center"|}}{{#ifeq:{{{right|}}}|yes|align="right"|}}
! <span id="tocheading" style="font-weight:bold;">{{{name|{{MediaWiki:Toc}}&nbsp;}}}{{#ifeq:{{{side|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |&#58;<!--(colon)-->}}</span>
+
{{#ifeq:{{{name|}}}|no||! {{{name|{{MediaWiki:Toc}}}}}{{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|&#58;|}}
|-
+
{{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|{{!}}|{{!}}-}}}}
| {{{a|[[#A|A &middot;]]}}} {{{b|[[#B|B &middot;]]}}} {{{c|[[#C|C &middot;]]}}} {{{d|[[#D|D &middot;]]}}} {{{e|[[#E|E &middot;]]}}} {{{f|[[#F|F &middot;]]}}} {{{g|[[#G|G &middot;]]}}} {{{h|[[#H|H &middot;]]}}} {{{i|[[#I|I &middot;]]}}} {{{j|[[#J|J &middot;]]}}} {{{k|[[#K|K &middot;]]}}} {{{l|[[#L|L &middot;]]}}} {{{m|[[#M|M &middot;]]}}} {{{n|[[#N|N &middot;]]}}} {{{o|[[#O|O &middot;]]}}} {{{p|[[#P|P &middot;]]}}} {{{q|[[#Q|Q &middot;]]}}} {{{r|[[#R|R &middot;]]}}} {{{s|[[#S|S &middot;]]}}} {{{t|[[#T|T &middot;]]}}} {{{u|[[#U|U &middot;]]}}} {{{v|[[#V|V &middot;]]}}} {{{w|[[#W|W &middot;]]}}} {{{x|[[#X|X &middot;]]}}} {{{y|[[#Y|Y &middot;]]}}} {{{z|[[#Z|Z]]}}}
+
|{{#ifeq:{{{nobreak|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes||<div style="text-align:{{{align|left}}};">}}{{#ifeq:{{{top|}}}|yes|[[#top{{!}}Top]]&nbsp;|}} {{#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|&nbsp;|<br />}}{{#if:{{{custom1|{{{Sec1|}}}}}}|[[#{{{custom1|{{{Sec1|}}}}}}{{!}}{{{custom1|{{{Sec1|}}}}}}]]&nbsp;|}} {{#if:{{{custom2|{{{Sec2|}}}}}}|[[#{{{custom2|{{{Sec2|}}}}}}{{!}}{{{custom2|{{{Sec2|}}}}}}]]&nbsp;|}} {{#if:{{{custom3|{{{Sec3|}}}}}}|[[#{{{custom3|{{{Sec3|}}}}}}{{!}}{{{custom3|{{{Sec3|}}}}}}]]&nbsp;|}} {{#ifeq:{{{seealso|}}}|yes|[[#See also{{!}}See also]]&nbsp;|}} {{#ifeq:{{{notesfirst|}}}|yes|[[#Notes{{!}}Notes]]&nbsp;|}} {{#ifeq:{{{refs|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|[[#References{{!}}References]]&nbsp;|}} {{#ifeq:{{{notes|}}}|yes|[[#Notes{{!}}Notes]]&nbsp;|}} {{#ifeq:{{{extlinks|}}}|yes|[[#External links{{!}}External links]]|}}</div>
|}
+
|}__NOTOC__

Latest revision as of 17:43, 24 April 2017

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