User:JL-Bot/Project content/documentation: Difference between revisions

Content deleted Content added
add example for copy/paste ease
add back TOC for ease of navigation
Line 1:
{{Documentation subpage}}
{{Shortcut|WP:RECOG}}
 
__NOTOC__
This template is used to have the bot generate a listing of recognized content (e.g. [[Wikipedia:WikiProject Physics/Recognized content]]).
 
===Usage===
Place the template where you want the content displayed:
 
Line 127:
; {{para|type|<var>text</var>}} : replace text "recognized content" with <code><var>text</var></code> in the wikitext output.
 
===Output===
The results will be written to same page as the template. They will be prefaced by a comment header and followed by a comment footer. This header and footer are not visible on the displayed page, but are needed to allow the bot to identify prior results.
 
Line 135:
If the bot doesn't find a valid header and footer (ex. first run), it will place the results immediately below the template. If it does find a valid header and footer (updates), it will replace the content between the header and footer with the new results.
 
===Example===
<pre><nowiki>
{{User:JL-Bot/Project content