Template:Article: Difference between revisions

From Protoball
Jump to navigation Jump to search
(remove scribd access key, no longer needed)
(pdf)
Line 13: Line 13:
|Related Pages=
|Related Pages=
|Sort Order=
|Sort Order=
|Scribd ID=
|Document=
|Scribd View Mode=
|Document Type=
}}
}}
</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}}}|{{#arraymap:{{{Article Tags|}}}|,|x|[[Article Tags::x]]}}|Is Featured={{{Is Featured|}}}|Article Date={{{Article Date}}}|Sort Order={{{Sort Order|}}}|Scribd ID={{{Scribd ID|}}}|Scribd View Mode={{{Scribd View Mode|}}}}}
</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: {{{Scribd ID|}}}| {{#widget:Scribd|id={{{Scribd ID|}}}|access_key={{{Scribd Access Key|}}}|viewmode={{{Scribd View Mode|}}}}}}}
{{#if:{{{Document|}}}|<div class="download_document_wrapper">[[Media:{{{Document|}}}|<i class="icon-download-alt"></i> Download Document]]}}</div>
{{#ifeq:{{{Document Type|}}}|pdf|{{#widget:Pdf|url={{filepath:{{{Document|}}}}}}}}}
{{Discussion Below}}
{{Discussion Below}}
[[Category:Articles]][[Category:{{{Article Category}}}]]
[[Category:Articles]][[Category:{{{Article Category}}}]]
</includeonly>
</includeonly>

Revision as of 08:08, 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=
|Document Type=
}}

Edit the page to see the template text.