Changes

Jump to navigation Jump to search

Template:Relax url

972 bytes added, 08:11, 27 October 2017
Addition of the links that the examples should create and improvement of the formatting.
| examples =
=== No parameters ===
This is a link to https://sourceforge.net/p/nmr-relax/code/ci/master/tree/.  {{obr}}relax url{{cbr}}. {{relax url}}.
=== 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>.
=== 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
{{!}} l = 227 {{cbr}}.
{{relax url
| f = generic_fns/align_tensor.py
| b = j_couplings
| l = 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 {{cbr}}.
{{relax url | generic_fns/align_tensor.py | b = j_couplings }}.
}}</noinclude>
Trusted, Bureaucrats
4,223

edits

Navigation menu