Template:Article: Difference between revisions
Jump to navigation
Jump to search
(Article With Version) |
(Article With Version - new version link) |
||
Line 18: | Line 18: | ||
</pre> | </pre> | ||
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}}}}|{{#ifeq:{{{Article Category|}}}|Rule Sets|{{Rule Sets Box}}|{{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>}}{{#if: {{{Version|}}}|<div class="center">Version {{{Version}}} | </noinclude><includeonly>{{#ifeq:{{{Article Category|}}}|Original Analytics|{{Original Works Box|Digger={{#arraymap:{{{Digger|}}}|,|x|x}}}}|{{#ifeq:{{{Article Category|}}}|Rule Sets|{{Rule Sets Box}}|{{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>}}{{#if: {{{Version|}}}|<div class="center">Version {{{Version}}} {{#formlink:form=Article With Version|link text=Add another version|query string=Article[Title]={{{Title|}}}&Article[Article Category]={{{Article Category|}}}}}</div><div>{{#ask:[[Title:{{{Title|}}}]]}}</div>}}{{#set:Title={{{Title}}}|Version={{{Version}}}|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|}}}}}}} |
Revision as of 14:28, 13 December 2018
This is the "Article" template. It should be called in the following format:
{{Article |Title= |Version= |Article Category= |Article Tags= |Is Featured= |Description= |Digger= |Article Date= |Related Pages= |Sort Order= |Document= }}
Edit the page to see the template text.