Template:Article: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> This is the "Article" template. It should be called in the following format: <pre> {{Article |Title= |Article Type= |Description= |Digger= |Date= |Related Pages= |...") |
No edit summary |
||
Line 8: | Line 8: | ||
|Description= | |Description= | ||
|Digger= | |Digger= | ||
|Date= | |Article Date= | ||
|Related Pages= | |Related Pages= | ||
|Sort Order= | |Sort Order= | ||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{Essay Box}}{{Subtitle|[[Description::{{{Description|}}}]]}}<div class="center">by {{#arraymap:{{{Digger|}}}|,|x|[[Digger::x]]}}, {{#time: F Y|{{{Date}}}}}</div>{{#if: {{{Related Pages|}}}|<div class="center">Related: {{#arraymap:{{{Related Pages|}}}|,|x|[[Related Pages::x]]}}</div>}}{{#set:Title={{{Title}}}|Date={{{Date}}}|Sort Order={{{Sort Order|}}}|Scribd ID={{{Scribd ID|}}}|Scribd Access Key={{{Scribd Access Key|}}}|Scribd View Mode={{{Scribd View Mode|}}}}} | </noinclude><includeonly>{{Essay Box}}{{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 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:{{#switch:{{{Article Type}}}|Essay=Essays|Story=Stories|Dig=Digs|19CBBs}}]] | [[Category:Articles]][[Category:{{#switch:{{{Article Type}}}|Essay=Essays|Story=Stories|Dig=Digs|19CBBs}}]] | ||
</includeonly> | </includeonly> |
Revision as of 19:33, 18 January 2013
This is the "Article" template. It should be called in the following format:
{{Article |Title= |Article Type= |Description= |Digger= |Article Date= |Related Pages= |Sort Order= |Scribd ID= |Scribd Access Key= |Scribd View Mode= }}
Edit the page to see the template text.