Template:Noop

From Gentoo Wiki
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.

This template takes a single anonymous parameter as input and outputs it unchanged. It is used in template examples.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 No (n/a) What to show as output.

Use the templates {{=}} and {{!}} in place of = and | in the input to this template.

Usage

See the template's testcases:

Correct

No parameter
Wiki code
{{Noop}}
Main version
Sandbox version


One anonymous parameter
Wiki code
{{Noop|{{tl|c}}}}
Main version
Sandbox version


One anonymous parameter containing table markup
Wiki code
{{Noop|{{{!}} border
{{!}} celll contents
{{!}}}
}}
Main version
celll contents
Sandbox version


↑ This is the kind of thing this template was designed to illustrate.

Incorrect

Two anonymous parameters (not supported)
Wiki code
{{Noop|this|that}}
Main version
this
Sandbox version
Note
The above documentation is transcluded from Template:Noop/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)