Template:Article: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
(Article Template: Text)
 
(35 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{Article
{{Article
|Title=
|Title=
|Version=
|Article Category=
|Article Category=
|Article Tags=
|Is Featured=
|Description=
|Description=
|Digger=
|Digger=
Line 11: Line 14:
|Related Pages=
|Related Pages=
|Sort Order=
|Sort Order=
|Scribd ID=
|Document=
|Scribd Access Key=
|Text=
|Scribd View Mode=
}}
}}
</pre>
</pre>
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}}}|Article Date={{{Article Date}}}|Sort Order={{{Sort Order|}}}|Scribd ID={{{Scribd ID|}}}|Scribd Access Key={{{Scribd Access Key|}}}|Scribd View Mode={{{Scribd View Mode|}}}}}
</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=
{{#if: {{{Scribd ID|}}}| {{#widget:Scribd|id={{{Scribd ID|}}}|access_key={{{Scribd Access Key|}}}|viewmode={{{Scribd View Mode|}}}}}}}
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>
{{#widget:Pdf|url={{filepath:{{{Document|}}}}}}}{{#set:Document={{{Document|}}}}}}}
{{Discussion Below}}
{{Discussion Below}}
[[Category:Articles]][[Category:{{{Article Category}}}]]
[[Category:Articles]][[Category:{{{Article Category}}}]]
<div style="display:none">
{{#arraymap:{{{Article Tags|}}}|,|x|[[Article Tags::x]]}}
</div>
<div class="line_numbers">
</includeonly>
</includeonly>

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.