Template:ShowEdition: Difference between revisions
Jump to navigation
Jump to search
(replaced template:Switch with parser function #ifeq) |
m (maybe all italics? let's see...) |
||
Line 8: | Line 8: | ||
<tt>orig = <view original (nonfilelink) data in edit mode></tt> | <tt>orig = <view original (nonfilelink) data in edit mode></tt> | ||
| {{#ifeq: {{{Status}}} | | {{#ifeq: {{{Status}}} | ||
| withdrawn | [[Edition:CPDL {{{EdNo}}}|<b>CPDL #<font color=gray>{{{EdNo}}}</font>:</b>]] ''This edition has been | | withdrawn | [[Edition:CPDL {{{EdNo}}}|<b>CPDL #<font color=gray>{{{EdNo}}}</font>:</b>]] ''This edition has been '''withdrawn''' {{{reason|at the request of the {{{contributor|editor}}}}}}.''[[Category:Works with withdrawn editions]] | ||
| {{#ifeq:{{IsNew|{{{posted|1901-01-01}}}}} | | {{#ifeq:{{IsNew|{{{posted|1901-01-01}}}}} | ||
|yes|{{filepath:NewScore.gif}} [[Category:New works| {{{posted|1901-01-01}}}]] {{#ifeq:{{IsNew|{{{posted|1901-01-01}}}|range=30 days}} | |yes|{{filepath:NewScore.gif}} [[Category:New works| {{{posted|1901-01-01}}}]] {{#ifeq:{{IsNew|{{{posted|1901-01-01}}}|range=30 days}} |
Revision as of 18:32, 12 May 2020
This (preliminary) template displays an edition as it appears on a works page.