User:Rominet/Sandbox: Difference between revisions

Jump to navigation Jump to search
(Add example for the 'fgmeta-python url' template)
Line 7: Line 7:
== FGMeta-Python repo templates ==
== FGMeta-Python repo templates ==


Test of {{tl|fgmeta-python source}}: {{fgmeta-python source
Test of {{tl|fgmeta-python source}} with
{{obr}}fgmeta-python source
{{!}} path = pyproject.toml
{{!}} tag  = 1.0.0b1
{{cbr}}
 
{{fgmeta-python source
| path = pyproject.toml
| path = pyproject.toml
| tag  = 1.0.0b1
| tag  = 1.0.0b1
}}
}}


Bad (using {{tl|fgmeta-python source}} and its <code>cmd</code> parameter):
Beware: the target URL is fine but the link text is not an existing URL, even after prepending <code>https://</code>. Not a bug, AFAIUI; simply, the default link text is not supposed to be a URL. So, don't use the template this way; use {{tl|fgmeta-python url}} or specify <code>full=1</code> if you want the link text to be a URL.
 
Bad <code>git clone</code> command, written using {{tl|fgmeta-python source}} and its <code>cmd</code> parameter:
  {{fgmeta-python source
  {{fgmeta-python source
| cmd = git clone
| cmd = git clone
512

edits

Navigation menu