Template:!: Difference between revisions

Template page
m (Created page with "|<noinclude> this is a dummy-template to allow if-conditions in wiki tables. '''<nowiki>{!}</nowiki>''' replaces your '''<nowiki>|</nowiki>''' in #if: conditions. example: <pre...")
 
mNo edit summary
 
Line 1: Line 1:
|<noinclude>
<onlyinclude>|</onlyinclude><noinclude>
this is a dummy-template to allow if-conditions in wiki tables.
this is a dummy-template to allow if-conditions in wiki tables.



Latest revision as of 20:16, 21 August 2014

| this is a dummy-template to allow if-conditions in wiki tables.

{!} replaces your | in #if: conditions.

example:

{|
{{#if:{{{foobar|}}}|
{{!}}-
! FooBar
{{!}} {{{foobar}}}
}}
|}

for foobar="barfoo" this will result in:

{|
|-
! FooBar
| barfoo
|}