Difference between revisions of "Template:Deprecated/doc"
From Roll20 Wiki
m |
Andreas J. (Talk | contribs) m (show code example) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage|override=deprecated/doc|Deprecated}} | {{documentation subpage|override=deprecated/doc|Deprecated}} | ||
− | Produces: | + | Default Produces: |
{{deprecated|nocat=true}} | {{deprecated|nocat=true}} | ||
+ | Code: | ||
+ | <pre>{{deprecated|nocat=true}}</pre> | ||
+ | |||
If the first anonymous parameter is <code>dev</code>, the output will incidate that the deprecation is only relevant on the [[Dev Server]]: | If the first anonymous parameter is <code>dev</code>, the output will incidate that the deprecation is only relevant on the [[Dev Server]]: | ||
{{deprecated|dev|nocat=true}} | {{deprecated|dev|nocat=true}} | ||
+ | Code: | ||
+ | <pre>{{deprecated|dev|nocat=true}}</pre> | ||
+ | |||
An arbitrary <code>reason</code> may alternatively be supplied: | An arbitrary <code>reason</code> may alternatively be supplied: | ||
{{deprecated|reason=because it's just an example|nocat=true}} | {{deprecated|reason=because it's just an example|nocat=true}} | ||
− | < | + | code: |
+ | <pre>{{deprecated|reason=because it's just an example|nocat=true}}</pre> | ||
+ | <includeonly>[[Category:API Templates]]</includeonly> |
Latest revision as of 10:21, 29 January 2021
This is a documentation subpage for Deprecated. It contains usage information, categories and other content that is not part of the original template page. |
Default Produces:
This script has been deprecated |
Code:
{{deprecated|nocat=true}}
If the first anonymous parameter is dev
, the output will incidate that the deprecation is only relevant on the Dev Server:
This script has been deprecated due to changes currently on the Dev Server |
Code:
{{deprecated|dev|nocat=true}}
An arbitrary reason
may alternatively be supplied:
This script has been deprecated because it's just an example |
code:
{{deprecated|reason=because it's just an example|nocat=true}}