{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: !- | doc | |
}} }}
[[File:Template-{{#if: | no | {{#if: | bad }} }}info.png|50px|bottom]] Documentation
{{#if: | This template has no documentation. If you know how to use this template, please add some.{{#ifeq: !- | doc | |}} |{{#if: | This template's documentation has been marked as bad. Please improve or add to it.{{#ifeq: !- | doc | |}}}} }}
[purge]
Result: |-
This template is used inside other templates when a pipe symbol is required.
Documentation
When combining wikitable syntax with parser functions, |
is interpreted as a parameter separator rather than a table cell or row separator. Using {{!-}}
to begin a new table row instead is a workaround that often solves this problem.
{{#ifeq: !- | doc |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.
|The above documentation is transcluded from Template:!-/doc. (edit | history)
}}