Difference between revisions of "Template:Error"

383 bytes added ,  14:19, 12 December 2008
adding option for a custom error message
imported>DragoonWraith
m (articles needing attention category)
imported>Qazaaq
(adding option for a custom error message)
Line 1: Line 1:
<noinclude>[[Category: Article Tags|Error]][[Category: Templates|Error]]</noinclude><!--Start Incomplete -->
<noinclude>This template is used to mark a page with errors. An optional custom errormessage can be displayed as follows.
 
'''example:'''
<nowiki>{{Error|The example on this page is incorrect}}</nowiki>
'''result:'''
{{Error|The example on this page is incorrect}}
'''example:'''
<nowiki>{{Error}}</nowiki>
'''result:'''
[[Category: Article Tags|Error]][[Category: Templates|Error]]</noinclude><!--Start Incomplete -->
{| style="width:650px;height:50px;background:lavender;border:1px solid royalblue;margin: 1em auto 1em auto"
{| style="width:650px;height:50px;background:lavender;border:1px solid royalblue;margin: 1em auto 1em auto"
| align="center" | '''This Page Has Errors.''' <br><small>Further information might be found in a section of the discussion page.  Please remove this message when no longer necessary.</small>
| align="center" |<!--
 
custom error message
-->{{#if: {{{0|}}} | '''{{{0}}}''' |'''This Page Has Errors.'''}}<!--
 
--><br><small>Further information might be found in a section of the discussion page.  Please remove this message when no longer necessary.</small>
|-
|-
|}
|}
Anonymous user