Template:Rewrite: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Undo revision 1715665 by Squidward (talk) Wat da faq are you doing vandal? (undoing vandalism)
(coding, adding an article/section switch function, rewriting instructions; admin-approved)
Line 1: Line 1:
<div class="notice-template rewrite boilerplate metadata" id="rewrite-needed" style="text-align: justify; background:#9CF; margin: .5em 2%; padding: 0 1em; border: 1px solid #404; color:black">
<div class="notice-template" style="text-align:justify;background:#9CF;margin:.5em 2%;padding:0 1em;border:1px solid black;color:black">
It has been requested that this page or section be [[MarioWiki:Maintenance|rewritten]]{{#if:{{{1|}}}|<nowiki> because</nowiki> {{{1}}}|}}{{#if:{{{2|}}}|<nowiki> (tagged</nowiki> on {{{2}}}).|.}}
It has been requested that this {{#if: {{{section|}}}|section|article}} be '''rewritten'''{{#if:{{{1|}}}|<nowiki> because</nowiki> {{{1}}}|}}{{#if:{{{2|}}}|<nowiki> (tagged</nowiki> on {{{2}}}).|.}}
</div><includeonly>[[Category:Rewrite Requested]]</includeonly><noinclude>A specific reason for the rewrite request can be added as a variable, i.e. <code><nowiki>{{rewrite|of poor grammar}}</nowiki></code>. A separate template can be used if the article needs to be expanded: {{tem|Rewrite-expand}}. The date should also be included as a second variable, i.e. <code><nowiki>{{rewrite|of poor grammar|May 6, 2014}}</nowiki></code>, or <code><nowiki>{{rewrite||May 6, 2014}}</nowiki></code> if no specific issues are listed. With all variables included, the template will read "''...be rewritten because of poor grammar (tagged on May 6, 2014).''"[[Category:Notice Templates|{{PAGENAME}}]]</noinclude>
</div><includeonly>[[Category:Rewrite Requested]]</includeonly><noinclude>The template pertains to articles by default; to make it about a specific section instead, type <code><nowiki>{{rewrite|section=yes}}</nowiki></code>. A specific reason for the rewrite request can be added as a variable, i.e. <code><nowiki>{{rewrite|of poor grammar}}</nowiki></code> (or <code><nowiki>{{upcoming|of poor grammar|section=yes}}</nowiki></code> for a section-specific request reason). Separate templates can be used if the article (or section) needs to be expanded: {{tem|rewrite-expand}}, or is the tense is incorrect: {{tem|tense}}. The date that the template is added should also be included as a second variable, i.e. <code><nowiki>{{rewrite|of poor grammar|May 6, 2014}}</nowiki></code>, or <code><nowiki>{{rewrite||May 6, 2014}}</nowiki></code> if no specific issues are listed (and <code><nowiki>{{rewrite|of poor grammar|May 6, 2014|section=yes}}</nowiki></code> or <code><nowiki>{{rewrite||May 6, 2014|section=yes}}</nowiki></code> for section-specific requests). With all variables included (includuing section), the template will read "''It has been requested that this section be rewritten because of poor grammar (tagged on May 6, 2014).''"[[Category:Notice Templates|{{PAGENAME}}]]</noinclude>

Revision as of 17:13, February 11, 2015

It has been requested that this article be rewritten.

The template pertains to articles by default; to make it about a specific section instead, type {{rewrite|section=yes}}. A specific reason for the rewrite request can be added as a variable, i.e. {{rewrite|of poor grammar}} (or {{upcoming|of poor grammar|section=yes}} for a section-specific request reason). Separate templates can be used if the article (or section) needs to be expanded: {{rewrite-expand}}, or is the tense is incorrect: {{tense}}. The date that the template is added should also be included as a second variable, i.e. {{rewrite|of poor grammar|May 6, 2014}}, or {{rewrite||May 6, 2014}} if no specific issues are listed (and {{rewrite|of poor grammar|May 6, 2014|section=yes}} or {{rewrite||May 6, 2014|section=yes}} for section-specific requests). With all variables included (includuing section), the template will read "It has been requested that this section be rewritten because of poor grammar (tagged on May 6, 2014)."