Doctor Who Cuttings Archive

Difference between revisions of "Template:Article test"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
{{#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 | <!----> <pdf width="{{{width|500}}}" height="{{{height|800}}}" File:{{filepath:{{{file}}} }} <!---->*{{{file}}} {{#set:Has Image={{{file}}} }} | }}
+
{{#ifeq: {{#sub:{{{file}}}|-3}} | pdf | <pdf width="{{{width|500}}}" height="{{{height|800}}}" File:{{Get file name{{{file}}} }}</pdf>*{{{file}}} {{#set:Has Image={{{file}}} }} | }}
 
= Description =  
 
= Description =  
 
*'''Publication:''' [[Has Publication::{{{publication}}}]]
 
*'''Publication:''' [[Has Publication::{{{publication}}}]]
Line 58: Line 58:
 
<!--[[Category:Articles]]-->
 
<!--[[Category:Articles]]-->
 
</includeonly>
 
</includeonly>
Link: <pdf height="500" width="500"> File:1989-01-02_Winnipeg_Free_Press.pdf</pdf>
 

Latest revision as of 19:54, 27 December 2013