Template:Article: Difference between revisions
Jump to navigation
Jump to search
(Original Analytics) |
No edit summary |
||
Line 18: | Line 18: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{#ifeq:{{{Article Category|}}}|Original Analytics|{{Original Works Box|Digger={{#arraymap:{{{Digger|}}}|,|x|x}}}}|{{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>{{#ifeq:{{{Article Category|}}}|Original Analytics|{{Original Works Box|Digger={{#arraymap:{{{Digger|}}}|,|x|x}}}}|{{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|}}}}} | {{#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 07:10, 6 March 2016
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.