Changes

Jump to navigation Jump to search

Template:Repo link

7 bytes removed, 12:30, 10 September 2017
m
Converted all FlightGear references and default parameter values for relax.
<noinclude>{{caution|This template, via its [[Template:repo link/doc related|subtemplates]], is used by many pages. Therefore modifications will propagate throughout the FlightGear relax wiki and have a large effect. Changes should be carefully tested on a [[Template:repo link/sandbox|/sandbox]] subpage or as a user subpage before being implemented here.}}</noinclude><!--
-->{{#if: {{{cmd|}}}<!-- The optional prepended CLI command and options. -->
| {{strip whitespace|{{{cmd}}}}} <nowiki></nowiki><!-- The command.
-->{{#if: {{{user|}}} <!-- Project or user? -->
| u/{{{user}}}
| p/{{{proj|flightgearnmr-relax}}}
}}/<!--
-->{{{repo|flightgearnmr-relax}}}/<!-- The version control repository.
-->{{#switch: {{{type|git web}}} <!-- Git vs. SVN repository (default = git). -->
| git
| {{#if: {{{simplepath|}}}
| <!-- No project, repository or branch. -->
| {{{user|{{{proj|flightgearnmr-relax}}}}}}/<!-- The user or project name. -->{{{repo|flightgearnmr-relax}}}<!-- The repository name.
-->{{#ifeq: {{{view|}}} | rss | <!-- The repository commit, tag, or branch (if view != rss). -->
| /{{{commit|{{{tag|{{{branch|next}}}}}}}}}
| {{#if: {{{simplepath|}}}
| <!-- No project, repository or branch. -->
| {{{user|{{{proj|flightgearnmr-relax}}}}}}/<!-- The user or project name. -->{{{repo|flightgearnmr-relax}}}<!-- The repository name.
-->{{#switch: {{{view|}}}<!-- The repository branch. -->
| rss =
| git web = ?<!--
-->p={{{proj|fg}}}<!-- The project and repository names, with '.git' appended.
-->:{{{repo|flightgearnmr-relax}}}<!--
-->.git<!--
-->;a={{#if: {{{view|}}} <!-- The repository view mode. -->
-->{{{protocol|https}}}://<!-- URL protocol (default = https).
-->{{#if: {{{login|}}} | {{{login}}}@}}<!-- The user login name, if supplied.
-->{{{site|flightgearnmr-relax.orgcom}}}/<!-- Use the 'site' parameter as the domain name part of the URL.
-->{{#if: {{{user|}}} <!-- Project or user? -->
| {{{user}}}

Navigation menu