Difference between revisions of "Template:Article"
From The Doctor Who Cuttings Archive
Jump to navigationJump to searchJohn Lavalie (talk | contribs) |
John Lavalie (talk | contribs) |
||
Line 24: | Line 24: | ||
<headertabs /> | <headertabs /> | ||
− | <!-- | + | <!-- Hidden categories and set properties --> |
{{#if: {{{text}}} | | [[Category:Articles with no OCR]] }} | {{#if: {{{text}}} | | [[Category:Articles with no OCR]] }} | ||
{{#if: {{{filename}}} | | [[Category:Articles with no image]] }} | {{#if: {{{filename}}} | | [[Category:Articles with no image]] }} | ||
Line 30: | Line 30: | ||
{{#if: {{{date}}} | [[Category:Articles published in {{#sub:{{{date}}}|0|4}}]] {{#set:Has DatePublished={{#sub:{{{date}}}|0|4}} }} | }} | {{#if: {{{date}}} | [[Category:Articles published in {{#sub:{{{date}}}|0|4}}]] {{#set:Has DatePublished={{#sub:{{{date}}}|0|4}} }} | }} | ||
− | {{#arraydefine:Cats|{{Categories}}|,|options}} | + | <!-- Categories from template --> |
+ | {{#arraydefine:Cats|{{{Categories}}}|,|options}} | ||
{{#arrayprint:Cats |<br/> | @@@@ |[[Category:@@@@]] }} | {{#arrayprint:Cats |<br/> | @@@@ |[[Category:@@@@]] }} | ||
+ | |||
{{DS}} | {{DS}} | ||
{{#set:[[Has type::Article]]}} | {{#set:[[Has type::Article]]}} |
Revision as of 21:09, 17 October 2013
{{jpg
|filename =
|px =
}}
{{Google Docs Viewer
|url=
|float=|height=|width=|top caption=|bottom caption=}}
{{article
| publication =
| date =
| author =
| pages =
| type =
| description =
| text =
}}