Difference between revisions of "Template:CheckMissing"

From ChoralWiki
Jump to navigation Jump to search
m (DPL3 form of code)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><!--
+
<includeonly>{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn|notlinksfrom={{PAGENAME}}|resultsheader=<big>'''Other works not listed above'''</big>&nbsp;(See [[Template:CheckMissing]] for possible reasons and solutions)<br>|noresultsheader=&nbsp;|namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/; }}</includeonly><noinclude>
-->{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn<!--
+
{{DisplayBox|bgcolor=#ddffdd|This template is for use on a composer page. It checks to see if all the works in <tt>Category:<Composer> compositions</tt> are linked from the composer page. If not, the missing works are listed, with the header
-->|linksto={{PAGENAME}}|notlinksfrom={{PAGENAME}}|resultsheader=<big>'''Other works not listed above'''</big><br><!--
 
-->  See [[Template:CheckMissing]] for possible reasons and solutions.|noresultsheader=All works are listed above.<!--
 
-->|mode=|namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/; |noresultsheader=&nbsp;|columns=3|rowcolformat=width=100%}}<!--
 
--></includeonly><noinclude><!--
 
-->{{DisplayBox|bgcolor=#ddffdd|This template is for use on a composer page. It checks to see if all the works in "<tt>Category:<Composer> compositions</tt>" are linked from the composer page. If not, the missing works are listed, with the header
 
  
 
:See [[Template:CheckMissing]] for possible reasons and solutions.
 
:See [[Template:CheckMissing]] for possible reasons and solutions.
Line 12: Line 7:
 
*They are spelled or capitalized differently. Check for a superfluous redirect.
 
*They are spelled or capitalized differently. Check for a superfluous redirect.
 
*The page has not been completely automated, and the work needs to be manually added to one of the above lists.
 
*The page has not been completely automated, and the work needs to be manually added to one of the above lists.
*Not enough time has elapsed for the cache to refresh; try <tt>Edit</tt> followed by <tt>Save changes</tt>.
+
*Not enough time has elapsed for the cache to refresh; try <tt>Edit</tt> followed by <tt>Save changes</tt>, or add <tt><nowiki>?action=purge</nowiki></tt> to the URL of the page to force a cache refresh.
  
 
Syntax: <tt><nowiki>{{CheckMissing}}</nowiki></tt>  
 
Syntax: <tt><nowiki>{{CheckMissing}}</nowiki></tt>  
Line 18: Line 13:
  
 
[[Category:DPL templates]]
 
[[Category:DPL templates]]
[[Category:Templates]]</noinclude>
+
[[Category:Templates]]
 +
<!--OLD CODE
 +
{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn
 +
|linksto={{PAGENAME}}|notlinksfrom={{PAGENAME}}|resultsheader=<big>'''Other works not listed above'''</big><br>
 +
  See [[Template:CheckMissing]] for possible reasons and solutions.|noresultsheader=All works are listed above.
 +
|mode=|namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/; |noresultsheader=&nbsp;|columns=3|rowcolformat=width=100%}}-->
 +
</noinclude>

Latest revision as of 07:42, 27 March 2020


This template is for use on a composer page. It checks to see if all the works in Category:<Composer> compositions are linked from the composer page. If not, the missing works are listed, with the header

See Template:CheckMissing for possible reasons and solutions.

Possible reasons why a work would be listed both below and above:

  • They are spelled or capitalized differently. Check for a superfluous redirect.
  • The page has not been completely automated, and the work needs to be manually added to one of the above lists.
  • Not enough time has elapsed for the cache to refresh; try Edit followed by Save changes, or add ?action=purge to the URL of the page to force a cache refresh.

Syntax: {{CheckMissing}} No parameters are used.