Template:ShowEdition: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#ifeq: {{PAGENAME}} | Edition:CPDL {{{EdNo}}}
<includeonly>{{#ifeq: {{PAGENAME}} | Edition:CPDL {{{EdNo}}}
| <includeonly>[[Category:Edition records|{{{EdNo}}}]][[Category:CPDL {{#sub:{{{EdNo}}}|0|3}}xy|{{#sub:{{{EdNo}}}|3}}]]{{#ifeq: {{{Status}}} | withdrawn | [[Category:Withdrawn editions|{{{EdNo}}}]] }}
| [[Category:Edition records|{{{EdNo}}}]][[Category:CPDL {{#sub:{{{EdNo}}}|0|3}}xy|{{#sub:{{{EdNo}}}|3}}]]{{#ifeq: {{{Status}}} | withdrawn | [[Category:Withdrawn editions|{{{EdNo}}}]] }}
<tt>EdNo = </tt><b>{{{EdNo}}}</b><br>
<tt>EdNo = </tt><b>{{{EdNo}}}</b><br>
<tt>Status = </tt>{{{Status|}}}<br>
<tt>Status = </tt>{{{Status|}}}<br>
Line 7: Line 7:
<tt>filelinks = </tt>{{{filelinks|}}}<br>
<tt>filelinks = </tt>{{{filelinks|}}}<br>
<tt>orig = <view original (nonfilelink) data in edit mode></tt>
<tt>orig = <view original (nonfilelink) data in edit mode></tt>
</includeonly>
| {{#ifeq: {{{Status}}} | withdrawn | [[Edition:CPDL {{{EdNo}}}|<b>CPDL #<font color=dark red>{{{EdNo}}}</font>:</b>]] ''This edition has been'' '''withdrawn''' ''{{{reason|at the request of the {{{contributor|editor}}}}}}.''[[Category:Works with withdrawn editions]] | [[Edition:CPDL {{{EdNo}}}|<b>CPDL #<font color=dark green>{{{EdNo}}}</font>:</b>]] {{{filelinks|}}} }}
| <includeonly>{{#ifeq: {{{Status}}} | withdrawn | [[Edition:CPDL {{{EdNo}}}|<b>CPDL #<font color=dark red>{{{EdNo}}}</font>:</b>]] ''This edition has been'' '''withdrawn''' ''{{{reason|at the request of the {{{contributor|editor}}}}}}.''[[Category:Works with withdrawn editions]] | [[Edition:CPDL {{{EdNo}}}|<b>CPDL #<font color=dark green>{{{EdNo}}}</font>:</b>]] {{{filelinks|}}} }}
{{{orig}}}
{{{orig}}}</includeonly>
}}</includeonly><noinclude>This (preliminary) template displays an edition as it appears on a works page.
}}<noinclude>This (preliminary) template displays an edition as it appears on a works page.
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 19:05, 5 June 2012

This (preliminary) template displays an edition as it appears on a works page.