Help talk:Templates: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Update mw links to use Template:Mediawiki)
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
{{unsigned|20:46, 15 October 2011|PH-JBO}}
{{unsigned|20:46, 15 October 2011|PH-JBO}}


:Agreed.  Current content should be moved to some kind of a list or gallery with templates, say ''Help:Template gallery'', while this page should be completely rewritten to reflect using, writing and documenting templates (though maybe only on a lower difficulty level and refer to [http://www.mediawiki.org/wiki/Help:Templates Mediawiki help pages] for the rest).
:Agreed.  Current content should be moved to some kind of a list or gallery with templates, say ''Help:Template gallery'', while this page should be completely rewritten to reflect using, writing and documenting templates (though maybe only on a lower difficulty level and refer to {{mediawiki|Help:Templates|Mediawiki help pages}} for the rest).
:—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 12:23, 9 August 2013 (UTC)
:—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 12:23, 9 August 2013 (UTC)


Line 18: Line 18:
== Template localisation ==
== Template localisation ==


I was wondering if we had a standard procedure to localise templates?  I would like to have French translations for {{tl|WIP}}, {{tl|note}}, {{tl|warning}}, and maybe {{tl|BeingTranslated}} for the [[Fr/FGAddon]] article.  I found this MediaWiki article:  https://www.mediawiki.org/wiki/Template_localisation, however it is not very informative.
I was wondering if we had a standard procedure to localise templates?  I would like to have French translations for {{tl|WIP}}, {{tl|note}}, {{tl|warning}}, and maybe {{tl|BeingTranslated}} for the [[Fr/FGAddon]] article.  I found this MediaWiki article:  {{mediawiki|Template localisation}}, however it is not very informative.
—[[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 06:35, 8 October 2015 (EDT)
—[[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 06:35, 8 October 2015 (EDT)


Line 28: Line 28:
::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 21:54, 8 October 2015 (EDT)
::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 21:54, 8 October 2015 (EDT)


:: Awesome, the {{tl|WIP}} translation as seen on [[Fr/FGAddon]] works beautifully :)  I hope I don't break things!  Unfortunately I cannot edit and translate {{tl|Note}}.  It says: ''"You do not have permission to edit this page, for the following reason:  This page has been protected from editing because it is included in the following page, which is protected with the "cascading" option turned on:  [[FlightGear Newsletter April 2015]]"''.  Is there a way to unlock it?  For French it doesn't need changing, but translations are needed for other languages.
: ''Parts of the discussion was moved to [[FlightGear wiki:Village pump#Template translations]] ([http://wiki.flightgear.org/index.php?title=FlightGear_wiki:Village_pump&oldid=88123#Template_translations perm]), as it begun to refer to more than just [[Help:Templates]].''
:: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 08:25, 8 October 2015 (EDT)
 
::: Hooray accidentally enabled "cascading" there, I've disabled it now, so please try again.
::: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 10:48, 8 October 2015 (EDT)
 
:::: Cheers, that worked. I have now translated {{tl|WIP}}, {{tl|note}}, {{tl|caution}}, {{tl|warning}}, and {{tl|BeingTranslated}} to be available in English, French, and German. Not being a French or German native speaker, there is room for improvement here.
:::: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 11:00, 8 October 2015 (EDT)
 
:::: I've now also translated the {{tl|tip}} template into French and German.  Are there any more from the {{tl|tip}}, {{tl|note}}, {{tl|caution}}, {{tl|warning}}, {{tl|BeingTranslated}} series?  I'd like to add an example section in [[Help:Templates]] to help reveal the colourful existence of this useful set of related templates.
:::: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 06:40, 9 October 2015 (EDT)
 
:::: Something like:
:::: {{BeingTranslated}}
:::: {{tip|If you do it this way, your life will be easier.}}
:::: {{note|Do not forget to run this command.}}
:::: {{caution|If you run this command incorrectly, your harddrive will be erased.}}
:::: {{warning|Do not delete all FGAddon aircraft.}}
:::: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 06:49, 9 October 2015 (EDT)
 
::::: There is a gallery with templates, [[Help:Gallery of messagebox templates]], showing examples of (hopefully) all the ''messagebox'' templates.  See also the [[Help talk:Gallery of messagebox templates#Splitting up the examples based on placement|note]] on its discussion page.  I guess the galleries can be advertised more. ;-)
::::: Regarding the very varying style of all of them, I was at one time working on improving that, see [[User:Johan G/Messagebox style sandbox]], but I somehow got discouraged and/or distracted...
::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 11:54, 9 October 2015 (EDT)

Latest revision as of 16:37, 6 March 2016

This page should be about how to use and write templates

I'd like to see this page be changed to what it tells, how to use a template, how to make one. Perhaps include (part of the) the list from Special:UncategorizedTemplates and the use of them.

Current content can be dropped, no probs.

This unsigned comment was added by PH-JBO (Talk | contribs) 20:46, 15 October 2011 (UTC)

Agreed. Current content should be moved to some kind of a list or gallery with templates, say Help:Template gallery, while this page should be completely rewritten to reflect using, writing and documenting templates (though maybe only on a lower difficulty level and refer to Mediawiki help pages for the rest).
Johan G (Talk | contribs) 12:23, 9 August 2013 (UTC)
I have now written Help:List of messagebox templates and have moved those templates to that page (and added a lot more of them there). They could need a bit of standardisation though, but that is another story.
Johan G (Talk | contribs) 08:46, 7 November 2013 (UTC)


Done Done I have now more or less completely rewritten the page (diff). It is now a help page proper, though there could still be more done.
Johan G (Talk | contribs) 02:14, 10 November 2013 (UTC)

Template localisation

I was wondering if we had a standard procedure to localise templates? I would like to have French translations for {{WIP}}, {{note}}, {{warning}}, and maybe {{BeingTranslated}} for the Fr/FGAddon article. I found this MediaWiki article: mw:Template localisation, however it is not very informative. —Bugman (talk) 06:35, 8 October 2015 (EDT)

See {{LangSwitch}}. For examples: {{News}}, {{GitStatus:open}}, {{Did you know}}...
Gijs (talk) 07:40, 8 October 2015 (EDT)
See also the section #Translating templates on the help page. ;-)
I just made a few changes to make it more comprehensive.
Johan G (Talk | contribs) 21:54, 8 October 2015 (EDT)
Parts of the discussion was moved to FlightGear wiki:Village pump#Template translations (perm), as it begun to refer to more than just Help:Templates.