Template talk:TOC right

Redundant?
Template:TOCright. &mdash;Dr Ishmael 01:08, 7 July 2008 (UTC)
 * Argh. I was looking for that one. Unfortunately, I failed. Ah well. --◄mendel► 02:01, 7 July 2008 (UTC)
 * Wasn't sure if that was the case or if you were intentionally creating a duplicate. Should this one be deleted then, or what?  &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 13:47, 7 July 2008 (UTC)
 * Hmm, could as well take the time to ponder which version is better.
 * works, too - in fact, that is the version I would prefer. Make "TOC right" a redirect to "TOCright" and keep Category:Subst, is my suggestion. --◄mendel► 14:28, 7 July 2008 (UTC)
 * We don't need this at all. TOCright has been being used for ages where we needed a right TOC. Its not really obscure &mdash;♥ Jedi ♥ Rogue ♥ 19:24, 7 July 2008 (UTC)
 * So you say, kill the redirect. What about the category and the shorter text? --◄mendel► 21:14, 7 July 2008 (UTC)
 * I don't see why we need a redirect, either. Add the cat to TOCright, sure.  We can probably change it to a div, too, but we'd have to carry over the style attribute from the current table (which is necessary to ensure the proper placement of other elements around the TOC).  &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 23:30, 7 July 2008 (UTC)

(Reset indent) The case for "TOC right" is one of naming conventions. A naming convention enables one to find stuff "by default" - I would have found TOCright if we had a naming convention that always concatenates names like that. Do we? "BeastInfo", "QuestItem", "Skill box", "Effext box", "Shield begin info", "Quest-stub", "Unique-item-stub", "Location info", "CollectableCategory", "ElonianMissionProgression", "MonumentsNavBox". Guess we don't. The TOCs seem to be the only templates that have a concateneated name containing a lowercase word, though.

As concerns the style, I am quoting from Monobook's commonprint.css: div.floatright { float: right; clear: right; margin: 0; position:relative; border: 0.5em solid White; border-width: 0.5em 0 0.8em 1.4em; } versus TOCright: align="right" cellspacing="0" cellpadding="0" style="   clear:right;     margin-bottom: .5em;     float: right;     padding: .5em 0 .8em 1.4em;     background: none; It seems to me that the CSS white border achieves the same as the padding, and the only difference is the added 0.5em at the bottom. That is needed? --◄mendel► 05:31, 8 July 2008 (UTC)


 * I should've checked the site css before making that comment - yes, that looks like it will work perfectly. It should be tested in someone's sandbox to make certain it won't break anything, of course.  &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 01:42, 9 July 2008 (UTC)


 * It's been at the top of this page for days. =:-) --◄mendel► 01:45, 9 July 2008 (UTC)