Template:Article: Difference between revisions
Jump to navigation
Jump to search
(pdf) |
(pdf) |
||
Line 19: | Line 19: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{Article Box|{{{Article Category}}}}}{{Subtitle|[[Description::{{{Description|}}}]]}}<div class="center">by {{#arraymap:{{{Digger|}}}|,|x|[[Digger::x]]}}, {{#time: F Y|{{{Article Date}}}}}</div>{{#if: {{{Related Pages|}}}|<div class="center">Related: {{#arraymap:{{{Related Pages|}}}|,|x|[[Related Pages::x]]}}</div>}}{{#set:Title={{{Title}}}|Article Category={{{Article Category}}}|{{#arraymap:{{{Article Tags|}}}|,|x|[[Article Tags::x]]}}|Is Featured={{{Is Featured|}}}|Article Date={{{Article Date}}}|Sort Order={{{Sort Order|}}}|Document={{{Document|}}}|Document Type={{{Document Type|}}}}} | </noinclude><includeonly>{{Article Box|{{{Article Category}}}}}{{Subtitle|[[Description::{{{Description|}}}]]}}<div class="center">by {{#arraymap:{{{Digger|}}}|,|x|[[Digger::x]]}}, {{#time: F Y|{{{Article Date}}}}}</div>{{#if: {{{Related Pages|}}}|<div class="center">Related: {{#arraymap:{{{Related Pages|}}}|,|x|[[Related Pages::x]]}}</div>}}{{#set:Title={{{Title}}}|Article Category={{{Article Category}}}|{{#arraymap:{{{Article Tags|}}}|,|x|[[Article Tags::x]]}}|Is Featured={{{Is Featured|}}}|Article Date={{{Article Date}}}|Sort Order={{{Sort Order|}}}|Document={{{Document|}}}|Document Type={{{Document Type|}}}}} | ||
{{#if:{{{Document|}}}|<div class="download_document_wrapper">[[Media:{{{Document|}}}|<i class="icon-download-alt"></i> Download Document]] | {{#if:{{{Document|}}}|<div class="download_document_wrapper">[[Media:{{{Document|}}}|<i class="icon-download-alt"></i> Download Document]]</div>}} | ||
{{#ifeq:{{{Document Type|}}}|pdf|{{#widget:Pdf|url={{filepath:{{{Document|}}}}}}}}} | {{#ifeq:{{{Document Type|}}}|pdf|{{#widget:Pdf|url={{filepath:{{{Document|}}}}}}}}} | ||
{{Discussion Below}} | {{Discussion Below}} | ||
[[Category:Articles]][[Category:{{{Article Category}}}]] | [[Category:Articles]][[Category:{{{Article Category}}}]] | ||
</includeonly> | </includeonly> |
Revision as of 08:24, 21 September 2014
This is the "Article" template. It should be called in the following format:
{{Article |Title= |Article Category= |Article Tags= |Is Featured= |Description= |Digger= |Article Date= |Related Pages= |Sort Order= |Document= |Document Type= }}
Edit the page to see the template text.