Template:Article: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{Article Box|{{{Article Type}}}}}{{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 Type={{{Article Type}}}|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>{{Article Box|{{{Article Type}}}}}{{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 Type={{{Article Type}}}|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|}}}}}
{{#if: {{{Scribd ID|}}}| {{#widget:Scribd|id={{{Scribd ID|}}}|access_key={{{Scribd Access Key|}}}|viewmode={{{Scribd View Mode|}}}}}}}
{{#if: {{{Scribd ID|}}}| {{#widget:Scribd|id={{{Scribd ID|}}}|access_key={{{Scribd Access Key|}}}|viewmode={{{Scribd View Mode|}}}}}}}
[[Category:Articles]][[Category:{{Article Type Name|{{{Article Type}}}}}]]
[[Category:Articles]][[Category:{{Article Type Name|{{{Article Type}}}}}]]
</includeonly>
</includeonly>

Revision as of 12:43, 30 January 2013

This is the "Article" template. It should be called in the following format:

{{Article
|Title=
|Article Type=
|Article Category=
|Description=
|Digger=
|Article Date=
|Related Pages=
|Sort Order=
|Scribd ID=
|Scribd Access Key=
|Scribd View Mode=
}}

Edit the page to see the template text.