Template:ArticleSnippet: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(This is for the revised POTD)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="max-width: 300px; border: 2px solid #aaa; padding: 0 5px; text-align:center;">
<div style="max-width: 400px; border: 3px solid #ccccff; padding: 10px; text-align:center;">
   [[File:{{{image|default.jpg}}}|280px]]
   <div style="font-size: 150%; margin: 0 0 10px;">'''Article of the Day'''</div><div style="text-align:center;">[[File:{{{image|Sausage Pic.png}}}|400px]]</div><div style="font-size: 70%; margin: 4px;">''{{{image description|Image Description}}}''</div>
   <div>{{{title|Title of the Incident}}}</div>
   <div style="font-size: 150%; margin:10px 0 0 0;">[[{{{title|Title of the Article}}}]]</div> <div style="padding:10px;">{{{description|Description}}}</div>
  {{{content|Content of the incident...}}}
</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"image": {
"example": "image.jpg"
},
"title": {
"label": "Article",
"description": "Make sure to not put [[]] around the name of the article, as it automatically does that for you. Make sure the article link is correct",
"example": "Headset era"
},
"description": {
"description": "Description of the article"
},
"image description": {
"description": "The description of the image"
}
},
"paramOrder": [
"image",
"image description",
"title",
"description"
]
}
</templatedata>
</noinclude>

Latest revision as of 00:33, 25 December 2023

Article of the Day
Sausage Pic.png
Image Description
Description

No description.

Template parameters

ParameterDescriptionTypeStatus
imageimage

no description

Example
image.jpg
Unknownoptional
image descriptionimage description

The description of the image

Unknownoptional
Articletitle

Make sure to not put [[]] around the name of the article, as it automatically does that for you. Make sure the article link is correct

Example
Headset era
Unknownoptional
descriptiondescription

Description of the article

Unknownoptional