Difference between revisions of "Template:Article"

From Protoball
Jump to navigation Jump to search
(article tags fixup)
(Article Template: Text)
 
Line 15: Line 15:
 
|Sort Order=
 
|Sort Order=
 
|Document=
 
|Document=
 +
|Text=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{{#default_form:Article}}{{#ifeq:{{{Article Category|}}}|New England Roots|{{New England Roots Project Box}}|{{#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|}}}&Article[Digger]={{{Digger|}}}&Article[Description]={{{Description|}}}&Article[Article Date]={{{Article Date|}}}&Article[Related Pages:]={{{Related Pages:|}}}}}</div><div class="center smaller">{{#ask:[[Title::{{{Title|}}}]]|intro=
 
</noinclude><includeonly>{{#default_form:Article}}{{#ifeq:{{{Article Category|}}}|New England Roots|{{New England Roots Project Box}}|{{#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|}}}&Article[Digger]={{{Digger|}}}&Article[Description]={{{Description|}}}&Article[Article Date]={{{Article Date|}}}&Article[Related Pages:]={{{Related Pages:|}}}}}</div><div class="center smaller">{{#ask:[[Title::{{{Title|}}}]]|intro=
Versions: }}</div>}}{{#set:Title={{{Title}}}|Version={{{Version}}}|Article Category={{{Article Category}}}|Is Featured={{{Is Featured|}}}|Article Date={{{Article Date}}}|Sort Order={{{Sort Order|}}}|Document={{{Document|}}}|Document Type={{{Document Type|}}}}}
+
Versions: }}</div>}}{{#set:Title={{{Title}}}|Version={{{Version}}}|Article Category={{{Article Category}}}|Is Featured={{{Is Featured|}}}|Article Date={{{Article Date}}}|Sort Order={{{Sort Order|}}}|Document={{{Document|}}}|Document Type={{{Document Type|}}}|Text={{{Text|}}}}}
 
{{#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|}}}}}}}

Latest revision as of 15:19, 27 February 2021

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=
|Text=
}}

Edit the page to see the template text.