User talk:Johan G/Messagebox style sandbox

From FlightGear wiki
Jump to navigation Jump to search

Early requests

Idea from IRC

IRC tip from F-JJTH: We already have {{note|blablabla}} we could have {{warning|blablabla}} {{tip|blablabla}}

Was added already to the first revision of the page, dated 12 November 2013, 00:12 (UTC).

Messagebox for translated pages/portals

We should probably be using one of those message boxes for any translated pages, i.e. whenever a user is viewing a translated, non-English, page/article or portal, I think it is generally a good idea to point out to new users that they're using a translated version, and that the latest information is usually to be found in the English section of the wiki (ideally, linking back to it), otherwise it is easy to get the impression that the wiki is lacking content in some language - due to translated pages/portals not having as much content.--Hooray (talk) 20:09, 14 November 2013 (UTC)


Looking at the list of messageboxes I did the other day, Help:List of messagebox templates, it seems that there is no general box to inform a reader that he is looking at a translation, where to find the original page, and how old it might be. There is definitively a need for that.
There seems to only be a very specific one, {{changelog translation}}. Otherwise there is only a template indicating a need for translation, {{UpdateTranslation}}, and one to indicate that translation is in progress, {{BeingTranslated}}.
I doubt most editors would add that, but if they would add a permalink in a parameter it could most probably be possible to show a warning if an original page have been updated, and even put it in a dated category with articles needing translation. The warning might come too often and become ignored though. Tricky thing, the human mind is.
It was by the way after I made that list of messageboxes I started this page, the need seemed urgent. I hope to, in a couple of weeks, be able to put together a meta template that will simplify creating more standardized an more functional message boxes. I am currently trying to wrap my head around some concepts that are new to me, most exotic, but probably very helpful, is category suppression. There are a few meta templates for that, see Category:Namespace templates, imported to this wiki by Gijs in (November?) 2012, but many of them are yet undocumented, though I documented the easier ones tonight, and made a few extra ones.
Johan G (Talk | contribs) 01:58, 15 November 2013 (UTC)


It struck me that a translation template technically could be made that worked like follows: When added to a page lacking a translation, together with a parameter with a suitable name for the translated page, it would show a messagebox about that a translation is available and present at first a red link that when clicked would open up an edit box.
The edit box could be pre-loaded with the content of the current page, but under the name of the translated page. A category and a messagebox that informs the reader that the page is a translation could also automatically be added, as well as a messagebox telling that a translation is in progress in case an editor would not translate the whole page at once.
I think all of the above is quite possible.
Johan G (Talk | contribs) 17:11, 15 November 2013 (UTC)

Changing style names

I just realised a couple of things. First that I probably should use the word "note" instead of "notice", though the difference is rather little. Secondly that in aircraft there seem to be "warnings" and "cautions" and that's about it (FAA AC 25-11A, p 45), and I wanted to emulate aircraft indications so I will probably change style names accordingly. A bit of pedantry I know, but that is the way I want it.

In real life terms a warning "Highlights an essential operating or maintenance procedure, practice, condition, statement, etc, which, if not strictly observed, could result in injury to, or death of, personnel or long term health hazards." (MIL-STD-38784A, p. 7) an a caution "Highlights an essential operating or maintenance procedure, practice, condition, statement, etc.., which, if not strictly observed, could result in damage to, or destruction of, equipment or loss of mission effectiveness." (p.4).

I will also either be breaking out the "Immediate" style from this effort or rename it to for example "Speedy", as I was aiming at that style would only be used for the speedy delete template. Breaking it out will simplify things though even so slightly.

I am considering taking in the merge templates in this as their style is slightly different, though I might go for a "Neutral" style, in essence one without any specific colouring.

Johan G (Talk | contribs) 14:06, 25 May 2014 (UTC)

Tick icon Implemented, except for that I did not change the name of the "Notice" style.
Johan G (Talk | contribs) 15:11, 25 May 2014 (UTC)
Done Done Found the reference I would have wanted to see in the first place mentioning the words warning, caution and note. FAA AC 25.1581-1 - Airplane Flight Manual (pdf).
Johan G (Talk | contribs) 02:57, 2 June 2014 (UTC)