Template:Documentation2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="docbox2"> | <div class="docbox2"> | ||
<div id="docpad" style="padding-top: 4px; padding-left: 4px;>[[File:modal_icon.png|left]] <span style="font-size: 15px; font-family: Verdana; padding-bottom: 4px; display: inline-block; font-weight: bold;">Template Documentation</span></div><hr style="background:linear-gradient(90deg,rgba(0,0,0,0) 0%,rgb(210, 117, 117) 50%,rgba(2,0,36,0) 100%) !important;> | |||
<div class="docheader2">Description</div> | <div class="docheader2">Description</div> | ||
{{{1}}} | {{{1}}} | ||
Line 7: | Line 8: | ||
{{{3}}} | {{{3}}} | ||
</div> | </div> | ||
<noinclude><br>{{documentation2/doc | <noinclude><br>{{documentation2/doc}}[[Category:Templates]]</noinclude> | ||
Latest revision as of 08:16, 5 June 2022
Template Documentation
Description
{{{1}}}
Syntax
{{{2}}}
Examples
{{{3}}}
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.