Template talk:Col-3

(Redirected from Template talk:Col-3/sandbox)
Latest comment: 14 years ago by Thumperward in topic interwiki

Edit request

edit

{{editprotected}}
Here is the new code:

<includeonly><p></p>
| width="33.33%" align="{{{align|left}}}" valign="{{{valign|top}}}" |</includeonly><noinclude>
{{protected template}}
{{template doc|Col-begin/doc}}
</noinclude>

16@r 22:17, 19 October 2007 (UTC)Reply

 Y Done - Nihiltres(t.l) 14:16, 20 October 2007 (UTC)Reply

Template Documentation

edit

{{editprotected}}

can we have Template:Col-begin/doc transcluded onto the page as it provides more information and how to use it. Thanks. Peachey88 (Talk Page | Contribs) 07:56, 15 December 2007 (UTC)Reply

Done. Thanks, mattbr 10:05, 15 December 2007 (UTC)Reply

width is invalid

edit

{{editprotected}}

width="33.33%"

is invalid code; html's width attribute doesn't take real numbers. This should change to;

style="width: 33.33%;"

The other attributes could (and should), of course, be done with CSS, but they're syntactically correct and will do for now. nb: there are other col templates about that need tweaking, too, such as Template:Col-6 and Template:Col-7... same fix. Cheers, Jack Merridew 06:43, 29 December 2008 (UTC)Reply

  Done Ruslik (talk) 16:55, 3 January 2009 (UTC)Reply
Terima kasih; I fixed the others — had not noticed that they were unprotected. I did the ones I found on sl:wp, too. Cheers, Jack Merridew 07:28, 4 January 2009 (UTC)Reply

Extra Whitespace Creation

edit

{{editprotected}} <p></p> is unnecessary.174.3.111.148 (talk) 16:57, 3 November 2009 (UTC)Reply

  Not done. The renderer doesn't actually output these p's, if you look into the html. I suspect there purpose is to force the parser to make sure that the | for the table is guaranteed to be on a newline. After parsing, the p's are removed by htmltidy or something. —TheDJ (talkcontribs) 23:41, 3 November 2009 (UTC)Reply

interwiki

edit

{{editprotected}}

--Impro (talk) 06:27, 19 August 2010 (UTC)Reply

Disabling. Interwiki links on the templates go on the /doc page, which is not protected. The Russian link at least is already present. Chris Cunningham (user:thumperward: not at work) - talk 14:57, 19 August 2010 (UTC)Reply
The problem is that these templates do not yet have separate doc pages, so it is not possible to add interwiki links for the separate templates. — Martin (MSGJ · talk) 14:58, 19 August 2010 (UTC)Reply
I've split them. The best way to have shared content like this is to transclude it directly from the documentation, like the various hatnote templates do. Chris Cunningham (user:thumperward: not at work) - talk 15:02, 19 August 2010 (UTC)Reply
This seems a rather untidy way to do it. There is a lot of common content which makes sense to be in a central place. You've also left in the interwiki links for the other template. — Martin (MSGJ · talk) 15:20, 19 August 2010 (UTC)Reply
Look at how the hatnote templates do it: they all have their own doc pages, so that normal users can edit the documentation and add cats / language links, but they transclude {{Otheruses templates}} for most of the actual documentation. That's the best solution here as well, and less hackish than the old one was (not to mention requiring no editprotected requests). I'll do this myself when I get time. Chris Cunningham (user:thumperward: not at work) - talk 15:22, 19 August 2010 (UTC)Reply
Okay, that sounds like the best option I agree. I'll give you a hand when I get the time ;) — Martin (MSGJ · talk) 15:24, 19 August 2010 (UTC)Reply

All done. There may be some stray interwikis, but these can be resolved in due course. The new master doc for this kind of column template is {{column templates}}. Chris Cunningham (user:thumperward: not at work) - talk 08:59, 20 August 2010 (UTC)Reply