Template:Tickets: Difference between revisions

Jump to navigation Jump to search
+ Labels instead of bare links; + Default; doc; +rel: Template:Issue
m (Johan G moved page Template:Issue Tracker to Template:Issue tracker: Non-camel case title)
(+ Labels instead of bare links; + Default; doc; +rel: Template:Issue)
Line 1: Line 1:
{{ #if: {{{registration|}}} | https://sourceforge.net/user/registration }}
{{#if: <!-- Are any parameter non-empty? -->
{{ #if: {{{new-ticket|}}} | http://sourceforge.net/p/flightgear/codetickets/new/ }}<noinclude>
{{{registration|}}}{{{new-ticket|}}}
| <!-- one or more parameter is non-empty
-->{{ #if: {{{registration|}}} | [https://sourceforge.net/user/registration Register a SourceForge account]}}{{ #if: {{{new-ticket|}}} | [http://sourceforge.net/p/flightgear/codetickets/new/ Create an issue tracker ticket]}}
| <!-- No parameter is used
-->[http://sourceforge.net/p/flightgear/codetickets/ Issue tracker tickets]
}}<noinclude>
{{Informative template|1=
__NOTOC__
== Goal ==
This template can be used either to link to:
* The SourceForge new account registration form
* A form to create a new issue tracker ticket
 
== Usage ==
{{obr}}'''issue tracker''' {{!}}''registration='' {{!}}''new-ticket=''{{cbr}}
 
All parameters are optional.  If neither parameter is used a link to the issue tracker tickets will be shown.
 
; registration:  If not empty the template will show a link to the page for registering a new SourceForge account.
 
; new-ticket:  If not empty the template will show a link to the page for creating a new issue tracker ticket.
 
== Examples ==
{{obr}}issue tracker{{cbr}}
{{issue tracker}}
 
{{obr}}issue tracker{{!}}registration=1{{cbr}}
{{issue tracker|registration=1}}
 
{{obr}}issue tracker{{!}}new-ticket=1{{cbr}}
{{issue tracker|new-ticket=1}}
 
== Related templates ==
* {{tl|issue}} – For linking to an existing issue tracker ticket
 
}}


[[Category:Link templates]]
[[Category:Link templates]]
[[Category:Undocumented templates]]
</noinclude>
</noinclude>

Navigation menu