Difference between revisions of "Template:Compact ToC"

From DMARC Wiki
Jump to navigation Jump to search
(Undid revision 628459901 by Sardanaphalus - revert broken edit. This change makes the entire page force center text display, for everything after the template. Now reference lists are using centered text. This template is used on thousands of articles)
m (113 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__<!--
+
{{#if:{{{allowtoc|}}}||__NOTOC__}}<!--
 
-->{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |
 
-->{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |
 
<div style="text-align:center;"><!--
 
<div style="text-align:center;"><!--
Line 42: Line 42:
 
                               -->}} {{#if:{{{pre8|{{{preSec8|}}}}}} |
 
                               -->}} {{#if:{{{pre8|{{{preSec8|}}}}}} |
 
* [[{{{pre8link|{{{preSec8link|#{{{pre8|{{{preSec8}}} }}} }}} }}}|{{{pre8name|{{{preSec8name|{{{pre8|{{{preSec8}}} }}} }}} }}}]] <!--
 
* [[{{{pre8link|{{{preSec8link|#{{{pre8|{{{preSec8}}} }}} }}} }}}|{{{pre8name|{{{preSec8name|{{{pre8|{{{preSec8}}} }}} }}} }}}]] <!--
                                 -->}} {{#if:{{{prebreak|}}} |{{{prebreak}}}</ul>}} <!--
+
                                 -->}} {{#if:{{{prebreak|}}} |{{#ifeq:{{{prebreak|}}}|yes|<br />|{{{prebreak}}}[[Category:Pages using compact toc with deprecated syntax]]}}</ul>}} <!--
 
-->{{#ifeq:{{{sym}}}|yes |
 
-->{{#ifeq:{{{sym}}}|yes |
 
* [[#!$@|!$@]] }}<!--
 
* [[#!$@|!$@]] }}<!--

Latest revision as of 02:44, 17 July 2015

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