Template:InfoBox gitlab/doc

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to create an infobox link to the software or project's GitLab page.

Parameters

unnamed
Specify the relevant location of the software or project after the ending / (forward slash) of the https://gitlab.com/ URL. For example to using gentoo/portage will link to Gentoo's Portage GitLab mirror.
header (optional)
Add a Resources heading.
raw (optional)
Specify a custom URL. Useful for strangely formatted URLs.
text (optional)
Change the text. Default: GitHub.

Usage

See the template's testcases:


Parameter: unnamed
Wiki code {{InfoBox stack |{{InfoBox gitlab|gentoo/portage}} }}

Main version
Sandbox version
Parameter:header
Wiki code {{InfoBox stack |{{InfoBox gitlab|gentoo/portage|header=true}} }}

Main version
Resources
Sandbox version
Resources
Parameter: raw
Wiki code {{InfoBox stack |{{InfoBox gitlab|https://gitlab.com/gentoo/portage|raw=true}} }}

Main version
Sandbox version
Parameter: unnamed, text
Wiki code {{InfoBox stack |{{InfoBox gitlab|gentoo/portage|text=Other text}} }}

Main version
Sandbox version

See also