Template:CheckNoComp: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Created page with "<includeonly><!-- -->{{#dpl:category={{{1|{{PAGENAME}}}}} compositions|notcategory=Works with all editions withdrawn<!-- -->|linksto={{PAGENAME}}|notlinksfrom={{PAGENAME}}|res...")
 
No edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#dpl:category={{{1|{{PAGENAME}}}}} compositions|notcategory=Works with all editions withdrawn<!--
-->{{#dpl:category={{{1}}} 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:CheckNoComp]] for possible reasons and solutions.|noresultsheader=All works are listed above.<!--
-->  See [[Template:CheckNoComp]] for possible reasons and solutions.|noresultsheader=All works are listed above.<!--
Line 14: Line 14:
*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>.


Syntax options:  
Syntax: <tt><nowiki>{{CheckNoComp|<composer name>}}</nowiki></tt> – composer's name must be specified.
#<tt><nowiki>{{CheckNoComp}}</nowiki></tt> – for use on a composer page
#<tt><nowiki>{{CheckNoComp|<composer name>}}</nowiki></tt> – for use on a different page that is supposed to contain all the composer's works on this wiki.


This template would not work on a page that contains no links to work pages, or on a page not supposed to contain the composer's works.
This template would not work on a page that contains no links to work pages, or on a page not supposed to contain the composer's works.

Revision as of 03:26, 1 November 2017

This template is similar to {{CheckMissing}}; it is different in that it can be used on any page that is supposed to contain all of a composer's works on this wiki. It checks to see if all the works in "Category:<Composer> compositions" are linked from the page. If not, the missing works are listed, with the header

See Template:CheckNoComp 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, or 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.

Syntax: {{CheckNoComp|<composer name>}} – composer's name must be specified.

This template would not work on a page that contains no links to work pages, or on a page not supposed to contain the composer's works.