Template:ShowEdition: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
<tt>orig = <view original (nonfilelink) data in edit mode></tt>
<tt>orig = <view original (nonfilelink) data in edit mode></tt>
</includeonly>
</includeonly>
| <includeonly>{{#ifeq: {{{Status}}}  
| <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|}}} }}
| 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}}}</includeonly>
{{{orig}}}</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 18:58, 5 June 2012

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