13,212
edits
Red Leader (talk | contribs) m (Topic header, link, grammer) |
(→Todo list: Some thoughts on the sub-templates etc.) |
||
Line 126: | Line 126: | ||
: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 17:06, 20 May 2015 (EDT) | : —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 17:06, 20 May 2015 (EDT) | ||
: Some more thoughts on the sub-templates for links to source files in the git repos, and one for the FGAddon svn repo. | |||
:* Source file/directory templates: | |||
:** Should we use one more or an entirely different meta template, say {{obr}}source file{{cbr}}, to give them a consistent style, for example prefix (FlightGear, SimGear, FGData, etc), showing/not showing full path, etc), instead of doing that in each template? | |||
:** Always or often used parameters should probably not be named parameters | |||
:** Parameter commonality | |||
:*** I guess always and often used parameters are path and commit | |||
:*** Other parameters? | |||
:** Template names, how about: | |||
:*** {{obr}}flightgear source{{cbr}} | |||
:*** {{obr}}simgear source{{cbr}} | |||
:*** {{obr}}fgdata source{{cbr}} | |||
:** Should default to root directory of repo rather than throw an error. | |||
:* Aircraft repo template(s) (slightly off topic): | |||
:** How about {{obr}}fgaddon aircraft{{cbr}} | |||
:** Should default to <code>..trunk/aircraft/</code> rather than throw an error. | |||
:* Aircraft URL templates: | |||
:** Needed for a completely different purpose than source links, namely URLs in infoboxes. | |||
:** Would lessen maintenance ''considerably'' if a repo/hangar moves. | |||
:** How about {{obr}}fgaddon aircraft url{{cbr}} | |||
:** I guess in the same way link templates for other common repos/hangars are added, for example: | |||
:*** {{obr}}fgmembers aircraft url{{cbr}} | |||
:*** {{obr}}helijah aircraft url{{cbr}} | |||
:*** {{obr}}fguk aircraft url{{cbr}} | |||
:** Big question: Download URL or info page URL? | |||
:** When given no params: Link to root directory/hangar main page or throw an error? | |||
:* A category for the templates say ''Category:Repository link templates'' with templates and meta templates could be a good idea. | |||
: Why do I argue for always or often used parameters to be ''unnamed parameters''? And only ''lowercase names'' for the templates? ''Quicker typing''. Simple as that. At least with these templates. | |||
: If you guys think this would be ok I could start adding templates right away, probably starting with aircraft URL templates. | |||
: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 06:27, 26 May 2015 (EDT) |