Fandom

Wikia Developers Wiki

Global Lua Modules/Demo

< Global Lua Modules

869pages on
this wiki
Add New Page
Talk0 Share
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

CodeOutput
{{#expr:5* 7 }}35

Without table parameter

Code

{| class="wikitable
|-
|{{demo|{{#expr:5* 7 }}}}
|}

Output

{{#expr:5* 7 }}

35

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.