User talk:Bugman: Difference between revisions
(→The /info template: new section) |
|||
Line 48: | Line 48: | ||
It seems the new template for the aircraft info box or <aircraft>/info page doesn't show '_' (underscore) in the --aircraft= field. The old info box template did so it is probably a bug? [[User:AndersG|AndersG]] ([[User talk:AndersG|talk]]) 15:21, 23 June 2016 (EDT) | It seems the new template for the aircraft info box or <aircraft>/info page doesn't show '_' (underscore) in the --aircraft= field. The old info box template did so it is probably a bug? [[User:AndersG|AndersG]] ([[User talk:AndersG|talk]]) 15:21, 23 June 2016 (EDT) | ||
: Thanks for spotting that! I can see that that is a problem with the [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts #titleparts] function: "All underscores are automatically replaced with spaces". That is rather annoying. I might then create {{param|fgname1}} to {{param|fgname10}} as an alternative, as the number of <code>*-set.xml</code> files with underscores is very low. | |||
: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 15:38, 23 June 2016 (EDT) |
Revision as of 19:38, 23 June 2016
The collapsible script template
Noticed the {{collapsible script}} template. That will probably come in handy in many places.
I had no idea that there was such a thing as {{#tag: }}
. That may be useful later when I have played around with it.
Hmm, I see the template defaults to Dec Vadic's Imperial Arem Star. lol ;-)
—Johan G (Talk | contribs) 18:12, 16 October 2015 (EDT)
- There are quite a few places in the wiki cluttered up by long scripts or code segments. I guess it is mainly Nasal, though some other parts could benefit from other templates using collapsible NavFrame elements. The
{{#tag: }}
concept is quite useful for programmatically adding tags in templates, avoiding the initial HTML parsing, but it isn't perfect. Anyway, I can see it spreading on the wiki already :) As for the template default, I hope no one is curious and tries it out!
- Let me add that
{{#tag: }}
allows for transclusion within any HTML tag, which is normally not possible.
- The newsletter template discussion was moved to FlightGear wiki:Village pump#Newsletter templates (perm).
German FGAddon translation
Hi Edward,
are you still working on the German translation of the FGAddon article? If not, should I go ahead with the translation?
Cheers
Dg-505 (talk) 05:32, 7 April 2016 (EDT)
- Hi! I'm on holiday and have been distracted by other work. Go for it!
- Bugman (talk) 23:52, 11 April 2016 (EDT)
Lockheed P-38 Lightning
thanks for renaming that file... i can't believe that i misspelled that like that... sometimes the fingers think they know what the brain is trying to write :lol: Wkitty42 (talk) 11:16, 1 June 2016 (EDT)
- No problems! I often have the same problem :) Anyway, if you need any pages or files moved, just say.
The <aircraft>/info template
Hi,
It seems the new template for the aircraft info box or <aircraft>/info page doesn't show '_' (underscore) in the --aircraft= field. The old info box template did so it is probably a bug? AndersG (talk) 15:21, 23 June 2016 (EDT)
- Thanks for spotting that! I can see that that is a problem with the #titleparts function: "All underscores are automatically replaced with spaces". That is rather annoying. I might then create fgname1 to fgname10 as an alternative, as the number of
*-set.xml
files with underscores is very low.