6,566
edits
Line 93: | Line 93: | ||
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 16:26, 27 February 2016 (EST) | —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 16:26, 27 February 2016 (EST) | ||
: Please feel free to change :) This all sounds great. My focus is on recursive transclusion for simply pulling out '''sf''', so we can pragmatically change the behaviour of templates. I can quickly adapt all usage of this template to match. For example {{tl|flightgear source}} uses it to completely avoid the SourceForge reference, to then pass it into the now very powerful {{tl|repo link}} template. The table idea is good as well. It could replace the examples section by absorbing the examples. I just have some suggestions: | |||
:* A '''code''' value for the second option (replacing '''abbrev'''). This would return '''sf'''. This would be used as a simple internal wiki code for programmatically changing template behaviour. | |||
:* Alphabetical ordering of values in the switches, in case this becomes quite big. | |||
:* '''url''' return values of <nowiki>[http://wiki.flightgear.org FlightGear wiki]</nowiki>. | |||
:* '''main-repo''' name as "Main FlightGear infrastructure", as this is a collection of repositories, plus a lot of other FG infrastructure. Maybe '''main-infrastructure''' would be better for a value, though it is a little long. What about just '''main'''? | |||
: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 17:02, 27 February 2016 (EST) |