I exported the Template:Warning template from Wikipedia and tried it import it into my instance of MediaWiki. The import was successful, but when I try to use the template, it just shows:
Template:Warning
on my page.
When I go to the Template:Warning page on my wiki, I see the following:
{{#if: |
{{#if:| [[File:{{{image}}}|40px|Warning]] }} {{#if: |'}}{{{1}}} {{#if: |{{{imageright}}} |{{#if: |Error: no shortcuts were specified and the |msg= parameter was not set.}} }}
}}{{{1}}}
Further down the page, I get:
{{#if:{{#ifeq:Warning|sandbox|1}}{{#ifeq:Warning|doc|1}}||{{#switch:Lua error: First parameter must be one of edit, move, create, upload, undelete, autoreview.|sysop|templateeditor|interfaceadmin=|#default=}}}}
Any suggestions would be greatly appreciated. Thank you in advance.