Template:CPDLno: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
eu>BarryJ
No edit summary
m (Reverted edits by Choralia (talk) to last revision by Carlos)
Tag: Rollback
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#dpl:title=Edition:CPDL {{padleft:{{{1|0}}}|5|0}}|oneresultheader=[[Edition:CPDL {{padleft:{{{1|0}}}|5|0}}|'''CPDL #<font color=blue>{{padleft:{{{1|0}}}|5|0}}</font>:''']]&nbsp;|noresultsheader={{#if:{{{2|}}}|'''[http://{{SERVERNAME}}/wiki/choralwiki_edition_data_viewer.php?edition={{{1|0}}} CPDL #<font color=brown>{{padleft:{{{1|0}}}|5|0}}</font>:''']&nbsp; |'''CPDL #<font color=brown>{{padleft:{{{1|0}}}|5|0}}</font>:'''&nbsp; }}|allowcachedresults=true}}<includeonly>[[Category:CPDL {{#sub:{{padleft:{{{1|0}}}|5|0}}|0|-2}}xy|{{#sub:{{padleft:{{{1|0}}}|5|0}}|3}}]]</includeonly><noinclude>
{{#dpl:title= Edition:CPDL {{padleft:{{{1|0}}}|5|0}} <!--
-->|oneresultheader= [[Edition:CPDL {{padleft:{{{1|0}}}|5|0}}|'''CPDL #<font color=blue>{{padleft:{{{1|0}}}|5|0}}</font>:''']]&nbsp; <!--
-->|noresultsheader= {{#if:{{{2|}}}
|'''[http://{{SERVERNAME}}/wiki/choralwiki_edition_data_viewer.php?edition={{{1|0}}} CPDL #<font color=brown>{{padleft:{{{1|0}}}|5|0}}</font>:''']&nbsp;  
|'''CPDL #<font color=brown>{{padleft:{{{1|0}}}|5|0}}</font>:'''&nbsp; }}<!--
-->|allowcachedresults=true
}}<includeonly>[[Category:CPDL {{#sub: {{padleft:{{{1|0}}}|5|0}} |0|-2}}xy|{{#sub: {{padleft:{{{1|0}}}|5|0}} |3}} ]]<!-- [[Category:CPDL {{padleft: {{{1|0}}}|5|0}}| {{padleft:{{{1|0}}}|5|0}}]] --></includeonly><noinclude>
{{prot-temp}}
{{prot-temp}}


Line 9: Line 15:
(2)  If, say,  the page "Edition:CPDL 01234" exists, it is intended to hold all the relevant information to the edition with CPDL edition number CPDL #01234, and indeed the "CPDL #01234:" would be a link to "Edition:CPDL 01234" (if the page does not exist, "CPDL #01234:" is not a link).
(2)  If, say,  the page "Edition:CPDL 01234" exists, it is intended to hold all the relevant information to the edition with CPDL edition number CPDL #01234, and indeed the "CPDL #01234:" would be a link to "Edition:CPDL 01234" (if the page does not exist, "CPDL #01234:" is not a link).
</div>
</div>
[[Category:DPL templates]]
[[Category:Experimental templates]]
[[Category:Experimental templates]]
<!--ORIGINAL CODE:
{{#dpl:title= Edition:CPDL {{#pad:{{{1|0}}}|5|0}} |oneresultheader= [[Edition:CPDL {{#pad:{{{1|0}}}|5|0}}|'''CPDL #<font color=blue>{{#pad:{{{1|0}}}|5|0}}</font>:''']]&nbsp; |noresultsheader= {{#if:{{{2|}}}|'''[http://{{SERVERNAME}}/wiki/choralwiki_edition_data_viewer.php?edition={{{1|0}}} CPDL #<font color=brown>{{#pad:{{{1|0}}}|5|0}}</font>:''']&nbsp; |'''CPDL #<font color=brown>{{#pad:{{{1|0}}}|5|0}}</font>:'''&nbsp; }}|allowcachedresults=true }}<includeonly>[[Category:CPDL {{#sub: {{#pad:{{{1|0}}}|5|0}} |0|-2}}xy|{{#sub: {{#pad:{{{1|0}}}|5|0}} |3}} ]]</includeonly>
-->
</noinclude>
</noinclude>

Latest revision as of 09:14, 16 March 2021

CPDL #00000: 

Please do not delete this template. It accomplishes several purposes, important for tracking CPDL numbers and collecting information about editions.

(1) It is a test for categorizing and tracking CPDL numbers, via a scheme that pads CPDL numbers to 5 digits and categorizes, say CPDL #01234 in category:CPDL 012xy, with sortkey 34 (CPDL number modulo 100). Thus, there would be fewer than a thousand (currently less than 300) new "CPDL abcxx" categories created.

(2) If, say, the page "Edition:CPDL 01234" exists, it is intended to hold all the relevant information to the edition with CPDL edition number CPDL #01234, and indeed the "CPDL #01234:" would be a link to "Edition:CPDL 01234" (if the page does not exist, "CPDL #01234:" is not a link).