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 -->
 +
{{#if: {{{text}}}    | | [[Category:Articles with no OCR]]  }}
 +
{{#if: {{{file}}}    | | [[Category:Articles with no image]]No image available. }}
 +
{{#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}}} }} }} | }}
Line 49: Line 54:
 
}}
 
}}
 
<headertabs />
 
<headertabs />
 
<!-- Hidden categories and set properties -->
 
{{#if: {{{text}}}    | | [[Category:Articles with no OCR]]  }}
 
{{#if: {{{file}}}    | | [[Category:Articles with no image]]No image available. }}
 
{{#if: {{{date}}}    | [[Category:Articles published in {{#sub:{{{date}}}|0|4}}]] {{#set: Has DatePublished = {{{date}}} }} | }}
 
  
 
<!-- Categories from template -->
 
<!-- Categories from template -->

Revision as of 03:41, 28 October 2013


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