User:Rominet/Sandbox: Difference between revisions

Jump to navigation Jump to search
→‎FGMeta-Python repo templates: Update text and add structure
(→‎FGMeta-Python repo templates: Update text and add structure)
Line 6: Line 6:


== FGMeta-Python repo templates ==
== FGMeta-Python repo templates ==
=== fgmeta-python source ===


Test of {{tl|fgmeta-python source}} with
Test of {{tl|fgmeta-python source}} with
Line 18: Line 20:
}}
}}


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.
The link text is clearly not an existing URL (the target URL is fine). Not a bug, the default link text is not supposed to be a URL. Use {{tl|fgmeta-python url}} or pass <code>full=1</code> to {{tl|fgmeta-python source}} if you want the link text to be a URL.
 
=== Git clone with the templates ===


Bad <code>git clone</code> command, written using {{tl|fgmeta-python source}} and its <code>cmd</code> parameter:
Bad <code>git clone</code> command, written using {{tl|fgmeta-python source}} and its <code>cmd</code> parameter:
Line 24: Line 28:
| cmd = git clone
| cmd = git clone
}}
}}
Good (using {{tl|fgmeta-python clone}}):
Good <code>git clone</code> command, written using {{tl|fgmeta-python clone}}:
  {{fgmeta-python clone}}
  {{fgmeta-python clone}}
=== Getting a URL with the templates ===


URL for terrasync.py:
URL for terrasync.py:
512

edits

Navigation menu