Template talk:Note/Archive

Fresh Mediawiki installs
This template seems to be problematic for fresh Mediawiki installs. I imported User Help into my own wiki and this template doesn't seem to work correctly. I've tried to modify it but I lack the proper MW coding skills to make it work. Is there any way this template can be simplified to work with a fresh install? --64.107.156.234 17:04, 21 May 2008 (UTC)


 * You're probably missing out the ParserFunctions extension. -- Sayuri 17:25, 21 May 2008 (UTC)


 * I had the same problem (with v1.12 after adding the Note template), it was showing something like {{#IF {{... the code itself and munging pages that used the note template rather than working properly. Thanks, Sayuri! AndrewQuee 02:36, 7 August 2008 (UTC)


 * It's partially working for me. Have installed ParseFunctions but now the {{Note|this is the second method}} does not work as it is somehow missing the 2nd part of the end table.  the output now looks like

 Note:  This is the 2nd method
 * The 1st method works ok though. Ubuntu 8.04.1, Mediawiki 1.11.2, ParserFunctions (version 1.1.1) Roddersg 08:25, 11 December 2008 (UTC)


 * An update to the above. I have upgraded to MW 1.13.2 and performed a full upgrade and it now works!!

Roddersg 08:25, 11 December 2008 (UTC)
 * {{tip}}Remember to edit MediaWiki:Common.css if necessary.

Doubled in text browsers
Looks terrible: $ w3m -dump Template:Note |grep Note\ Note Note Note: Note Note: Here is my note. Note Note: Here is a long note, which is sufficiently wordy to run onto a Jidanni 17:22, 1 December 2008 (UTC)

Does not always display text
This from the Semantic MediaWiki page:

Gives only the bulb without text:


 * Hi, do this:
 * Cheers --&#91;&#91;kgh&#93;&#93; 00:09, 26 January 2012 (UTC)
 * Cheers --&#91;&#91;kgh&#93;&#93; 00:09, 26 January 2012 (UTC)
 * Cheers --&#91;&#91;kgh&#93;&#93; 00:09, 26 January 2012 (UTC)

Messed up source?
When i look in the source the first line is like this:

Note:

the code is messed up, | in wrong places. Why is that?

--Earthdog (talk) 19:44, 31 May 2012 (UTC)

What is a note?
The recent changes to this template make it less usable than before. It was an "in line" note like the Warning template. It could be used anywhere in the text and had the option on keeping the left aligned if you needed that functionality. I prefer that it stays that way and that we don't make these simple templates to complicated. The way it is now messes up all notes used on this Wiki because it is not "in line" anymore. A Note is a Note, a Tip is a Tip, a Error is a Error and a Gotcha is a Gotcha. That way we keep them simple and easy to use. That is my humble opinion.

How do we solve this? --Felipe de Jong (talk) 11:39, 2 July 2012 (UTC)
 * I agree they should stay simple, but I disagree that maintaining 4 different templates makes it any simpler. Can you point to examples where this is currently breaking? We can also add a simple parameter to show only the inline text with icon, and otherwise the entire box (and use that from the other inline templates, so that one doesn't have to use an inline "inline" parameter in the page and stay backwards compatible). Krinkle (talk) 12:06, 2 July 2012 (UTC)


 * I quickly found a couple of examples. In Manual:User groups table & Extension default namespaces. In Manual:User groups table Both options are used.

Inline: Bla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla. Result:

Bla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla.

With left aligning text:

Result:

Before it was used like this: inline Bla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla

Or with left aligning text:

I made the Template:TestNote for your reference. And it still "needs" Mediawiki:common.css. Regards --Felipe de Jong (talk) 13:06, 2 July 2012 (UTC)
 * The left-align wrapping has been fixed. Krinkle (talk) 16:21, 2 July 2012 (UTC)


 * Dear Krinkle, now I am getting confused. Is a Note a Tip now (you changed Note to Tip in my example)? A assume we are discussing the Note template here not the Tip template. At this moment the Note template is broken, it does not display the bulb anymore when used inline.
 * I prefere that these templates stay the way they are, simple, but like said before that is my humble opinion. If we do change this template at least we start with something that works and does at least the same thing as the original.
 * Some points to think about:
 * In most cases the Note template is used inline, inside paragraphs. In this case it is not handy and not wanted that there is a box around the note.
 * The Note template is used inside tables. Do we really want another box inside a table?
 * If we want to improve and merge all these "simple" templates we should first think about it. We could start by making the Template:Message which can call the different "simple" templates. If that then works we can start using the new one.
 * Some templates concerned:
 * Template:Warning
 * Template:Note
 * Template:Caution
 * Because it is broken at the moment I changed the template back to the way it was before, more or less. --Felipe de Jong (talk) 06:00, 4 July 2012 (UTC)

Breaks in lists
This template breaks when in a list, probably because of the newline. See Manual:Extensions. –ultradude25 (T&#124;C) at 16:43, 2 July 2012 (UTC)
 * ✅ Thanks, Removed line break. Krinkle (talk)