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...")
 
m (DPL3 form of code)
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#dpl:category={{{1|}}} compositions
-->{{#dpl:category={{{1|{{PAGENAME}}}}} compositions|notcategory=Works with all editions withdrawn<!--
|notcategory=Works with all editions withdrawn
-->|linksto={{PAGENAME}}|notlinksfrom={{PAGENAME}}|resultsheader=<big>'''Other works not listed above'''</big><br><!--
<!--|linksto={{PAGENAME}}-->
-->  See [[Template:CheckNoComp]] for possible reasons and solutions.|noresultsheader=All works are listed above.<!--
|notlinksfrom={{PAGENAME}}
-->|mode=|namespace=|order=ascending|replaceintitle=/\([^\)]+\)$/|suppresserrors=true|columns=3|rowcolformat=width=100%}}<!--
|replaceintitle=/\([^\)]+\)$/;
--></includeonly><noinclude><!--
|resultsheader=<big>'''Other {{{1}}} works not listed on this page'''</big><br>See [[Template:CheckNoComp]].
|noresultsheader=All {{{1}}} works are listed.
|columns=3
|rowcolformat=width=100%
|allowcachedresults=true}}</includeonly><noinclude><!--
-->{{DisplayBox|bgcolor=#ddffdd|This template is similar to {{tl|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 "<tt>Category:<Composer> compositions</tt>" are linked from the page. If not, the missing works are listed, with the header
-->{{DisplayBox|bgcolor=#ddffdd|This template is similar to {{tl|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 "<tt>Category:<Composer> compositions</tt>" are linked from the page. If not, the missing works are listed, with the header


Line 14: Line 18:
*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.
Line 22: Line 24:
}}
}}


[[Category:DPL templates]]
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 03:23, 6 January 2020

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.