Difference between revisions of "Template:incomplete"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(allow the template to get the name of the page on which it used as a parameter, for the "edit" link (so that it is not broken in transclusion, especially on the main page))
m (Protected "Template:incomplete": High traffic page (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
(32 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{| style="border: 1px solid #6E9E9E; background-color: #DDFFFF; margin: 0 auto; border-radius: 5px; padding: 5px; text-align: center;"
+
{{notice|'''This explanation may be incomplete or incorrect:''' <!--
| [[File:Megan sitting.png]]
+
-->''{{{1|<br><span class="error">Please include the reason why this explanation is incomplete, like this: <code>{{<nowiki></nowiki>incomplete|reason}}</code></span>}}}''<br><!--
| '''This explanation is incomplete'''<br />You can [{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} edit] it to improve it.
+
-->{{#ifeq:{{PAGENAME}}|Main Page||If you can address this issue, please '''[{{fullurl:{{{target|{{FULLPAGENAME}}}}}|action=edit}} edit the page]!''' Thanks.}}
| [[File:Beret Guy sitting.png]]
+
}}<includeonly>{{#ifeq:{{PAGENAME}}|Main Page||[[Category:Incomplete explanations]]}}</includeonly><noinclude>
|}{{Clear}}<includeonly>[[Category:Incomplete articles]]</includeonly>
+
 
 +
== Usage ==
 +
* You must supply a reason, for example: <code><nowiki>{{incomplete|The title text isn't explained}}</nowiki></code>; 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: <code><nowiki>{{incomplete|reason|target=123: Comic Title}}</nowiki></code>
 +
</noinclude>

Revision as of 23:16, 25 June 2017

Ambox notice.png This explanation may be incomplete or incorrect:
Please include the reason why this explanation is incomplete, like this: {{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}}