Difference between revisions of "Template:Gitlab"

From TSG Doc
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
{{Familiar link|base url=https://gitlab.socsci.ru.nl/|icon=Gitlab-logo-500-rgb.png|page={{{1|}}}|description={{{2|}}}}}<noinclude>{{documentation}}</noinclude>
+
{{Familiar link|base url={{#ifexpr:{{#invoke:String|find|{{{1|}}}|gitlab.socsci.ru.nl}}||https://gitlab.socsci.ru.nl/}}|icon=Gitlab-logo-500-rgb.png|page={{{1|}}}|description={{{2|}}}}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 11:14, 10 August 2026

 https://gitlab.socsci.ru.nl/

Template documentation[view] [edit] [history] [purge]

Shorthand for adding links to the Gitlab Social Sciences server. Renders the GitLab logo in front

Usage

{{Gitlab|<link>|<description>}}

link link url, or just the part after "gitlab.socsci.ru.nl/"
description description of what the link should say. If not specified, the link uri will be used.

Example

 tsg/Labcomputer

{{Gitlab|tsg/Labcomputer}}

 lab computer on GitLab

{{Gitlab|tsg/Labcomputer|lab computer on GitLab}}

 lab computer on GitLab

{{Gitlab|https://gitlab.socsci.ru.nl/tsg/Labcomputer|lab computer on GitLab}}


 https://gitlab.socsci.ru.nl/

{{Gitlab|}}