Template:Keyword/testcases

From Gentoo Wiki
Jump to: navigation, search
Note
This is the template test case page for Template:Keyword and its sandbox version. You may have to purge this page to update the examples.

Correct

One unnamed parameter
Wiki code {{Keyword|~amd64}}

Main version ~amd64
Sandbox version ~amd64

Incorrect

No parameter (exposes raw wikicode)
Wiki code {{Keyword}}

Main version {{{1}}}
Sandbox version {{{1}}}