Difference between revisions of "Template:Token"
From Roll20 Wiki
m |
Andreas J. (Talk | contribs) |
||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{3|}}} ||<code style="margin | + | <includeonly>{{#if: {{{3|}}} ||<code style="margin:0">{{{1}}}</code>}}{{#if: {{{2|}}} | <br>}}</includeonly> |
+ | |||
+ | <noinclude>{{documentation}}</noinclude> |
Latest revision as of 13:43, 13 November 2020
Renders the first parameter as a token to be used in formal API command syntax documentation. If a second parameter is supplied (with any value), the parameter will also end the current line. If a third parameter is supplied (with any value), no text will be displayed.
The above documentation is transcluded from Template:Token/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. |