Template:Article: Difference between revisions
Jump to navigation
Jump to search
(pdf) |
(pdf) |
||
Line 14: | Line 14: | ||
|Sort Order= | |Sort Order= | ||
|Document= | |Document= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 20: | Line 19: | ||
</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]]</div>}} | {{#if:{{{Document|}}}|<div class="download_document_wrapper">[[Media:{{{Document|}}}|<i class="icon-download-alt"></i> Download Document]]</div>}} | ||
{{# | {{#widget:Pdf|url={{filepath:{{{Document|}}}}}}}{{#set:Document={{{Document|}}}}} | ||
{{Discussion Below}} | {{Discussion Below}} | ||
[[Category:Articles]][[Category:{{{Article Category}}}]] | [[Category:Articles]][[Category:{{{Article Category}}}]] | ||
</includeonly> | </includeonly> |
Revision as of 08:29, 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= }}
Edit the page to see the template text.