m (vandalism) |
m (Fix broken link) |
||
Line 1: | Line 1: | ||
− | {{Infobox Lua|type = Global|author = [[Wikipedia:User:Codehydro|Codehydro]]|other attribution = [https://en.wikipedia.org/w/index.php?title=Module:Demo&oldid=640391335 original]}}Shows a demonstration of wikitext. See full documentation in [[ |
+ | {{Infobox Lua|type = Global|author = [[Wikipedia:User:Codehydro|Codehydro]]|other attribution = [https://en.wikipedia.org/w/index.php?title=Module:Demo&oldid=640391335 original]}}Shows a demonstration of wikitext. See full documentation in [[wikipedia:Module:Demo|Module:Demo]]. |
==Syntax== |
==Syntax== |
Revision as of 16:58, 15 September 2019
Shows a demonstration of wikitext. See full documentation in Module:Demo.
Syntax
{{#invoke:demo|main|<nowiki>wikitext</nowiki>|br=<separator>|table=1}}
Unlike Wikipedia's version. This module contains a table parameter that will automatically format the output into a table as seen below.
Example
Using the table parameter
Code | Output |
---|---|
{{#expr:5* 7 }} | 35 |
Without table parameter
Code
{| class="wikitable |- |{{demo|{{#expr:5* 7 }}}} |}
Output
{{#expr:5* 7 }} 35 |