Difference between revisions of "Template:CheckMissing"

From ChoralWiki
Jump to navigation Jump to search
m (Text replacement - "\|replaceintitle\=\/(.*)\/\, " to "|replaceintitle=/$1/; ")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn|notlinksfrom={{PAGENAME}}|resultsheader=\n<big>'''Other works not listed above'''</big>&nbsp;(See [[Template:CheckMissing]] for possible reasons and solutions)|noresultsheader=&nbsp; |namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/; }}</includeonly><noinclude>
+
<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>
{{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
+
{{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 7: 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. You may have to do this twice to obtain that the cache is completely refreshed.
  
 
Syntax: <tt><nowiki>{{CheckMissing}}</nowiki></tt>  
 
Syntax: <tt><nowiki>{{CheckMissing}}</nowiki></tt>  
Line 14: Line 14:
 
[[Category:DPL templates]]
 
[[Category:DPL templates]]
 
[[Category:Templates]]
 
[[Category:Templates]]
<!--OLD CODE <includeonly>
+
<!--OLD CODE  
 
{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn
 
{{#dpl:category={{PAGENAME}} compositions|notcategory=Works with all editions withdrawn
 
|linksto={{PAGENAME}}|notlinksfrom={{PAGENAME}}|resultsheader=<big>'''Other works not listed above'''</big><br>
 
|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.
 
   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%}}
+
|mode=|namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/; |noresultsheader=&nbsp;|columns=3|rowcolformat=width=100%}}-->
</includeonly><noinclude>-->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 04:20, 1 September 2021


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. You may have to do this twice to obtain that the cache is completely refreshed.

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