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:Noop/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.

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

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


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


Collapse
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

Collapse
Two anonymous parameters (not supported)
Wiki code
{{Noop|this|that}}
Main version
this
Sandbox version