Difference between revisions of "Template:Clarifyref/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(now let's try the escaping trick)
imported>SMcCandlish
(this should do it, really)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
 +
<includeonly>{{transclusionless}}</includeonly>
 
==Usage==
 
==Usage==
 
:'''This template must be [[WP:SUBST|substituted]].''' Unfortunately it either must be used just ''after'' a <code><nowiki><ref>...</ref></nowiki></code> or must be substituted first then at the end of the <code><nowiki><ref>...</ref></nowiki></code> tags' marked up content, since the tags thwart the ability of [[MediaWiki]] to act on <code>subst:</code> for some reason.
 
:'''This template must be [[WP:SUBST|substituted]].''' Unfortunately it either must be used just ''after'' a <code><nowiki><ref>...</ref></nowiki></code> or must be substituted first then at the end of the <code><nowiki><ref>...</ref></nowiki></code> tags' marked up content, since the tags thwart the ability of [[MediaWiki]] to act on <code>subst:</code> for some reason.
Line 16: Line 17:
 
*[[Template:Clarifyref2]] &ndash; same except only asks for <code>[<nowiki />[Template:Cite web]]</code> instead of both it and <code><ref...><code>
 
*[[Template:Clarifyref2]] &ndash; same except only asks for <code>[<nowiki />[Template:Cite web]]</code> instead of both it and <code><ref...><code>
 
<includeonly>
 
<includeonly>
<<noinclude />noinclude>{{transclusionless}}<<noinclude />/noinclude>
 
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:{{PAGENAME}}}}
 
{{DEFAULTSORT:{{PAGENAME}}}}

Revision as of 08:20, 19 January 2010


Usage

This template must be substituted. Unfortunately it either must be used just after a <ref>...</ref> or must be substituted first then at the end of the <ref>...</ref> tags' marked up content, since the tags thwart the ability of MediaWiki to act on subst: for some reason.

This is a customized instance of {{Clarify}}, that templates the once tedious task of flagging badly done reference citations. It also automatically includes the date.

{{subst:Clarifyref}}

The code in the article will then read:

{{Clarify|date=January 2010|reason=<nowiki>This is not a proper reference citation. Use [[Template:Cite web]] or similar to provide source details. Use <ref...> inline in the article (see [[WP:CITE]]) to source the specific facts provided by this reference.</nowiki>}}

See also

  • Template:Clarifyref2 – same except only asks for [[Template:Cite web]] instead of both it and <ref...>