Template:InfoBox generic/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.
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 a generic link in the infobox stack to a specific page. This template should be used sparingly, as most generic links should be placed in the External resources section of the article.
Parameters
unnamed
- Specify the relevant URL of the software or project. For example to using
https://www.gentoo.org/inside-gentoo/developers/map.html
will link to the developer map on Gentoo's main website.
header
(optional)- Add a Resources heading.
text
(almost not optional)- Change the text. Default: Link.
Usage
See the template's testcases:
Parameter: unnamed | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox generic|https://www.gentoo.org/inside-gentoo/developers/map.html}}
}}
|
Main version | |
Sandbox version |
Parameter:header | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox generic|https://www.gentoo.org/inside-gentoo/developers/map.html|header=true}}
}}
|
Main version | Resources
|
Sandbox version | Resources
|
Parameter: raw | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox generic|https://www.generic.com/https://www.gentoo.org/inside-gentoo/developers/map.html|raw=true}}
}}
|
Main version | |
Sandbox version |
Parameter: unnamed, text | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox generic|https://www.gentoo.org/inside-gentoo/developers/map.html|text=Other text}}
}}
|
Main version | |
Sandbox version |