Template talk:Repo link: Difference between revisions

Jump to navigation Jump to search
→‎Todo list: Aircraft repo/hangar parameter suggestions; Clarification of style template parameters
(→‎Todo list: Aircraft repo/hangar parameter suggestions; Clarification of style template parameters)
Line 234: Line 234:
::::::: Regards,
::::::: Regards,
::::::: [[User:Red_Leader|<span style="color:red">'''''Red Leader'''''</span>]] ([[User_talk:Red_Leader|Talk]], [[Special:Contributions/Red_Leader|contribs]]) 16:03, 13 September 2015 (EDT)
::::::: [[User:Red_Leader|<span style="color:red">'''''Red Leader'''''</span>]] ([[User_talk:Red_Leader|Talk]], [[Special:Contributions/Red_Leader|contribs]]) 16:03, 13 September 2015 (EDT)
::::::::* What about doing something similar to the new templates, in essence {{obr}}'''fgaddon url'''{{!}}''aircraft''{{!}}''path''{{!}}''commit''{{cbr}}.  Of course for example FGUK's and Helijah's hangars will not handle '''path''' and '''commit''' as those are not repos.
::::::::: The aircraft repo/hangar templates will probably differ somewhat in implementation, but hopefully for a wiki editor they will be rather "orthogonal" (in the sense that they would be usable in a way consistent with similar templates).
::::::::: I guess for aircraft repos, as opposed to hangars, the template with only the '''aircraft''' parameter given should point to that aircraft directory or submodule.  It would also seem reasonable that a template with no parameters given should point to the repo or hangar top directory, info page or something similar.
::::::::* The way I recall having the '''base-url=''' thought up would be as the part of the URL preceding the path given in '''path='''.  Similarly '''base-label=''' would be the part of the label preceding the path.
::::::::: I am not really sure how (and why) I imagined that the commit reference would be different in URL and label.  That would probably not (ever) be needed and only confusing if used.
:::::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 15:50, 15 September 2015 (EDT)


::::::: {{tl|simgear file}} done. {{done}}
::::::: {{tl|simgear file}} done. {{done}}

Navigation menu