Jump to content

Template:Category TOC: Difference between revisions

From cernipedia
try padding-right: 2em
{{{top}}} hasn't worked as documented since it was added in 2009, and judging by the edit summary I wouldn't be surprised if it came from another template where it also didn't work as expected
Line 1: Line 1:
<div style="display:block; margin-top: 1em; padding-right: 2em">{{TOC top|align={{{align|}}}}}{{#if:{{{top|yes}}}|
<div style="display:block; margin-top: 1em; padding-right: 2em">{{TOC top|align={{{align|}}}}}{{#ifeq:{{{top|yes}}}|yes|
* [{{fullurl:{{FULLPAGENAME}}}} Top]}}{{#ifeq:{{{numerals|group}}}|group|
* [{{fullurl:{{FULLPAGENAME}}}} Top]}}{{#ifeq:{{{numerals|group}}}|group|
* [{{fullurl:{{FULLPAGENAME}}|from=0}} 0–9]}}{{#ifeq:{{{numerals|group}}}|separate|
* [{{fullurl:{{FULLPAGENAME}}|from=0}} 0–9]}}{{#ifeq:{{{numerals|group}}}|separate|

Revision as of 10:31, 27 November 2020