Changes

Jump to navigation Jump to search

Template:Relax url

4,024 bytes added, 09:23, 25 October 2017
Creation of the {{relax url}} template by copying {{relax 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}}
| 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
| repo = relax
| examples =
=== No parameters ===
{{obr}}relax url{{cbr}}
{{relax url}}

=== The repository ===
{{obr}}relax url
{{!}} text = The relax url repository
{{cbr}}

{{relax url
| text = The relax url repository
}}

=== File ===
{{obr}}relax url
{{!}} path = pipe_control/diffusion_tensor.py
{{cbr}}

{{relax url
| path = pipe_control/diffusion_tensor.py
}}

=== File and a branch ===
{{obr}}relax url
{{!}} path = generic_fns/align_tensor.py
{{!}} branch = j_couplings
{{cbr}}

{{relax url
| path = generic_fns/align_tensor.py
| branch = j_couplings
}}

=== File and a tag ===
{{obr}}relax url
{{!}} path = pipe_control/diffusion_tensor.py
{{!}} tag = 4.0.3
{{cbr}}

{{relax url
| path = pipe_control/diffusion_tensor.py
| tag = 4.0.3
}}

=== File and a commit ===
{{obr}}relax url
{{!}} path = data_store/exp_info.py
{{!}} commit = bb91d6
{{cbr}}

{{relax url
| path = data_store/exp_info.py
| commit = bb91d6
}}

{{obr}}relax url
{{!}} path = data_store/exp_info.py
{{!}} commit = bb91d693f4102f81735e2a965cc1eed610211753
{{cbr}}

{{relax url
| path = data_store/exp_info.py
| commit = bb91d693f4102f81735e2a965cc1eed610211753
}}

=== Commit ===
{{obr}}relax url
{{!}} commit = 6105c8
{{!}} view = commit
{{cbr}}

{{relax url
| commit = 6105c8
| view = commit
}}

=== File and line number ===
{{obr}}relax url
{{!}} path = gui/spin_viewer/tree.py
{{!}} line = 68
{{cbr}}

{{relax url
| path = gui/spin_viewer/tree.py
| line = 68
}}

=== File, line number, and commit ===
{{obr}}relax url
{{!}} path = gui/spin_viewer/tree.py
{{!}} commit = 21462188d194d28ee6bd0523ebcc13a00a73c4ba
{{!}} line = 546
{{cbr}}

{{relax url
| path = gui/spin_viewer/tree.py
| commit = 21462188d194d28ee6bd0523ebcc13a00a73c4ba
| line = 546
}}

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

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

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

=== Aliased parameters ===
This is for https://sourceforge.net/p/nmr-relax/code/ci/j_couplings/tree/generic_fns/align_tensor.py.

{{obr}}relax url
{{!}} f = generic_fns/align_tensor.py
{{!}} b = j_couplings
{{!}} full = 1
{{cbr}}

{{relax url
| f = generic_fns/align_tensor.py
| b = j_couplings
| full = 1
}}

=== Numbered parameters ===
This is for https://sourceforge.net/p/nmr-relax/code/ci/j_couplings/tree/generic_fns/align_tensor.py.

{{obr}}relax url {{!}} generic_fns/align_tensor.py {{!}} b = j_couplings {{!}} full = 1 {{cbr}}

{{relax url | generic_fns/align_tensor.py | b = j_couplings | full = 1 }}

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

edits

Navigation menu