Template talk:Col-3
This template was considered for deletion on 2017 March 3. The result of the discussion was "keep". |
Template:Col-3 is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
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)
- Done - Nihiltres(t.l) 14:16, 20 October 2007 (UTC)
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)
- Done. Thanks, mattbr 10:05, 15 December 2007 (UTC)
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)
- 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)
Extra Whitespace Creation
edit{{editprotected}} <p></p> is unnecessary.174.3.111.148 (talk) 16:57, 3 November 2009 (UTC)
- 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 (talk • contribs) 23:41, 3 November 2009 (UTC)
interwiki
edit{{editprotected}}
--Impro (talk) 06:27, 19 August 2010 (UTC)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
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)