This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Template:InfoBox gitlab/doc
From Gentoo Wiki (test)
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.
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 usinggentoo/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:
CollapseParameter: unnamed | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox gitlab|gentoo/portage}}
}}
|
Main version | |
Sandbox version |
CollapseParameter:header | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox gitlab|gentoo/portage|header=true}}
}}
|
Main version | Resources
|
Sandbox version | Resources
|
CollapseParameter: raw | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox gitlab|https://gitlab.com/gentoo/portage|raw=true}}
}}
|
Main version | |
Sandbox version |
CollapseParameter: unnamed, text | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox gitlab|gentoo/portage|text=Other text}}
}}
|
Main version | |
Sandbox version |