Template:Portal top

Revision as of 09:15, 11 December 2024 by Blossom (talk | contribs) (Created page with "<div class="portal-top" style="border: 1px solid #aaa; padding: 10px; background: #f9f9f9; margin-bottom: 10px; text-align: center;"> <table style="width: 100%; border-collapse: collapse;"> <tr> <td style="width: 80px; text-align: center;"> {{#if: {{{image|}}} | [[File:{{{image}}}|{{{width|80px}}}|alt={{{title}}}]] }} </td> <td style="text-align: center; vertical-align: middle;"> <span style="font-size: 1.5em; font-weight: bold;">Welcome to the {{{title|Portal}}}</span><...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Welcome to the Portal
Your gateway to information, topics, and resources

Usage

This template is used to create the top section of a portal. Include the following parameters:

  • title: The title of the portal.
  • image: The filename of the image to display.
  • width: Optional. Width of the image (default: 80px).

Example

{{Portal top
| title = Bangladesh
| image = Flag of Bangladesh.svg
| width = 120px
}}

Notes

- Ensure the image file exists on your MediaWiki setup. - Suitable for use in all portal pages.