Template talk:Repo link: Difference between revisions

Jump to navigation Jump to search
m
→‎Todo list: spelling
(→‎Todo list: If we would want to strip the path and only keep the last element)
m (→‎Todo list: spelling)
Line 225: Line 225:
::::: —[[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.
:::::: I noted that {{tl|readme file}} have a '''nopath=''' parameter stripping off 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.
:::::: 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)
:::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 17:12, 11 September 2015 (EDT)

Navigation menu