Template talk:Repo link: Difference between revisions

Jump to navigation Jump to search
→‎Todo list: I think those are good ideas, that would require less typing and maintenance as well as give a more consistent styling
(→‎Todo list: new section)
(→‎Todo list: I think those are good ideas, that would require less typing and maintenance as well as give a more consistent styling)
Line 68: Line 68:
* {{obr}}Fgaddon repo{{cbr}}
* {{obr}}Fgaddon repo{{cbr}}
* {{obr}}Aircraft repo{{cbr}}
* {{obr}}Aircraft repo{{cbr}}
{{unsigned|12:35, 20 May 2015|‎Red Leader}}
: I think those are all good ideas.  I added {{tl|readme file}} the other day.  As I was just looking at {{tl|repo link}} to add links to relevant source code files related to the [[Conditions]] article I got reminded by the beauty of less typing. ;-)
: In addition I was also reminded about that a more specific template is easier to update when a repository move.  Consider for example if {{tl|repo link}} would be used as I mentioned above, linking to a source code file related to an article.  If that repository would be moved again or get another URL structure ''all'' links to that repository would have to be updated.
: A more specific link at the other hand, say {{obr}}simgear file{{cbr}} would only require that specific template to be changed.  In addition all links to any of those source files would have the same style, which to some extent will making them more intuitive.
: In essence, more specific link templates should:
:* Require less typing
:* Require less maintenance
:* Give a more consistent style
: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 17:06, 20 May 2015 (EDT)

Navigation menu