Template talk:Note
Contents |
Fresh Mediawiki installs [edit]
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
</td><td valign="top" style="padding-left:0.5em;"> Note: </td><td valign="top" style="padding-left:0.5em;"> This is the 2nd method </td></tr></table>
-
- 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)
- The 1st method works ok though. Ubuntu 8.04.1, Mediawiki 1.11.2, ParserFunctions (version 1.1.1)
-
- An update to the above. I have upgraded to MW 1.13.2 and performed a full upgrade and it now works!!
- 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)
-
Note:Remember to edit MediaWiki:Common.css if necessary.
Doubled in text browsers [edit]
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 [edit]
This from the Semantic MediaWiki page:
{{note|Version 1.6.0 is fully functional. Image queries are [https://bugzilla.wikimedia.org/show_bug.cgi?id=30494 broken in 1.6.1].}}
Gives only the bulb without text:
Note:
- Hi, do this:
-
{{note|1=Version 1.6.0 is fully functional. Image queries are [https://bugzilla.wikimedia.org/show_bug.cgi?id=30494 broken in 1.6.1].}} -
Version 1.6.0 is fully functional. Image queries are broken in 1.6.1.
- Cheers --[[kgh]] 00:09, 26 January 2012 (UTC)
Messed up source? [edit]
When i look in the source the first line is like this:
{{#if: {{{1|}}}|<div class="block-note"><span class="block-contents">|[[File:Bulbgraph.png|18px|Note|link=]]}} '''Note:''' {{#if: {{{1|}}}|{{{1}}}</span></div>}}
the code is messed up , | in wrong places. Why is that?
--Earthdog (talk) 19:44, 31 May 2012 (UTC)
What is a note? [edit]
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:
{{tip}}''Bla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla.''
Result:
Note:Bla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla.
With left aligning text:
{{tip|Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.}}
Result:
Before it was used like this: inline Template:TestNoteBla bla bla bla bla bla bla bla blabla bla bla bla bla bla bla
Or with left aligning text: Template:TestNote
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)
-
- 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:
- 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 [edit]
This template breaks when in a list, probably because of the newline. See Manual:Extensions#Installing an extension. –ultradude25 (T|C) at 16:43, 2 July 2012 (UTC)
Done Thanks, Removed line break. Krinkle (talk)