Template:Featured: Difference between revisions

From Foxwells Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:


<includeonly>
<includeonly>
<div class="featured-page" style="border:1px solid #3498db; padding:8px; background-color:#eaf4fc; width:250px; font-family:Arial,sans-serif; margin:0 0 1em 1em; float:right;">
<div class="featured-page" style="border:1px solid #3498db; padding:6px; background-color:#eaf4fc; width:250px; font-family:Arial,sans-serif; margin:0 0 1em 1em; float:right; clear:right;">
   <h3 style="color:#2980b9; margin:0; text-align:center; font-weight:bold; padding:2px 0;">Featured Page</h3>
   <h3 style="color:#2980b9; margin:0; text-align:center; font-weight:bold; padding:0;">Featured Page</h3>
   <h4 style="color:#2980b9; margin:4px 0; text-align:center; font-weight:normal;">
   <h4 style="color:#2980b9; margin:2px 0; text-align:center; font-weight:normal; padding:0;">
     [[#{{{title|}}}|{{{title|}}}]]
     [[#{{{title|}}}|{{{title|}}}]]
   </h4>
   </h4>
   <div style="text-align:center; margin:4px 0;">
   <div style="text-align:center; margin:2px 0; padding:0;">
     [[File:{{{image|}}}|200px|alt={{{title|}}}]]
     [[File:{{{image|}}}|200px|alt={{{title|}}}]]
   </div>
   </div>
   <p style="margin:4px 0; font-size:0.9em; line-height:1.3; color:#2c3e50;">{{{description|}}}</p>
   <p style="margin:2px 0; padding:0; font-size:0.9em; line-height:1.3; color:#2c3e50;">{{{description|}}}</p>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 01:56, 7 July 2025



Usage:

{{FeaturedPage |title=Example Article |image=ExampleImage.jpg |description=This is a short description highlighting the key points of the featured article. }}