Template:Testcase

From HPC Wiki
Revision as of 00:52, 28 December 2016 by Bgo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to:navigation Jump to:search
[edit

Documentation

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 showcase a template and its parameters.

Parameters

Parameter name Required? Default value Description
title Yes (n/a) Title. Put Parameter: XY to denote the parameter you are testing
Anonymous parameter 1 Yes (n/a) Showcased Wiki code inside a <nowiki> tag
Anonymous parameter 2 Yes (n/a) Template code
Anonymous parameter 3 Yes (n/a) Template code (sandboxed version)

Usage

See the template's testcases:

Parameter: title, 1., 2., 3. unnamed
Wiki code {{Package|sys-apps/portage}}

Main version Template:Package
Sandbox version Template:Package/sandbox

See also

Note
The above documentation is transcluded from Template:Testcase/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.