Template:Descr: Difference between revisions
Jump to navigation
Jump to search
Documentation
(New code 2020-04-14) |
(Add line-feed at end) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{dis|Yes}}}|Yes|'''Description:''' }}{{{1|}}}</includeonly><noinclude>{{Doc|1= | <includeonly>{{#ifeq:{{{dis|Yes}}}|Yes|'''Description:''' }}{{{1|}}} | ||
</includeonly><noinclude>{{Doc|1= | |||
This template includes descriptive information relevant to a work page, as well as comments that don't fit within other work page templates. | This template includes descriptive information relevant to a work page, as well as comments that don't fit within other work page templates. | ||
Latest revision as of 15:30, 14 April 2021
This template includes descriptive information relevant to a work page, as well as comments that don't fit within other work page templates.
Parameters
- Text – if the text contains an URL with an equal sign ( = ), or HTML tags (within < > symbols) it will be necessary to add "1=<nowiki />" at the beginning. For this reason, it is recommended that editors avoid the use of special characters in this text field, and move external web references to the #ExtWeb: parser function.
- dis= Display – One word, either " Yes " or " No ", whether the header Description: is to be displayed or not; if this parameter is missing or null, defaults to " Yes ".
Examples
1.
{{Descr|This page contains text and references.}}
yields
Description: This page contains text and references.
2.
{{Descr|For more information, see [http://mistaken.com?text=Whattext this page].}}
yields
Description:
3. {{Descr|1=<nowiki />For more information, see [http://mistaken.com?text=Whattext this page].}}
yields
Description: For more information, see this page.
4. {{Descr|1=<nowiki />
==The Second Service==
The Second Service was composed in 1659, after considerable work.|dis=No}}
yields
The Second Service
The Second Service was composed in 1659, after considerable work.