Changes
Jump to:
navigation
,
search
Template:TOC
8,561 bytes removed
,
15:42, 10 August 2012
Replaced content with "<div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}}..."
{|<!--=======================================================
-- Template:Compact_ToC - (see NOTES at bottom)
--=======================================================
--
--> id="toc" class="toc" summary="Contents" {{
<!-- ----------------------------------- Check center/right-->
#ifeq:{{{center|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|align="center"|}}{{#ifeq:{{{right|}}}|yes|align="right"|}}
{{ <!--see NOTE I3 below-->
<!-- ----------------------------------- Check name/side-->
#ifeq:{{{name|}}}|no||! {{{name|{{MediaWiki:Toc}}}}}{{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|:|}}
{{#ifeq:{{{side|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|{{!}}|{{!}}-}}}}
|{{#ifeq:{{{nobreak|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes||
<div style="
text-align
clear
:{{{
align
clear
|
left
both
}}};
">}}{{
<!
margin
-
- --------------------------------------- Check top -->
#ifeq
bottom
:
{{{top|}}}|yes|[[#top{{!}}Top]] 
.5em
;
{{{sep| }}}|}} {{
<!-- --------------------------------------- Prefix headers--
(see NOTE P2 below) -->
#if
float
:{{{
pre1|{{{preSec1
align
|
none
}}}
}}}|[[{{{pre1link|{{{preSec1link|#{{{pre1|{{{preSec1|}}}}}}}}}}}}{{!}}{{{pre1name|{{{preSec1name|{{{pre1|{{{preSec1|}}}}}}}}}}}}]] 
;{{
{sep| }}}|}} {{
#if:{{{pre2|{{{preSec2|}}}}}}|[[{{{pre2link|{{{preSec2link|#{{{pre2|{{{preSec2|}}}}}}}}}}}}{{!}}{{{pre2name|{{{preSec2name|{{{pre2|{{{preSec2|}}}}}}}}}}}}]] {{{sep| }}}|}} {{
#if:{{{pre3|{{{preSec3|}}}}}}|[[{{{pre3link|{{{preSec3link|#{{{pre3|{{{preSec3|}}}}}}}}}}}}{{!}}{{{pre3name|{{{preSec3name|{{{pre3|{{{preSec3|}}}}}}}}}}}}]] {{{sep| }}}|}} {{
#if:{{{pre4|{{{preSec4|}}}}}}|[[{{{pre4link|{{{preSec4link|#{{{pre4|{{{preSec4|}}}}}}}}}}}}{{!}}{{{pre4name|{{{preSec4name|{{{pre4|{{{preSec4|}}}}}}}}}}}}]] {{{sep| }}}|}} {{
#if:{{{pre5|{{{preSec5|}}}}}}|[[{{{pre5link|{{{preSec5link|#{{{pre5|{{{preSec5|}}}}}}}}}}}}{{!}}{{{pre5name|{{{preSec5name|{{{pre5|{{{preSec5|}}}}}}}}}}}}]] {{{sep| }}}|}} {{
#if:{{{pre6|{{{preSec6|}}}}}}|[[{{{pre6link|{{{preSec6link|#{{{pre6|{{{preSec6|}}}}}}}}}}}}{{!}}{{{pre6name|{{{preSec6name|{{{pre6|{{{preSec6|}}}}}}}}}}}}]] {{{sep| }}}|}} {{
#if:{{{pre7|{{{preSec7|}}}}}}|[[{{{pre7link|{{{preSec7link|#{{{pre7|{{{preSec7|}}}}}}}}}}}}{{!}}{{{pre7name|{{{preSec7name|{{{pre7|{{{preSec7|}}}}}}}}}}}}]] {{{sep| }}}|}} {{
#if:{{{pre8|{{{preSec8|}}}}}}|[[{{{pre8link|{{{preSec8link|#{{{pre8|{{{preSec8|}}}}}}}}}}}}{{!}}{{{pre8name|{{{preSec8name|{{{pre8|{{{preSec8|}}}}}}}}}}}}]] {{{sep| }}}|}} {{
<!-- --------------------------------------- Check prebreak-->
#if:{{{prebreak|}}}|{{{prebreak}}}}} {{
<!-- --------------------------------------- Check symbols -->
#ifeq:{{
{sym|}}}|yes|[[#!$@|!$@]]|}} {{
<!-- --------------------------------------- Check numbers -->
#ifeq
lc
:{{{
num
align
|}}
}|yes|{{{0-9|[[#0–9|0–9]]
}}}|
}} {{#ifeq:{{{symnum
right
|
}}}|yes|[[#!–9|!–9]]|
<!
margin
-
- --------------------------------------- List letters -->
}} {{{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
left
:
{{{nobreak|{{#ifeq:{{{1}}}|short1|yes|}}}}}|yes| |<br />}}{{
<!-- ------------------------------ Check after-header1 -
(see NOTE C2 below) -->
#if:{{{custom1|{{{Sec1|}}}}}}|[[{{{custom1link|{{{Sec1link|#{{{custom1|{{{Sec1|}}}}}}}}}}}}{{!}}{{{custom1name|{{{Sec1name|{{{custom1|{{{Sec1|}}}}}}}}}}}}]] |}}{{
<!-- ------------------------------ Check after-header2
2
.
..-->
#if:{{{custom2|{{{Sec2|}}}}}}|{{{sep| 
5em
;
}}} [[{{{custom2link
|{{
{Sec2link|#{{{custom2|{{{Sec2|}}}}}}}}}}}}{{!}}{{{custom2name|{{{Sec2name|{{{custom2|{{{Sec2|}}}}}}}}}}}}]] |}}{{
#if:{{{custom3|{{{Sec3|}}}}}}|{{{sep| }}} [[{{{custom3link|{{{Sec3link|#{{{custom3|{{{Sec3|}}}}}}}}}}}}{{!}}{{{custom3name|{{{Sec3name|{{{custom3|{{{Sec3|}}}}}}}}}}}}]] |}}{{
#if:{{{custom4|{{{Sec4|}}}}}}|{{{sep| }}} [[{{{custom4link|{{{Sec4link|#{{{custom4|{{{Sec4|}}}}}}}}}}}}{{!}}{{{custom4name|{{{Sec4name|{{{custom4|{{{Sec4|}}}}}}}}}}}}]] |}}{{
#if:{{{custom5|{{{Sec5|}}}}}}|{{{sep| }}} [[{{{custom5link|{{{Sec5link|#{{{custom5|{{{Sec5|}}}}}}}}}}}}{{!}}{{{custom5name|{{{Sec5name|{{{custom5|{{{Sec5|}}}}}}}}}}}}]] |}}{{
#if:{{{custom6|{{{Sec6|}}}}}}|{{{sep| }}} [[{{{custom6link|{{{Sec6link|#{{{custom6|{{{Sec6|}}}}}}}}}}}}{{!}}{{{custom6name|{{{Sec6name|{{{custom6|{{{Sec6|}}}}}}}}}}}}]] |}}{{
#if:{{{custom7|{{{Sec7|}}}}}}|{{{sep| }}} [[{{{custom7link|{{{Sec7link|#{{{custom7|{{{Sec7|}}}}}}}}}}}}{{!}}{{{custom7name|{{{Sec7name|{{{custom7|{{{Sec7|}}}}}}}}}}}}]] |}}{{
#if:{{{custom8|{{{Sec8|}}}}}}|{{{sep| }}} [[{{{custom8link|{{{Sec8link|#{{{custom8|{{{Sec8|}}}}}}}}}}}}{{!}}{{{custom8name|{{{Sec8name|{{{custom8|{{{Sec8|}}}}}}}}}}}}]] |}}{{
<!-- ---------------------------------- Check seealso-->
#ifeq:{{
{seealso|}}}|yes|{{{sep| }}} [[#See also{{!}}See also]] |}}{{
<!-- ---------------------------------- Check notesfirst-->
#ifeq
lc
:{{{
notesfirst
align
|}}}
|yes|{{{sep|
}}
} [[#Notes{{!}}Notes]]
|
}}{{
<!-- ---------------------------------- Check refs-->
#ifeq:{{{refs
left
|
{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes|{{{sep| }}} [[#References{{!}}References]] |}}{{
<!
margin
-
- ---------------------------------- Check notes-->
#ifeq
right
:
{{{notes|}}}|yes|{{{sep| }}} [[#Notes{{!}}Notes]] 
2.5em
;|
}}{{
<!--
---------------------------------- Further reading
align=none
-->
#ifeq:{{{further|
}}}
|yes|{{{sep|
}
}} [[#Further reading{{!}}Further reading]] |}}{{
<!-- ---------------------------------- Check extlinks-->
#ifeq
width
:{{{
extlinks
width
|
auto
}}}
|yes|{{{sep| 
;
}}} [[#External links{{!}}External links]]|}}{{
<!-- ================================== Check invalid words-->
#ifeq:{{{break|x}}}|x||<br />
[[Template:Compact ToC]] – Invalid parameter
"
{{!bxt|{{para|break}}}}" – try {{bxt|{{para|nobreak|y}}}}.
}}
{{#
ifeq
if
:{{{
centre
limit
|
x
}}}|
x||<br>
[[Template:Compact ToC]] – Invalid parameter
class=
"
toclimit-
{
{!bxt|
{{
para
limit
|
centre}
}}}"
– try {{bxt|{{para|center|y
}}
}}.
}}{{#ifeq:{{{Top|x}}}|x||<br /
>
[[Template:Compact ToC]] – Invalid parameter "{{!bxt|{{para|Top}}}}" – try lowercase {{bxt|{{para|top|y}}}}.
}}{{#ifeq:{{{ref|x}}}|x||
__TOC__
<
br
/
div
>
[[Template:Compact ToC]] – Invalid parameter "{{!bxt|{{para|ref}}}}" – try plural {{bxt|{{para|refs|y}}}}.
}}{{#ifeq:{{{Ref|x}}}|x||
<
br /
noinclude
>
[[Template:Compact ToC]] – Invalid parameter "
{{
!bxt|{{para|Ref
doc
}}
}}" – try lowercase and plural {{bxt|{{para|refs|y}}}}.
}}{{#ifeq:{{{note|x}}}|x||<br />
[[
Template
Category
:
Compact ToC]] – Invalid parameter "{{!bxt
Utility templates
|{{
para|note
PAGENAME
}}
}}" – try plural {{bxt|{{para|notes|y}}}}.
}}{{#ifeq:{{{ext|x}}}|x||<br />
[[Template:Compact ToC
]]
– Invalid parameter "{{!bxt|{{para|ext}}}}" – try {{bxt|{{para|extlinks|y}}}}.
}}{{#ifeq:{{{extlink|x}}}|x||<br />
[[Template:Compact ToC]] – Invalid parameter "{{!bxt|{{para|extlink}}}}" – try plural {{bxt|{{para|extlinks|y}}}}.
}}</div>
|}__NOTOC__<noinclude>
{{documentation}}
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~NOTES:
~~
~~ NOTE C2: Parameter "custom1=zzz" or "Sec1=zzz" shows first
~~ subheader "zzz" after the "0-9 A B C D...".
~~
~~ NOTE I3: If-statements can be indented by leaving "{{" at
~~ end of previous line and put "#if:" on next line;
~~ otherwise indented lines become quote-boxes.
~~
~~ NOTE P2: Parameter "pre1=xxx" shows first subheader "xxx"
~~ before the condensed "0-9 A B C..." appears.
~~
~~ NOTE S2: Parameter "sep=·" defines the separator
~~ string displayed between subheaders (not letters).
~~ It defaults to a single space, "sep= ".
~~
~~ NOTE V9: Coded for MediaWiki language 1.11.1 (Jan.2008);
~~ wiki-format now omits HTML comments on web xfer.
~~HISTORY:
~~ 2009-01-10 Added parameters: sep=· and prebreak=<br>.
~~ 2009-01-10 Added parameters: 3 more custom6, custom7, custom8.
~~ 2009-01-10 Added parameters: 3 more custom6link...custom8link.
~~ 2009-01-10 Added parameters: 3 more custom6name...custom8name.
~~ 2009-01-10 Added parameters: pre1, pre2, pre3... pre7, pre8.
~~ 2009-01-10 Added parameters: pre1link, pre2link ... pre8link.
~~ 2009-01-10 Added parameters: pre1name, pre2name ... pre8name.
~~ 2009-01-10 Added parameters: preSec1, preSec2, ... preSec8.
~~ 2009-01-10 Spot invalid keywords: Top/ref/Ref/note/ext etc.
~~ 2009-01-10 Added NOTES comments to explain template coding.
~~ 2009-01-10 Added HISTORY comments to log major changes.
~~ 2011-07-01 Added Further reading
~~ 2012-03-13 Misc. code cleanup
~~[These comment lines are not transcluded.]
~~
~~End Template:Compact_ToC -->
</noinclude>
← Older edit
Newer edit →
Admin
Bureaucrat
,
administrator
17,658
edits
Navigation menu
Personal tools
13.58.39.129
Talk for this IP address
Log in
Namespaces
Special page
Variants
Views
More
Search
The Compendium
Sections
Found in Britain
Wargear
Clothing
Jewellery
Household
Art & Manuscripts
Literature
Museums
Archaeological sites
Bibliography
Navigation
Site Map
Images
Recent changes
Random page
Help
Tools
Special pages
Printable version