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:Keyword/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 for keywords (such as amd64 or ~x86) so they can be rendered in a standard style across the Wiki. This template can easily be inserted into paragraphs.
Parameters
Parameter name | Required? | Default value | Description |
---|---|---|---|
Anonymous parameter 1 |
Yes | (n/a) | The name of a Gentoo keyword. |
Current Gentoo keywords include:
- alpha
- ~alpha
- amd64
- ~amd64
- arm
- ~arm
- arm64
- ~arm64
- hppa
- ~hppa
- ia64
- ~ia64
- m68k
- ~m68k
- mips
- ~mips
- ppc
- ~ppc
- ppc64
- ~ppc64
- s390
- ~s390
- sparc
- ~sparc
- x86
- ~x86
However, note that this template does not check that the specified keyword is a valid one.
Usage
{{Keyword|name}}
- where name is the keyword to be marked up
See also the template's testcases:
Correct
CollapseOne unnamed parameter | |
---|---|
Wiki code | {{Keyword|~amd64}}
|
Main version | ~amd64 |
Sandbox version | ~amd64 |
Incorrect
CollapseNo parameter (exposes raw wikicode) | |
---|---|
Wiki code | {{Keyword}}
|
Main version | {{{1}}} |
Sandbox version | {{{1}}} |