FANDOM


Basic templates

{| style="color: blue; background: green; border: solid red 2px; border-radius: 2.5px"
|This is a test
|}

Turns to

This is a test

Adding parameters

{| style="color: blue; background: green; border: solid red 2px;"
|This is a test {{{parameter|foo}}}
|}

Turns to

This is a test foo

Use of {{#switch}}

{| style="color: blue; background: green; border: solid red 2px;"
|This is a test {{#switch {{{parameter|}}}
|Switch 1 = foo1
|Switch 2 = foo2
}}
{{{parameter|Switch 1}}}
|}

Turns to

This is a test foo1

Use of {{#if}}

{| style="color: blue; background: green; border: solid red 2px;"
|This is a test {{#if {{{parameter|}}}| Adding: {{{parameter}}}}}
{{{parameter|foo}}}
|}

Turns to

This is a test Adding: foo

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.