Template:Needs Example: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Added detection for template to check if the page is a function or an event.)
(Do no include help pages on the Deprecated category)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="border: 1px dotted black; background: #EFEFEF;padding:4px;margin-bottom:2px;">[[File:Accessories-text-editor.png]] '''Script Example Missing''' - {{#ifeq: {{padleft:|2|{{lc:{{PAGENAME}}}}}}|on|Event|Function}} <includeonly>{{FULLPAGENAME}}</includeonly> <noinclude><nowiki>{{FULLPAGENAME}}</nowiki></noinclude> needs a script example, help out by writing one.</div>
{{MessageBox|
  bordercolorhex = 000000 |
  bordertype = dotted |
  bgcolorhex = EFEFEF |
  image = File:Accessories-text-editor.png |
  title = Script Example Missing |
  message = {{#ifeq: {{padleft:|2|{{lc:{{PAGENAME}}}}}}|on|Event|Function}} <includeonly>{{FULLPAGENAME}}</includeonly> <noinclude><nowiki>{{FULLPAGENAME}}</nowiki></noinclude> needs a script example, help out by writing one. |
  subtext = <span style="font-size: 85%;">''Before submitting check out [[Help:Editing Guidelines#Script_Examples|Editing Guidelines Script Examples]].''</span> |
}}


<includeonly>[[Category:Needs Example]]</includeonly>
<includeonly>{{ #ifeq: {{NAMESPACE}}|Help||[[Category:Needs Example]] }}</includeonly>
<noinclude>[[Category:Utility templates]]</noinclude>

Latest revision as of 11:17, 17 January 2016

Accessories-text-editor.png Script Example Missing Function {{FULLPAGENAME}} needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.