Difference between revisions of "Template:Deprecated"
From Roll20 Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{mbox|style=margin-bottom:10px|text=This script has been deprecated {{{reason|{{#ifeq: {{{1|}}}|dev|due to changes currently on the [[Dev Server]]}}}}}}}{{#ifeq: {{{nocat|}}}|true||[[Category:Deprecated API Scripts]]}}</includeonly><noinclude>{{documentation}}</noinclude> | + | <includeonly>{{mbox|style=margin-bottom:10px|text=This script has been deprecated {{{reason|{{#ifeq: {{{1|}}}|dev|due to changes currently on the [[Dev Server]]}}}}}}}{{#ifeq: {{{nocat|}}}|true||[[Category:Deprecated API Scripts|{{{name|{{PAGENAME}}}}}]]}}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 16:33, 12 January 2015
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}}
The above documentation is transcluded from Template:Deprecated/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |