Template talk:OTOC

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search

Revise

Would it be possible to use max-height instead of height so that it doesn't leave 200pxthe empty space? e.g. on Zelda Wiki:Image Requests, Timeline?

Also, it doesn't actually default to 200px width like the description says; In fact it would be very cramped if it did.

--KokoroSenshi (Talk | contribs) 04:40, 17 January 2016 (UTC)Reply[reply]

So I did the following changes:
  • height->max-height
  • The TOC has no margin-bottom normally, so I removed margin-bottom, and instead put {{Clear|left}}
  • (Noticed that the heading margins don't give a space with TOC (table), but not the div, which is why a margin or clear is needed. A few of the articles have {{Clear|left}} after the OTOC, so it should be appropriate instead of margin-bottom)
  • Removed the {{clear}} just inside the noinclude tag
  • Changed the headings to Purpose and Usage, for consistency
  • Added to Purpose: This template will automatically Clear left below the table of contents.
  • Changed in Usage: Defaults to 200 pixels -> Defaults to auto (i.e. unspecified)
  • (Noticed that float:left is needed or else the scrollbar goes to the far right)
--KokoroSenshi (Talk | contribs) 02:01, 20 January 2016 (UTC)Reply[reply]