13,255
edits
|  (→Todo list:  Went ahead and added Template:Flightgear file) |  (→Todo list:  If we would want to strip the path and only keep the last element) | ||
| Line 224: | Line 224: | ||
| ::::: Went ahead and added {{tl|flightgear file}}. | ::::: Went ahead and added {{tl|flightgear file}}. | ||
| ::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 16:51, 11 September 2015 (EDT) | ::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 16:51, 11 September 2015 (EDT) | ||
| :::::: I noted that {{tl|readme file}} have a '''nopath=''' parameter stripping of the path in that template if empty.  A similar effect can be added to {{tl|flightgear file}} using the <code><nowiki>{{#tileparts: }}</nowiki></code> parser function without having to introduce a '''file''' parameter.  An elegant solution if needed. | |||
| :::::: An even more elegant way could be to use <code><nowiki>{{#tileparts: }}</nowiki></code> to only show the last ''n'' elements. | |||
| :::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 17:12, 11 September 2015 (EDT) | |||