Template:CheckMissing: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
m (Text replacement - "\|replaceintitle\=\/(.*)\/\, " to "|replaceintitle=/$1/; ")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>===Other works not listed above===</onlyinclude><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=\=\=\=Other works not listed above\=\=\=<br>:The following are not listed above; probably a new SortWorks command is needed:|noresultsheader=All works are listed above.<br>
 
|mode=|namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/|suppresserrors=true|columns=3|rowcolformat=width=100%}}
:See [[Template:CheckMissing]] for possible reasons and solutions.
</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<br>
Possible reasons why a work would be listed both below and above:
:<tt>The following are not listed above; probably a new SortWorks command is needed:</tt>
*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 <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>  
No parameters are used.}}
No parameters are used.}}


[[Category:Templates]]</noinclude>
[[Category:DPL templates]]
[[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 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.