Jump to content

Template talk:

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:•/doc)

The code for this template

[edit]

For discussions and motivations why we have the code we have for this template see Template talk:·, since it uses the same or similar code.

--David Göthberg 12:48, 15 August 2007 (UTC)[reply]

Category fix

[edit]

{{editprotected}}

We have now figured out how to handle the category sorting problem for these templates that uses a symbol as name. User:MrDolomite added the fix to the category handling code at the /doc subpage. (If you want to see this solution at work see the code for {{·}}, the category code at the bottom of its documentation page and how that template is sorted in Category:Wikipedia formatting templates.)

I have also updated the code to use the new {{documentation}} template.

Here is the new code for this template.

PLEASE NOTE! Only cut and paste this code from the edit window, not from what you see here. Otherwise it will malfunction!


<includeonly> • </includeonly><noinclude>
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

--David Göthberg (talk) 15:38, 12 March 2008 (UTC)[reply]

checkY Done - Nihiltres{t.l} 18:11, 12 March 2008 (UTC)[reply]

Question

[edit]

I just realized that bullets actually render as pilcrows in Safari when this template is used. Any idea why? Is this just a glitch in my system? Fvasconcellos (t·c) 11:27, 31 October 2008 (UTC)[reply]

I checked the code and history of this template, and it still has the same very simple code that it had for a year now. So yes, it is probably a glitch in your end. Perhaps you are using a character set in your browser that doesn't have the bullet character?
But let's do a test. Do you see any pilcrow symbols here?:
1:   2: • 3: • 4:  • 5:  • 6: aa • 7: bb • 8: salt • 9: pepper • 10: curry• 11: saffron• 12:  • 13: cc • 14: salt •
There should be no visible content for test example 1. And yes, the spacing in the test examples is supposed to be pretty weird. Since this test mostly doesn't test the template itself, but the different parts of it. To provoke your glitch you might have to pull the size of your browser window so it becomes smaller and smaller so the test items line wrap. So, do you see the glitch? And when and where do you see it?
--David Göthberg (talk) 14:51, 31 October 2008 (UTC)[reply]
No, all normal. I checked the first template I could think of that transcludes this ({{Alternative medical systems}}) and it also looks fine... Maybe my browser encoding was set wrong. Never mind, and thanks :) Fvasconcellos (t·c) 19:33, 31 October 2008 (UTC)[reply]

Space

[edit]

Why is there a space after the •? C Teng(talk) 02:55, 14 February 2010 (UTC)[reply]

So it can line wrap after the bullet. The whole point of this template is to handle line wrapping. If you just need a bullet without line wrapping then it is easier and better to simply use a bullet directly.
--David Göthberg (talk) 23:33, 14 February 2010 (UTC)[reply]
I just changed the space to & #32; because the space was being swallowed up in a template I have been working on. — Martin (MSGJ · talk) 21:36, 13 May 2010 (UTC)[reply]

Why should there be a space after it in Normal Usage, though, since the space is already contained in the template? That is, why is the normal usage foo{{bull}} bar instead of foo{{bull}}bar? —[AlanM1 (talk)]— 17:04, 8 May 2012 (UTC)[reply]

I would say code readability. You can actually put more than one space, for even bigger separation between items, and the template will see to that only one space is the output. Ponken (talk) 11:03, 11 June 2024 (UTC)[reply]

Edit request from 207.46.204.102, 3 September 2010

[edit]
  1. REDIRECT Template:Edit protected/preload

RUBBISH CHECK YOURSELF... —Preceding unsigned comment added by 190.213.79.195 (talk) 01:35, 3 September 2010 (UTC)[reply]

How to add * to shortcuts?! it creates an error

[edit]

Adding * to {{Template shortcut|bull|bullet}} creates an error, trying to use {{*}} and <nowiki>{{*}}</nowiki> was unsuccessful. Thanks in advance.--Editor-1 (talk) 05:58, 22 August 2020 (UTC)[reply]

Where are you trying to do this? --Redrose64 🌹 (talk) 11:47, 22 August 2020 (UTC)[reply]
Template:•/doc, I did want to open this thread in Template talk:•/doc but it is a redirect to Template talk:• (here!!)--Editor-1 (talk) 15:23, 22 August 2020 (UTC)[reply]
Done. --Redrose64 🌹 (talk) 20:41, 22 August 2020 (UTC)[reply]
 Thanks--Editor-1 (talk) 00:17, 23 August 2020 (UTC)[reply]