Difference between revisions of "Template:Day/article"
From Gunsopedia
Line 12: | Line 12: | ||
}} | }} | ||
[[category:{{{month}}}| ]] | [[category:{{{month}}}| ]] | ||
− | |||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
Line 23: | Line 22: | ||
|more= | |more= | ||
|summary= | |summary= | ||
− | }}<noinclude>{{DEFAULTSORT:}}</noinclude> | + | }}<noinclude>{{DEFAULTSORT:}} |
+ | [[category:Daily articles]]</noinclude> | ||
<noinclude> | <noinclude> | ||
</pre> | </pre> |
Revision as of 11:51, 12 June 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= }}<noinclude>{{DEFAULTSORT:}} [[category:Daily articles]]</noinclude> <noinclude>
- sort: not currently used due to bug.
- 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