Template:Specific article with intro: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="specific-article" style="border: 1px solid #aaa; padding: 10px; background: #f9f9f9; margin: 10px;"> | <div class="specific-article" style="border: 1px solid #aaa; padding: 10px; background: #f9f9f9; margin: 10px;"> | ||
<div style="font-weight: bold; font-size: 1.2em; text-align: center;"> | |||
{{#if: {{{intro|}}} | {{{intro}}} | Featured Article }} | |||
</div> | |||
<div style="margin-top: 10px; text-align: center;"> | |||
{{#if: {{{article|}}} | |||
| [[{{{article}}}|Read more about "{{{article}}}" →]] | |||
| No article specified. Please provide an article name using <code>article</code> parameter. | |||
}} | }} | ||
</div> | </div> | ||
Revision as of 09:21, 11 December 2024
Featured Article
No article specified. Please provide an article name using article parameter.
Usage
This template is used to display a specific article with a customizable introduction.
Parameters
- intro: The introductory text or message. Defaults to "Featured Article."
- article: The specific article name to display.
Example
{{Specific article with intro
| intro = Learn more about a key figure in Bangladesh:
| article = Sheikh Mujibur Rahman
}}
Notes
- Ensure the article name is correctly spelled and exists in the wiki. - Suitable for portals or topic-specific pages.