Difference between revisions of "Template:Token"
From Roll20 Wiki
m |
|||
Line 1: | Line 1: | ||
− | <includeonly><code>{{{1}}}</code>{{#if: {{{2|}}} | <br>}}</includeonly><noinclude>{{documentation}}</noinclude> | + | <includeonly>{{#if: {{{3|}}} ||<code>{{{1}}}</code>}}{{#if: {{{2|}}} | <br>}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 00:59, 26 July 2014
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. |