Template:Wp/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.
Allow linking to a Wikipedia article while indicating to the reader an external Wikipedia link.
Parameter | Description | Type | Status | |
---|---|---|---|---|
article name | 1 | Name of Wikipedia article to link to
| String | required |
label | 2 | Optional label if the article name is not appropriate to be shown as the link text.
| String | optional |
Usage
See the template's testcases:
Correct
One anonymous parameter:
anonymous parameters
Wiki code
{{Wp|DEC Alpha|Alpha architecture}}
Main version
Sandbox version
Incorrect
No parameter (error message)
Wiki code
{{Wp}}
Main version
{{Package template error}}
Parameter 1 not defined. For correct usage see Package template's documentation on the
1
parameter.Sandbox version
{{Package template error}}
Parameter 1 not defined. For correct usage see Package template's documentation on the
1
parameter.