Template:Chicha Press Article: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
mNo edit summary
Edgard (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="padding: 10px; border: 2px solid #db4437; background-color: #fff9e6; font-family: Arial, sans-serif;">
<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);">
<div style="font-size: 24px; font-weight: bold; color: #db4437; text-align: center; margin-bottom: 10px;">{{{title|Chicha Press Article}}}</div>
    <h1 style="font-size: 30px; color: #cc0000; text-align: center; margin-bottom: 15px;">{{{title|Chicha Press Article}}}</h1>
{{#if: {{{image|}}} | [[File:{{{image}}}|300px|right|{{{caption|}}}]] }}
    {{#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> }}
<div style="font-size: 12px; color: #333; margin-top: 5px;">
    <h2 style="font-size: 18px; color: #333; margin-top: 10px; text-align: center;">
    <strong>Location:</strong> {{{location|Unknown location}}}<br>
        <strong>Location:</strong> {{{location|Unknown location}}} <span style="margin: 0 10px;">|</span> <strong>Date:</strong> {{{date|Today's date}}}
    <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>
<div style="background-color: #ffe0b2; padding: 10px; border-left: 5px solid #db4437; margin-top: 10px; font-size: 12px;">
</includeonly><noinclude>
    {{{lead_paragraph|Introduction not provided.}}}
</div>
<div style="border-top: 1px solid #ccc; padding-top: 10px; font-size: 12px;">
    {{{body|Full story not available.}}}
</div>
</div>[[Category:Chicha press]]</includeonly><noinclude>
{{Documentation
{{Documentation
|content = This template is designed for creating chicha press, or tabloid-style, articles within the Nouvelle Alexandrie wiki. It emphasizes a stylish yet professional look to engage readers while clearly belonging to the tabloid journalism genre.
|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''' - The title of the article.
* '''title''' - Specifies the title of the article.
* '''image''' - Image filename to display (use complete file name including extension, e.g., example.jpg).
* '''image''' - Filename of the image to be displayed (include full path if necessary).
* '''caption''' - Caption for the image.
* '''caption''' - A caption describing the image.
* '''location''' - The geographical location or setting of the news event.
* '''location''' - The location where the event occurred or is relevant.
* '''date''' - The date the news event was reported or occurred.
* '''date''' - The date of the event or article publication.
* '''lead_paragraph''' - A lead paragraph summarizing the key point or introduction of the article.
* '''lead_paragraph''' - A succinct summary or lead paragraph of the article.
* '''body''' - The main text of the article providing detailed information.
* '''body''' - The main content of the article, detailing the event or topic.


==Usage==
== Usage ==
<pre>
<pre>
{{Chicha Press Article
{{Chicha Press Article
| title       = Title of the Article
| title = [Title of the Article]
| image       = filename.jpg
| image = [filename.jpg]
| caption     = Caption for the image
| caption = [Caption for the image]
| location     = Location of the news event
| location = [Location of the news event]
| date         = Date of the news event
| date = [Date of the news event]
| lead_paragraph = Introductory paragraph summarizing the article
| lead_paragraph = [Introductory paragraph summarizing the article]
| body         = Full body text of the article
| body = [Full body text of the article]
}}
}}
</pre>
</pre>


==Example==
== Example ==
{{Chicha Press Article
{{Chicha Press Article
| title       = Celebrity Wedding Shocks Fans!
| title = Celebrity Wedding Shocks Fans!
| image       = celebritywedding.jpg
| image = celebritywedding.jpg
| caption     = The stunning scene from the wedding.
| caption = The stunning scene from the wedding.
| location     = Celebville, Nouvelle Alexandrie
| location = Celebville, Nouvelle Alexandrie
| date         = October 15, 1731
| 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         = The lavish ceremony drew stars from all over, with extravagant details that have to be seen to be believed...
| 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

Template documentation

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...