Template talk:Auxiliary Table of Contents

Default to full width
All other auxillary content has full width. I think this looks silly when seen between full width headers and footers. Can we default width to 100% please?

Hesperian 00:11, 29 July 2016 (UTC)


 * Bear in mind the content (currently left-aligned) is going to look lonely in a huge box unless some effort is taken to block-centre content as well (in which case the argument pretty much comes full-circle.)
 * The current default makes the non-original nature of the synthesised content distinct from "per scan" items.
 * There is already the possibility of setting  without second-guessing the layouts settled upon by prior editors (who may not be around to defend their decisions.)
 * If you are sure you want to proceed I offer no further objections. AuFCL (talk) 03:53, 29 July 2016 (UTC)

Responsive design
Having a a fixed width, the TOC currently generated by the template is not responsive and it's scaled together with the text content, see the screenshots above. This should fix it, without any change to appearance if not responsiveness (and it makes use only of one table instead of two): I'd personally make a few minor other tweaks to improve appearance, but we can see them later. —Esponenziale (talk) 22:37, 28 August 2018 (UTC). Edited 08:43, 29 August 2018 (UTC)

This is the modification I would consider to improve appearance (green background extends to full width, as the other div using subhadertemplate) and to simplify code: It goes without saying that this design is responsive. Let me know if there's anyone not agreeing on this. —Esponenziale (talk) 11:36, 2 September 2018 (UTC)

Following discussion at Scriptorium I'd like to point out the three (minor) reasons for extending the green background to full width. I recognize that these are minor arguments and I'm ready to give up if anyone disagrees. —Esponenziale (talk) 13:58, 10 September 2018 (UTC)
 * 1) It would allow not to introduce any left and right padding around the text to separate it from the border. This padding ends up taking up room without reason in ePubs, where the green background and border are not applied since class "subheadertemplate" is not exported there.
 * 2) Template:Center block doesn't support a class argument, therefore, in order to apply the green background and border while keeping the green box centered, we would have to give up to some style parametrization: either we use the block center template duplicating there (in its style argument) the style of class subheadertemplate, or we use a div with class subheadertemplate duplicating there the style of block center template.
 * 3) All other templates used for the navigation of the subpages have class subheadertemplate and full width, therefore it seems pretty ok to me to render this template at full width as well.

Noting use with template:dtpl
When one is wrapping template:dtpl that template utilises a forced white template by default, to override that you will need apply the formatting to that template. — billinghurst  sDrewth  11:54, 7 April 2020 (UTC)