Open main menu
relax wiki
Search
Changes
← Older edit
Template:Relax url
740 bytes added
,
08:11, 27 October 2017
Addition of the links that the examples should create and improvement of the formatting.
{{repo link/doc git url
| label = relax
|
repo
name
= relax
| examples =
=== No parameters ===
{{obr}}
This is a link to https://sourceforge.net/p/nmr-
relax
url{{cbr}}
{{relax url}}
/code/ci/master/tree/.
=== The repository ===
{{obr}}relax url
{{!}} text = The relax url repository
{{cbr}}
.
{{relax url
| text = The relax url repository
}}
.
=== File ===
This is a link to https://sourceforge.net/p/nmr-relax/code/ci/master/tree/pipe_control/diffusion_tensor.py.
{{obr}}relax url
{{!}} path = pipe_control/diffusion_tensor.py
{{cbr}}
.
{{relax url
| path = pipe_control/diffusion_tensor.py
}}
.
=== File and a branch ===
This is a link to https://sourceforge.net/p/nmr-relax/code/ci/j_couplings/tree/generic_fns/align_tensor.py.
{{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 ===
This is a link to https://sourceforge.net/p/nmr-relax/code/ci/4.0.3/tree/pipe_control/diffusion_tensor.py.
{{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 ===
This is a link to https://sourceforge.net/p/nmr-relax/code/ci/bb91d6/tree/data_store/exp_info.py.
{{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 ===
This is a link to https://sourceforge.net/p/nmr-relax/code/ci/6105c8/.
{{obr}}relax url
{{!}} commit = 6105c8
{{!}} view = commit
{{cbr}}
.
{{relax url
| commit = 6105c8
| view = commit
}}
.
=== File and line number ===
This is a link to https://sourceforge.net/p/nmr-relax/code/ci/master/tree/gui/spin_viewer/tree.py#l68.
{{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 ===
This is a link to https://sourceforge.net/p/nmr-relax/code/ci/21462188d194d28ee6bd0523ebcc13a00a73c4ba/tree/gui/spin_viewer/tree.py#l546.
{{obr}}relax url
{{!}} path = gui/spin_viewer/tree.py
{{!}} commit = 21462188d194d28ee6bd0523ebcc13a00a73c4ba
{{!}} line = 546
{{cbr}}
.
{{relax url
| commit = 21462188d194d28ee6bd0523ebcc13a00a73c4ba
| line = 546
}}
.
=== Git clone ===
{{note|For a simpler interface for this specific example, see {{tl|relax clone}}.}}
This is for <code><nowiki>git clone git://git.code.sf.net/p/nmr-relax/code</nowiki></code>.
{{!}} protocol = git
{{!}} type = git
{{!}} full = 1
{{cbr}}{{cbr}}{{cbr}}.
| protocol = git
| type = git
| full = 1
}}}}}}.
=== Aliased parameters ===
This is
for
a link to
https://sourceforge.net/p/nmr-relax/code/ci/j_couplings/tree/generic_fns/align_tensor.py
#l227
.
{{obr}}relax url
{{!}} f = generic_fns/align_tensor.py
{{!}} b = j_couplings
{{!}}
full
l
=
1
227
{{cbr}}
.
{{relax url
| f = generic_fns/align_tensor.py
| b = j_couplings
|
full
l
=
1
227
}}
.
=== Numbered parameters ===
This is
for
a link to
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>
Bugman
Trusted,
Bureaucrats
4,228
edits