Difference between revisions of "Template:Category IP TOC"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(use more TOC-ish markup, which has the added benefit of getting hiding working)
imported>TheDJ
(switch from table to div model. remove align option (it wasn't used))
Line 1: Line 1:
__NOTOC__<table class="toc plainlinks" id="toc" {{#if:{{{align|}}}|align="{{{align}}}"}}>
+
__NOTOC__{{TOC top}}
<tr>
 
<td>
 
<div id="toctitle">
 
<h2>Contents</h2>
 
</div>
 
<div><div class="hlist" style="margin: auto">
 
 
* [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}}} Top]
 
* [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}}} Top]
 
* [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=1}} (IP range 1.x, 10.x, 100.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=2}} (2.x, 20.x, 200.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=3}} (3.x, 30.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=4}} (4.x, 40.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=5}} (5.x, 50.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=6}} (6.x, 60.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=7}} (7.x, 70.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=8}} (8.x, 80.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=9}} (9.x, 90.x)]
 
* [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=1}} (IP range 1.x, 10.x, 100.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=2}} (2.x, 20.x, 200.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=3}} (3.x, 30.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=4}} (4.x, 40.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=5}} (5.x, 50.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=6}} (6.x, 60.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=7}} (7.x, 70.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=8}} (8.x, 80.x)], [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=9}} (9.x, 90.x)]
</div></div>
+
{{TOC bottom}}<noinclude>
</td>
 
</tr>
 
</table><noinclude>
 
  
 
[[Category:Category namespace templates|{{PAGENAME}}]]
 
[[Category:Category namespace templates|{{PAGENAME}}]]
 
[[Category:Wikipedia category table of contents templates|{{PAGENAME}}]]
 
[[Category:Wikipedia category table of contents templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 16:48, 21 August 2013