Template:InfoBox gdoc/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 to link to the official Gentoo Project page for the relevant software or project.

Parameters

unnamed
Specify the relevant part of the Project's name, e.g. Catalyst for the official Project:Catalyst project page.
header (optional)
Add a Resources heading.
raw (optional)
Specify a custom URL. Useful for articles that are works in progress located in areas that are not Project: space (in developer's web space or Wiki user space pages).
text (optional)
Change the text. Default: Project.

Usage

See the template's testcases:


Parameter: unnamed
Wiki code {{InfoBox stack |{{InfoBox gdoc|Catalyst}} }}

Main version
Sandbox version
Parameter:header
Wiki code {{InfoBox stack |{{InfoBox gdoc|Catalyst|header=true}} }}

Main version
Resources
Sandbox version
Resources
Parameter: raw
Wiki code {{InfoBox stack |{{InfoBox gdoc|https://wwwold.gentoo.org/proj/en/releng/catalyst/|raw=true}} }}

Main version
Sandbox version
Parameter: unnamed, text
Wiki code {{InfoBox stack |{{InfoBox gdoc|Catalyst|text=Other text}} }}

Main version
Sandbox version
Parameter: unnamed, raw, text
Wiki code {{InfoBox stack |{{InfoBox gdoc|https://wwwold.gentoo.org/proj/en/releng/catalyst/|raw=true|text=Other text}} }}

Main version
Sandbox version

See also