Template:Chicha Press Article: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="padding: | <div style="max-width: 800px; margin: auto; padding: 20px; border: 3px solid #cc0000; background-color: #fff9e6; font-family: 'Georgia', serif; box-shadow: 0 0 10px rgba(0,0,0,0.5);"> | ||
< | <h1 style="font-size: 30px; color: #cc0000; text-align: center; margin-bottom: 15px;">{{{title|Chicha Press Article}}}</h1> | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | <div style="text-align: center;"><img src="{{{image}}}" alt="{{{caption|}}}" style="max-width:100%; height:auto;"> <div style="font-size: 14px; color: #666;">{{{caption}}}</div></div> }} | ||
< | <h2 style="font-size: 18px; color: #333; margin-top: 10px; text-align: center;"> | ||
<strong>Location:</strong> {{{location|Unknown location}}} <span style="margin: 0 10px;">|</span> <strong>Date:</strong> {{{date|Today's date}}} | |||
</h2> | |||
<div style="background-color: #f2dcd0; padding: 15px; margin-top: 20px; font-size: 16px; border-left: 8px solid #cc0000;"> | |||
<p>{{{lead_paragraph|Introduction not provided.}}}</p> | |||
</div> | |||
<div style="font-size: 16px; line-height: 1.6; margin-top: 10px;"> | |||
<p>{{{body|Full story not available.}}}</p> | |||
</div> | |||
</div> | </div> | ||
</includeonly><noinclude> | |||
{{Documentation | {{Documentation | ||
|content = This template is | |content = This template is intended for creating visually engaging, tabloid-style articles within the wiki environment. It combines clean typography with strategic use of color and spacing to enhance reader experience and engagement. | ||
==Parameters== | == Parameters == | ||
* '''title''' - | * '''title''' - Specifies the title of the article. | ||
* '''image''' - | * '''image''' - Filename of the image to be displayed (include full path if necessary). | ||
* '''caption''' - | * '''caption''' - A caption describing the image. | ||
* '''location''' - The | * '''location''' - The location where the event occurred or is relevant. | ||
* '''date''' - The date the | * '''date''' - The date of the event or article publication. | ||
* '''lead_paragraph''' - A lead paragraph | * '''lead_paragraph''' - A succinct summary or lead paragraph of the article. | ||
* '''body''' - The main | * '''body''' - The main content of the article, detailing the event or topic. | ||
==Usage== | == Usage == | ||
<pre> | <pre> | ||
{{Chicha Press Article | {{Chicha Press Article | ||
| title | | title = [Title of the Article] | ||
| image | | image = [filename.jpg] | ||
| caption | | caption = [Caption for the image] | ||
| location | | location = [Location of the news event] | ||
| date | | date = [Date of the news event] | ||
| lead_paragraph = Introductory paragraph summarizing the article | | lead_paragraph = [Introductory paragraph summarizing the article] | ||
| body | | body = [Full body text of the article] | ||
}} | }} | ||
</pre> | </pre> | ||
==Example== | == Example == | ||
{{Chicha Press Article | {{Chicha Press Article | ||
| title | | title = Celebrity Wedding Shocks Fans! | ||
| image | | image = celebritywedding.jpg | ||
| caption | | caption = The stunning scene from the wedding. | ||
| location | | location = Celebville, Nouvelle Alexandrie | ||
| date | | date = October 15, 1731 | ||
| lead_paragraph = The wedding of the year took place last night, and here's everything you need to know about it! | | lead_paragraph = The wedding of the year took place last night, and here's everything you need to know about it! | ||
| body | | body = The lavish ceremony drew stars from all over, with extravagant details that have to be seen to be believed... | ||
}} | }} | ||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 07:28, 20 April 2024
This template is intended for creating visually engaging, tabloid-style articles within the wiki environment. It combines clean typography with strategic use of color and spacing to enhance reader experience and engagement.
Parameters
- title - Specifies the title of the article.
- image - Filename of the image to be displayed (include full path if necessary).
- caption - A caption describing the image.
- location - The location where the event occurred or is relevant.
- date - The date of the event or article publication.
- lead_paragraph - A succinct summary or lead paragraph of the article.
- body - The main content of the article, detailing the event or topic.
Usage
{{Chicha Press Article
| title = [Title of the Article]
| image = [filename.jpg]
| caption = [Caption for the image]
| location = [Location of the news event]
| date = [Date of the news event]
| lead_paragraph = [Introductory paragraph summarizing the article]
| body = [Full body text of the article]
}}
Example
Celebrity Wedding Shocks Fans!
<img src="celebritywedding.jpg" alt="The stunning scene from the wedding." style="max-width:100%; height:auto;">
The stunning scene from the wedding.
Location: Celebville, Nouvelle Alexandrie | Date: October 15, 1731
The wedding of the year took place last night, and here's everything you need to know about it!
The lavish ceremony drew stars from all over, with extravagant details that have to be seen to be believed...
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |