Template:!-

From SWG Utopia
Revision as of 21:18, 9 November 2023 by Talisa (talk | contribs) (Created page with "<onlyinclude>|-</onlyinclude><noinclude> This template is used as a method to embed a wikitable new_row when it appears inside a <nowiki>{{#if:</nowiki> or other structure th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

|-

This template is used as a method to embed a wikitable new_row when it appears inside a {{#if: or other structure that would become confused.

This would break because the #if thinks the |'s belong to it:

{{#if: condition |
{| width="100%"
| align="center" | some stuff
|-
| more stuff
|}
}}

but the following works.

{{#if: condition |
{{{!}} width="100%"
{{!}} align="center" {{!}} some stuff
{{!-}}
{{!}}  more stuff
{{!}}}
}}

Please notice that the }} closing the #if MUST be on it's own line!

See also: Template:!