Changes

Jump to navigation Jump to search

Template:Website url

3,395 bytes added, 16:52, 26 October 2017
Creation of the {{website url}} template by copying {{website source}}.
{{repo link
| site = {{project infrastructure/code}}
| cmd{{#if:{{{cmd|}}}||NULL}} = {{{cmd}}}
| opt{{#if:{{{opt|}}}||NULL}} = {{{opt}}}
| protocol{{#if:{{{protocol|}}}||NULL}} = {{{protocol}}}
| login{{#if:{{{login|}}}||NULL}} = {{{login}}}
| type{{#if:{{{type|}}}||NULL}} = {{{type}}}
| proj = {{project infrastructure/proj}}
| repo = {{project infrastructure/repo website}}
| branch{{#if:{{{branch|{{{b|}}}}}}||NULL}} = {{{branch|{{{b}}}}}}
| tag{{#if:{{{tag|}}}||NULL}} = {{{tag}}}
| path{{#if:{{{path|{{{f|{{{1|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{1}}}}}}}}}
| commit{{#if:{{{commit|{{{c|}}}}}}||NULL}} = {{{commit|{{{c}}}}}}
| line{{#if:{{{line|{{{l|}}}}}}||NULL}} = {{{line|{{{l}}}}}}
| view{{#if:{{{view|{{{v|}}}}}}||NULL}} = {{{view|{{{v}}}}}}
| post{{#if:{{{post|}}}||NULL}} = {{{post}}}
| full = 1
}}<noinclude>

{{repo link/doc git url
| label = relax website
| name = website
| examples =
=== No parameters ===
{{obr}}website url{{cbr}}
{{website url}}

=== File ===
{{obr}}website url
{{!}} path = features.html
{{cbr}}

{{website url
| path = features.html
}}

=== File and a branch ===

{{obr}}website url
{{!}} path = features.shtml
{{!}} branch = sf
{{cbr}}

{{website url
| path = features.shtml
| branch = sf
}}

=== File and a commit ===
{{obr}}website url
{{!}} path = relax.css
{{!}} commit = 831561
{{cbr}}

{{website url
| path = relax.css
| commit = 831561
}}

{{obr}}website url
{{!}} path = relax.css
{{!}} commit = 831561502ee086738d05419029563749d25e6593
{{cbr}}

{{website url
| path = relax.css
| commit = 831561502ee086738d05419029563749d25e6593
}}

=== Commit ===
{{obr}}website url
{{!}} commit = 831561
{{!}} view = commit
{{cbr}}

{{website url
| commit = 831561
| view = commit
}}

=== File and line number ===
{{obr}}website url
{{!}} path = download.html
{{!}} line = 27
{{cbr}}

{{website url
| path = download.html
| line = 27
}}

=== File, line number, and commit ===
{{obr}}website url
{{!}} path = download.html
{{!}} commit = f1d540377809fc4bbcd9b8163781576a17e48a0f
{{!}} line = 65
{{cbr}}

{{website url
| path = download.html
| commit = f1d540377809fc4bbcd9b8163781576a17e48a0f
| line = 65
}}

=== Git clone ===
This is for <code><nowiki>git clone git://git.code.sf.net/p/nmr-relax/website</nowiki></code>.

{{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}website url
{{!}} cmd = git clone
{{!}} protocol = git
{{!}} type = git
{{cbr}}{{cbr}}{{cbr}}.

{{#tag:code|{{#tag:nowiki|{{website url
| cmd = git clone
| protocol = git
| type = git
}}}}}}.

=== Aliased parameters ===
This is for https://sourceforge.net/p/nmr-relax/website/ci/gh-pages/tree/download.html.

{{obr}}website url
{{!}} f = download.html
{{!}} b = gh-pages
{{cbr}}

{{website url
| f = download.html
| b = gh-pages
}}

=== Numbered parameters ===
This is for https://sourceforge.net/p/nmr-relax/website/ci/gh-pages/tree/download.html.

{{obr}}website url {{!}} download.html {{!}} b = gh-pages {{cbr}}

{{website url | download.html | b = gh-pages }}

}}</noinclude>
Trusted, Bureaucrats
4,228

edits

Navigation menu