Template:Documentation2/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{documentation |This is an exact duplicate of the "documentation" template, instead it's red instead of green/cyan. This template is not to be used in normal circumstances, and only exists for very specific and experimental purposes. Please use the standard <code><nowiki>{{documentation}}</nowiki></code> for explaining templates. |The syntax of the above (red) template is formatted as follows: <code><nowiki>{{documentation2|<DESCRIPTION>|<SYNTAX>|<EXAMPLE>}}</nowiki></c...") |
No edit summary |
||
Line 5: | Line 5: | ||
|This is where the template's description will be. | |This is where the template's description will be. | ||
|This is the syntax of the template. It's best to use <pre>, <code> and/or <nowiki> tags when typing out the template's syntax. | |This is the syntax of the template. It's best to use <pre>, <code> and/or <nowiki> tags when typing out the template's syntax. | ||
|This is where any examples of how to use the template would be.}}<noinclude>[[Category:Doc_templates]]</noinclude> | |This is where any examples of how to use the template would be.</pre>}}<noinclude>[[Category:Doc_templates]]</noinclude> |
Revision as of 22:16, 20 November 2021
Template Documentation
Description
This is an exact duplicate of the "documentation" template, instead it's red instead of green/cyan. This template is not to be used in normal circumstances, and only exists for very specific and experimental purposes. Please use the standard {{documentation}}
for explaining templates.
Syntax
The syntax of the above (red) template is formatted as follows: {{documentation2|<DESCRIPTION>|<SYNTAX>|<EXAMPLE>}}
- Note that the syntax is the exact same as the original documentation template, except there's a "2" in the word "documentation".
Examples
{{documentation2 |This is where the template's description will be. |This is the syntax of the template. It's best to use <pre>, <code> and/or <nowiki> tags when typing out the template's syntax. |This is where any examples of how to use the template would be.