Difference between revisions of "Template:Error"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (probably need to save again to make the live example work)
imported>Qazaaq
m (variables start counting at 1 instead of 0)
Line 8: Line 8:
  <nowiki>{{Error}}</nowiki>
  <nowiki>{{Error}}</nowiki>
'''result:'''
'''result:'''
[[Category: Article Tags|Error]][[Category: Templates|Error]]</noinclude><!--Start Incomplete -->
[[Category: Article Tags|Error]][[Category: Templates|Error]]</noinclude>{| 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" |<!--
| align="center" |<!--


custom error message
custom error message
-->{{#if: {{{0|}}} | '''{{{0}}}''' |'''This Page Has Errors.'''}}<!--
-->{{#if: {{{1|}}} | '''{{{1}}}''' |'''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>
--><br><small>Further information might be found in a section of the discussion page.  Please remove this message when no longer necessary.</small>
Line 20: Line 19:
<includeonly>[[Category:Articles Needing Attention|{{PAGENAME}}]]
<includeonly>[[Category:Articles Needing Attention|{{PAGENAME}}]]
[[Category:Articles with Errors|{{PAGENAME}}]]</includeonly>
[[Category:Articles with Errors|{{PAGENAME}}]]</includeonly>
<!-- End Incomplete -->

Revision as of 13:23, 12 December 2008

This template is used to mark a page with errors. An optional custom errormessage can be displayed as follows.

example:

{{Error| The example on this page is incorrect }}

result:

The example on this page is incorrect
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.

example:

{{Error}}

result:{| style="width:650px;height:50px;background:lavender;border:1px solid royalblue;margin: 1em auto 1em auto" | align="center" |This Page Has Errors.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary. |- |}