Difference between revisions of "Template:AOTD"

From Gunsopedia
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<noinclude>{{obsolete template|[[Template:Day/article]]}}</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">
 
<tr valign="top">
 
<tr valign="top">
Line 14: Line 15:
 
<noinclude>
 
<noinclude>
 
[[category: -the month- ]][[category:Daily articles]]
 
[[category: -the month- ]][[category:Daily articles]]
</noinclude></pre>
+
</noinclude><noinclude></pre>
 
* '''title''': the name of the article to be featured
 
* '''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)
 
* '''image''': a pic to go on the front page with it ... eg., "this.jpg" (no "file:" prefix needed)
Line 21: Line 22:
 
* '''summary''': the text that shows on the main page
 
* '''summary''': the text that shows on the main page
  
[[category:layout templates]]
+
[[category:Daily articles| ]]
[[category:Daily articles]]
+
[[category:obsolete templates]]
[[category:main page templates]]
+
 
</noinclude>
 
</noinclude>
 +
[[category:pages with obsolete templates]]

Latest revision as of 18:45, 29 June 2015

Caveman.jpg This template is now obsolete and should no longer be embedded in any Gunsopedia pages. To fulfill the functions this template once served, you should now use Template:Day/article instead.
[[Image:{{{image}}}|left|180x250px]]{{{summary}}}
[[{{{title}}}|(Read more...)]]

[edit] Usage

{{AOTD
|title= 
|image= 
|imagewidth= 
|more= 
|summary= 
}}
<noinclude>
[[category: -the month- ]][[category:Daily articles]]
</noinclude><noinclude>
  • 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