Talk:Tupolev Tu-144D/info

Add topic
Revision as of 09:24, 24 January 2017 by Bugman (talk | contribs) (Created page with "== Download parameter usage and the {{tl|repo link}} template for TAR files == Hi! For the last edit where the download parameter for the {{tl|infobox aircraft}} template us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Download parameter usage and the {{repo link}} template for TAR files

Hi! For the last edit where the download parameter for the {{infobox aircraft}} template usage changed from:

 {{gitlab zip file|user=mdanil|repo=Tu-144|full=1|tag=0.5.0}}

to:

 [https://gitlab.com/mdanil/Tu-144/repository/archive.tar.bz2?ref=0.5.0 Release]

this does not work as you cannot have the text "Release" here - you must use a pure URL rather than a Mediawiki link.

From the change, I gather that you would like a link to the TAR file rather than the ZIP file. For that I would recommend simply extending the set of {{repo link}} templates. You could create the {{gitlab tar file}} template by copying the contents of {{gitlab zip file}} and changing "*.zip" to "*.tar.gz". This is very easy, as these are subtemplates of {{repo link}}, and the change would be of benefit for everyone! Then you could add it to the list at {{repo link/doc related}}. Cheers!

Bugman (talk) 04:24, 24 January 2017 (EST)