Doctor Who Cuttings Archive

Difference between revisions of "Template:Article"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
Line 1: Line 1:
 
<includeonly>  
 
<includeonly>  
 
<!-- Hidden categories and set properties -->
 
<!-- Hidden categories and set properties -->
{{#ifexpr: {{Age of article}} < 4838400 | This is a recently published article.  More information may be added at a later date.<br />}}{{#if: {{{text}}} | | [[Category:Articles with no OCR]] }} {{#if: {{{file}}} | | [[Category:Articles with no image]]No image available.  {{#if: {{{text}}} | However there is a {{#switchtablink:Text|transcription}} available.}}<br /><br />Do you have an image?  Email us: {{email}} }} {{#if: {{{date}}} | [[Category:Articles published in {{#sub:{{{date}}}|0|4}}]] {{#set: Has DatePublished = {{{date}}} }} | }}
+
{{#ifexpr: {{Age of article}} < 4838400 | This is a recently published article.  More information may be added at a later date.<br /><br /> | {{#if: {{{file}}} | | [[Category:Articles with no image]]No image available.  {{#if: {{{text}}} | However there is a {{#switchtablink:Text|transcription}} available.}}<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}}} }} | }}
 
{{#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}}} }} }} | }}
 
{{#ifeq: {{#sub:{{{file}}}|-3}} | pdf | {{Google Docs Viewer|url={{{file}}}|float=|height={{{height|500}}}|width={{{width|500}}} }}*{{{file}}} {{#set:Has Image={{{file}}} }} | }}
 
{{#ifeq: {{#sub:{{{file}}}|-3}} | pdf | {{Google Docs Viewer|url={{{file}}}|float=|height={{{height|500}}}|width={{{width|500}}} }}*{{{file}}} {{#set:Has Image={{{file}}} }} | }}
= Description =  
+
= Description = *'''Publication:''' [[Has Publication::{{{publication}}}]]
*'''Publication:''' [[Has Publication::{{{publication}}}]]
 
 
*'''Date:''' {{#if: {{{date}}} | [[:Category:Articles published in {{#sub: {{{date}}}|0|4}}|{{{date}}}]] | }}
 
*'''Date:''' {{#if: {{{date}}} | [[:Category:Articles published in {{#sub: {{{date}}}|0|4}}|{{{date}}}]] | }}
 
*'''Author:''' {{{author}}}
 
*'''Author:''' {{{author}}}

Revision as of 22:07, 8 November 2013


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