Template:Compact ToC: Difference between revisions

imported>Fire
ページの作成:「{{#if:{{{allowtoc|}}}||__NOTOC__}}<!-- -->{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes | <div style="text-align:center;"><!-- -->}}<!-- Start contents box --…」
 
No edit summary
Line 1: Line 1:
{{#if:{{{allowtoc|}}}||__NOTOC__}}<!--
{{#if:{{{allowtoc|}}}||__NOTOC__
-->{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |
}}<div class="noprint {{#if:{{{class|}}}|{{{class|}}}|}}" {{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes|style="text-align:center;"}}><!--
<div style="text-align:center;"><!--
-->}}<!--


  Start contents box
  Start contents box


  --><div role="navigation" {{#if:{{{allowtoc|}}}||id="toc"}} class="toc plainlinks hlist" {{#ifeq:{{{name}}}|no |aria-label="Contents" |aria-labelledby="tocheading"}}
  --><div role="navigation" {{#if:{{{allowtoc|}}}||id="toc"}} class="toc plainlinks" {{#ifeq:{{{name}}}|no |aria-label="Contents" |aria-labelledby="tocheading"}}
         style="{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |margin-left:auto;margin-right:auto;
         style="{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |margin-left:auto;margin-right:auto;
                 | {{#ifeq:{{{right}}}|yes |clear:right;float:right;}}
                 | {{#ifeq:{{{right}}}|yes |clear:right;float:right;}}
                 }} text-align:{{{align|left}}};">
                 }} text-align:{{{align|left}}};">{{flatlist}}
<!--
<!--


Line 23: Line 21:
  Links
  Links


     --><div style="margin:auto;white-space:nowrap;{{#ifeq:{{{side|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |display:inline-block;}}"><!--
     --><div style="margin:auto; {{#ifeq:{{{side|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |display:inline-block;}}"><!--
             -->{{#ifeq:{{{top}}}|yes |
             -->{{#ifeq:{{{top}}}|yes |
* [[#top|Top]]}}<!--
* [[#top|Top]]}}<!--
Line 42: Line 40:
                               -->}} {{#if:{{{pre8|{{{preSec8|}}}}}} |
                               -->}} {{#if:{{{pre8|{{{preSec8|}}}}}} |
* [[{{{pre8link|{{{preSec8link|#{{{pre8|{{{preSec8}}} }}} }}} }}}|{{{pre8name|{{{preSec8name|{{{pre8|{{{preSec8}}} }}} }}} }}}]] <!--
* [[{{{pre8link|{{{preSec8link|#{{{pre8|{{{preSec8}}} }}} }}} }}}|{{{pre8name|{{{preSec8name|{{{pre8|{{{preSec8}}} }}} }}} }}}]] <!--
                                 -->}} {{#ifeq:{{{prebreak|}}}|yes|<br />
                                 -->}} {{#if:{{{pre9|{{{preSec9|}}}}}} |
* [[{{{pre9link|{{{preSec9link|#{{{pre9|{{{preSec9}}} }}} }}} }}}|{{{pre9name|{{{preSec9name|{{{pre9|{{{preSec9}}} }}} }}} }}}]] <!--
                                    -->}} {{#if:{{{pre10|{{{preSec10|}}}}}} |
* [[{{{pre10link|{{{preSec10link|#{{{pre10|{{{preSec10}}} }}} }}} }}}|{{{pre10name|{{{preSec10name|{{{pre10|{{{preSec10}}} }}} }}} }}}]] <!--
                                      -->}} {{#if:{{{pre11|{{{preSec11|}}}}}} |
* [[{{{pre11link|{{{preSec11link|#{{{pre11|{{{preSec11}}} }}} }}} }}}|{{{pre11name|{{{preSec11name|{{{pre11|{{{preSec11}}} }}} }}} }}}]] <!--
                                          -->}} {{#if:{{{pre12|{{{preSec12|}}}}}} |
* [[{{{pre12link|{{{preSec12link|#{{{pre12|{{{preSec12}}} }}} }}} }}}|{{{pre12name|{{{preSec12name|{{{pre12|{{{preSec12}}} }}} }}} }}}]] <!--
                                            -->}} {{#ifeq:{{{prebreak|}}}|yes|<br />


<nowiki />}} <!--
<nowiki />}} <!--
Line 100: Line 106:
                   -->}} {{#if:{{{custom8|{{{Sec8|}}}}}} |
                   -->}} {{#if:{{{custom8|{{{Sec8|}}}}}} |
* [[{{{custom8link|{{{Sec8link|#{{{custom8|{{{Sec8}}} }}} }}} }}}|{{{custom8name|{{{Sec8name|{{{custom8|{{{Sec8}}} }}} }}} }}}]] <!--
* [[{{{custom8link|{{{Sec8link|#{{{custom8|{{{Sec8}}} }}} }}} }}}|{{{custom8name|{{{Sec8name|{{{custom8|{{{Sec8}}} }}} }}} }}}]] <!--
                     -->}}<!--
                     -->}} {{#if:{{{custom9|{{{Sec9|}}}}}} |
* [[{{{custom9link|{{{Sec9link|#{{{custom9|{{{Sec9}}} }}} }}} }}}|{{{custom9name|{{{Sec9name|{{{custom9|{{{Sec9}}} }}} }}} }}}]] <!--
                        -->}} {{#if:{{{custom10|{{{Sec10|}}}}}} |
* [[{{{custom10link|{{{Sec10link|#{{{custom10|{{{Sec10}}} }}} }}} }}}|{{{custom10name|{{{Sec10name|{{{custom10|{{{Sec10}}} }}} }}} }}}]] <!--
                          -->}} {{#if:{{{custom11|{{{Sec11|}}}}}} |
* [[{{{custom11link|{{{Sec11link|#{{{custom11|{{{Sec11}}} }}} }}} }}}|{{{custom11name|{{{Sec11name|{{{custom11|{{{Sec11}}} }}} }}} }}}]] <!--
                              -->}} {{#if:{{{custom12|{{{Sec12|}}}}}} |
* [[{{{custom12link|{{{Sec12link|#{{{custom12|{{{Sec12}}} }}} }}} }}}|{{{custom12name|{{{Sec12name|{{{custom12|{{{Sec12}}} }}} }}} }}}]] <!--
                                -->}}<!--


  "See also" etc links
  "See also" etc links
Line 121: Line 135:
  End contents box
  End contents box


  --></div><!--
  -->{{endflatlist}}</div></div><noinclude>
 
{{documentation}}
-->{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |
</div><!--
-->}}<noinclude>
 
{{Documentation}}
</noinclude>
</noinclude>