FANDOM


local docs = [[Shows a demonstration of wikitext. See full documentation in \[\[w:c:Wikipedia:Module:Demo|Module:Demo\]\].
 
==Syntax==
<nowiki>{{#invoke:demo|main|&lt;nowiki&gt;wikitext&lt;/nowiki&gt;|br=<separator>|table=1}}</nowiki>
 
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===
{{#invoke:demo|main|<nowiki>{{#expr:5* 7 }}</nowiki>|table=1}}
 
===Without table parameter===
====Code====
<pre>{| class="wikitable
|-
|{{#invoke:demo|main|<nowiki>{{#expr:5* 7 }}</nowiki>}}
|}</pre>
====Output====
{| class="wikitable"
|-
|{{#invoke:demo|main|<nowiki>{{#expr:5* 7 }}</nowiki>}}
|}
]]
return  mw.getCurrentFrame():preprocess(docs)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.