Difference between revisions of "Template:Error"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Qazaaq
m
imported>Qazaaq
m (removing extra space)
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:


'''example:'''
'''example:'''
  <nowiki>{{Error| The example on this page is incorrect. }}</nowiki>
  <nowiki>{{Error| The example on this page is incorrect.}}</nowiki>
'''result:'''
'''result:'''{{Error|The example on this page is incorrect}}
{{Error|The example on this page is incorrect}}
'''example:'''
'''example:'''
  <nowiki>{{Error}}</nowiki>
  <nowiki>{{Error}}</nowiki>
'''result:'''
'''result:'''{{Error}}
{{Error}}
 
[[Category: Article Tags|Error]][[Category: Templates|Error]]</noinclude><includeonly><div><div style="width:650px;height:50px;background:lavender;border:1px solid royalblue;margin: 1em auto 1em auto;text-align:center;padding:1em;">
[[Category: Article Tags|Error]][[Category: Templates|Error]]</noinclude>
{{#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></div></div>
 
<includeonly><table style="width:650px;height:50px;background:lavender;border:1px solid royalblue;margin: 1em auto 1em auto;text-align:center;"><tr>
 
<td>{{#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></td>
 
</tr></table>
[[Category:Articles Needing Attention|{{PAGENAME}}]]
[[Category:Articles Needing Attention|{{PAGENAME}}]]
[[Category:Articles with Errors|{{PAGENAME}}]]</includeonly>
[[Category:Articles with Errors|{{PAGENAME}}]]</includeonly>

Latest revision as of 13:43, 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:

This Page Has Errors.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.