Difference between revisions of "Template:Revise"

From DataSelf Knowledge Base
Jump to navigation Jump to search
Line 1: Line 1:
 
<span style="color:#964B00" title="- {{#if: {{{2|}}} | Revision comment:  {{{2}}}| This text needs to be revised}}  -">{{{1}}}</span><noinclude>
 
<span style="color:#964B00" title="- {{#if: {{{2|}}} | Revision comment:  {{{2}}}| This text needs to be revised}}  -">{{{1}}}</span><noinclude>
  
 +
== Syntax ==
 
<nowiki>{{revise|</nowiki>''text-that-needs-to-be-revised''<nowiki>|</nowiki>''hidden-revision-comments''}}<nowiki>  
 
<nowiki>{{revise|</nowiki>''text-that-needs-to-be-revised''<nowiki>|</nowiki>''hidden-revision-comments''}}<nowiki>  
  
</nowiki>''revision-comments-saved-in-HTML''</nowiki> Displays as:  
+
=== Examples ===
{{revise|''text-that-needs-to-be-revised''|}}
+
</nowiki>{{revise|text-that-needs-to-be-revised|this is what I think about that}}</nowiki> Displays as:  
 +
{{revise|text-that-needs-to-be-revised|this is what I think about that}}
  
 
The brown color of the text gives a visual indication that the text needs attention without overly distracting the reader. The optional ''revision-comments-saved-in-HTML'' (parameter #3) is saved as a HTML comment which can be searched.
 
The brown color of the text gives a visual indication that the text needs attention without overly distracting the reader. The optional ''revision-comments-saved-in-HTML'' (parameter #3) is saved as a HTML comment which can be searched.
  
DataSelf staff can search on the string "{{revise" to find the sections marked off by the presence of this template.
+
DataSelf staff can search on the string <nowiki>"{{revise"</nowiki> to find the sections marked off by the presence of this template.
  
 
<!-- {{#if: {{{3|}}} |<!-- {{{2}}} -->|}} -->
 
<!-- {{#if: {{{3|}}} |<!-- {{{2}}} -->|}} -->
  
 
<!-- |</nowiki>''revision-comments-saved-in-HTML''</nowiki></noinclude> -->
 
<!-- |</nowiki>''revision-comments-saved-in-HTML''</nowiki></noinclude> -->

Revision as of 23:24, 5 April 2014

{{{1}}}

Syntax

{{revise|text-that-needs-to-be-revised|hidden-revision-comments}} === Examples === text-that-needs-to-be-revised --></nowiki> Displays as: text-that-needs-to-be-revised -->

The brown color of the text gives a visual indication that the text needs attention without overly distracting the reader. The optional revision-comments-saved-in-HTML (parameter #3) is saved as a HTML comment which can be searched.

DataSelf staff can search on the string "{{revise" to find the sections marked off by the presence of this template.

|}} -->