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 |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{documentation | {{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. | |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, including templates that only administrators and moderators should use/edit. 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></code> - Note that the syntax is the exact same as the original documentation template, except there's a "2" in the word "documentation". | |The syntax of the above (red) template is formatted as follows: <code><nowiki>{{documentation2|<DESCRIPTION>|<SYNTAX>|<EXAMPLE>}}</nowiki></code> - Note that the syntax is the exact same as the original documentation template, except there's a "2" in the word "documentation". | ||
|<pre>{{documentation2 | |<pre>{{documentation2 | ||
|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> |
Latest revision as of 01:51, 22 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, including templates that only administrators and moderators should use/edit. 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.