Difference between revisions of "Template:Compact ToC"

From DMARC Wiki
Jump to navigation Jump to search
(switch these templates to div layout.)
Line 1: Line 1:
 
 
__NOTOC__{{#ifeq:{{{center|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|<div style="text-align:center">}}<div class="toc plainlinks hlist" id="toc" style="{{#ifeq:{{{center|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|margin-left:auto;margin-right:auto;|{{#ifeq:{{{right|}}}|yes|float:right; clear:right;}}}} text-align:{{{align|left}}}" >
 
__NOTOC__{{#ifeq:{{{center|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|<div style="text-align:center">}}<div class="toc plainlinks hlist" id="toc" style="{{#ifeq:{{{center|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|margin-left:auto;margin-right:auto;|{{#ifeq:{{{right|}}}|yes|float:right; clear:right;}}}} text-align:{{{align|left}}}" >
 
{{#ifeq:{{{name|}}}|no||<div id="toctitle" style="text-align: center; {{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|display:inline-block}}"><h2>{{{name|{{MediaWiki:Toc}}}}}{{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|&#58;}}</h2></div>}}
 
{{#ifeq:{{{name|}}}|no||<div id="toctitle" style="text-align: center; {{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|display:inline-block}}"><h2>{{{name|{{MediaWiki:Toc}}}}}{{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|&#58;}}</h2></div>}}

Revision as of 21:28, 19 July 2013

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}