Difference between revisions of "Template:incomplete"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(rename category)
(support parameter for incompleteness reason, and return an error if it's missing.)
Line 1: Line 1:
{{notice|'''This explanation may be incomplete or incorrect.''' If you see a way to improve it, '''[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} edit it]!''' Thanks.}}<includeonly>[[Category:Incomplete explanations]]</includeonly><noinclude>
+
{{notice|'''This explanation may be incomplete or incorrect:'''<!--
 +
-->{{{1|<br><span class="error">ERROR: reason not specified. Please include the reason this explanation is incomplete, like so: <code><nowiki>{{incomplete|reason}}</nowiki></code></span><br>}}}<!--
 +
-->If you can address this issue, please '''[{{fullurl:{{{target|{{FULLPAGENAME}}}}}|action=edit}} edit the page]!''' Thanks.
 +
}}<includeonly>[[Category:Incomplete explanations]]</includeonly><noinclude>
  
 
+
== Usage ==
'''Note:''' If the page using this template is transcluded into another page, the "edit" link will be incorrect, unless you specify in the template call the name of the page in which it is called. Especially for the latest comic (transcluded into the main page), the template call should look like this :
+
* You must supply a reason, for example: <code><nowiki>{{incomplete|The title text isn't explained}}</nowiki></code>; otherwise, the template displays an error.
<pre>{{incomplete|123: Comic Title}}</pre>
+
* If the page using this template is transcluded into another page, the "edit" link will be incorrect, unless you specify in the template call the name of the page in which it is called. Especially for the latest comic (transcluded into the main page), the template call should look like this: <code><nowiki>{{incomplete|reason|target=123: Comic Title}}</nowiki></code>
  
 
</noinclude>
 
</noinclude>

Revision as of 04:16, 23 November 2013

Ambox notice.png This explanation may be incomplete or incorrect:
ERROR: reason not specified. Please include the reason this explanation is incomplete, like so: {{incomplete|reason}}
If you can address this issue, please edit the page! Thanks.

Usage

  • You must supply a reason, for example: {{incomplete|The title text isn't explained}}; otherwise, the template displays an error.
  • If the page using this template is transcluded into another page, the "edit" link will be incorrect, unless you specify in the template call the name of the page in which it is called. Especially for the latest comic (transcluded into the main page), the template call should look like this: {{incomplete|reason|target=123: Comic Title}}