Difference between revisions of "Template:Token"
From Roll20 Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{3|}}} ||<code style="margin:0">{{{1}}}</code>}}{{#if: {{{2|}}} | <br>}}</includeonly><noinclude>{{documentation}} | + | <includeonly>{{#if: {{{3|}}} ||<code style="margin:0">{{{1}}}</code>}}{{#if: {{{2|}}} | <br>}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 23:00, 30 December 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. |