Difference between revisions of "Template:Day/article"

From Gunsopedia
Jump to: navigation, search
(Created page with "<noinclude>Template to format the display of the AOTD in the date page and the front page. </noinclude> <table style="margin-left: 5px; margin-right: 5px; background-color...")
 
Line 1: Line 1:
<noinclude>Template to format the display of the [[AOTD]] in the date page and the front page.
+
<noinclude>Template to format the display of the [[AOTD]] in the date page and the front page. If the <date>/article page has no featured article for it, use the '''[[template:AOTD missing|<nowiki>{{AOTD missing}}</nowiki>]]''' template instead.
 +
 
 +
==Current version ==
 
</noinclude>
 
</noinclude>
 
<table style="margin-left: 5px; margin-right: 5px; background-color: transparent;" cellpadding="0" cellspacing="0" border="0">
 
<table style="margin-left: 5px; margin-right: 5px; background-color: transparent;" cellpadding="0" cellspacing="0" border="0">

Revision as of 15:56, 22 April 2013

Template to format the display of the AOTD in the date page and the front page. If the <date>/article page has no featured article for it, use the {{AOTD missing}} template instead.

Current version

[[Image:{{{image}}}|left|180x250px]]{{{summary}}}
[[{{{title}}}|(Read more...)]]

[[category:{{{month}}}| ]]

Usage

{{day/article
|month= 
|sort= 
|title= 
|image= 
|imagewidth= 
|more= 
|summary= 
}}
  • title: the name of the article to be featured
  • image: a pic to go on the front page with it ... eg., "this.jpg" (no "file:" prefix needed)
  • imagewidth: pick how wide you want the image to be (default is 180px)
  • more: you can choose text for the article link (defaults to "Read more...")
  • summary: the text that shows on the main page
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox