Doctor Who Cuttings Archive

Difference between revisions of "Template:Article"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
Line 2: Line 2:
 
'''{{PAGENAME}}''' ({{#sub:{{{date}}}|0|4}})<br /><br />
 
'''{{PAGENAME}}''' ({{#sub:{{{date}}}|0|4}})<br /><br />
 
<!-- Hidden categories and set properties -->
 
<!-- Hidden categories and set properties -->
{{#ifexpr: {{Age of article}} < 7776000 | This is a recently published article.  More information may be added at a later date.<br /> | {{#if: {{{file}}} | | [[Category:Articles with no image]]No image available.  {{#if: {{{text}}} | However there is a {{#switchtablink:Text|transcription}} available.}}{{#if: {{{abstract|}}} | | <br /><br />Do you have an image?  Email us: {{email}} }} }} }}{{#if: {{{text}}} | | [[Category:Articles with no OCR]] }} {{#if: {{{date}}} | [[Category:Articles published in {{#sub:{{{date}}}|0|4}}]] {{#set: Has DatePublished = {{{date}}} }} | }}
+
{{#ifexpr: {{Age of article}} < 7776000 | This is a recently published article.  More information may be added at a later date.<br /> | {{#if: {{{file}}} | | [[Category:Articles with no image]]No image available.  {{#if: {{{text}}} | However there is a {{#switchtablink:Text|transcription}} available.}}{{#if: {{{abstract|}}} | | <br /><br /><span class='NoPrint'>Do you have an image?  Email us: {{email}}</span> }} }} }}{{#if: {{{text}}} | | [[Category:Articles with no OCR]] }} {{#if: {{{date}}} | [[Category:Articles published in {{#sub:{{{date}}}|0|4}}]] {{#set: Has DatePublished = {{{date}}} }} | }}
 
{{#ifeq: {{#sub:{{{file}}}|-3}} | jpg | [[Image:{{{file}}}|link={{filepath:{{{file}}} }}|{{{px|250}}}px]]
 
{{#ifeq: {{#sub:{{{file}}}|-3}} | jpg | [[Image:{{{file}}}|link={{filepath:{{{file}}} }}|{{{px|250}}}px]]
 
*{{filepath:{{{file}}} }} {{#set:Has Image={{filepath: {{{file}}} }} }} | }}
 
*{{filepath:{{{file}}} }} {{#set:Has Image={{filepath: {{{file}}} }} }} | }}

Revision as of 03:06, 6 March 2014


{{article
| publication =
| file =
| px =
| height =
| width =
| date =
| author =
| pages =
| language = English
| type =
| description =
| categories =
| moreTitles =
| morePublications =
| moreDates =
| text =
}}