Template talk:Ticket

From FlightGear wiki
Revision as of 22:58, 1 April 2015 by Johan G (talk | contribs) (→‎encapsulate registration/ticket creation ?: I would rather have many succinctly named templates than one template with named parameters)
Jump to navigation Jump to search

SF.net migration

Need to update URL, e.g.: http://sourceforge.net/p/flightgear/codetickets/1686/

encapsulate registration/ticket creation ?

we could easily support all main use-cases by combining related templates, e.g. {{Issue Tracker}}, which also encapsulates the registration and ticket creation processes. --Hooray (talk) 15:00, 1 April 2015 (EDT)


Actually I consider them to have very separate use cases. I would rather split {{Issue Tracker}} into three separate templates, say {{tickets}} for a link to the page listing the tickets, {{register to sf}} to link to the SourceForge account registration form and {{create ticket}} to link to the ticket creation form. (I guess the jargon will shift from issue to ticket so that {{issue}} will be moved to {{ticket}}.)
The bottom line is that I do not particularly like having to use named parameter unless it really is necessary. I much rather prefer having more templates with more descriptive names with only unnamed parameters. One could of course have four separate templates using a meta template, but then one would have to maintain five templates instead of four.
Additionally the templates should preferably link to each other in the related templates section. They would then not have gathered up in one single template with a slightly ambiguous name (when used in running text) for the sake of maintenance.
Johan G (Talk | contribs) 18:58, 1 April 2015 (EDT)