Template:Category portal

From Bhikitia Pro, An open encyclopedia
Revision as of 09:27, 11 December 2024 by Blossom (talk | contribs) (Created page with "<div class="category-portal" style="border: 1px solid #aaa; padding: 5px; background: #f9f9f9; text-align: center; margin: 10px 0; font-size: smaller;"> {{#if: {{{1|}}} | [[Portal:{{{1}}}|{{#if: {{{icon|yes}}}|[[File:Portal-puzzle.svg|20px|link=Portal:{{{1}}}]] }} Portal:{{{1}}}]] | No category specified. Please provide the portal name as the first parameter. }} </div> <noinclude> == Usage == This template creates a small link to a specific portal associated with a categ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

No category specified. Please provide the portal name as the first parameter.

Usage

This template creates a small link to a specific portal associated with a category.

Parameters

  • 1: The name of the portal (and associated category).
  • icon: Optional. If set to "yes," displays a small portal icon (default: yes).

Example

{{Category portal|Bangladesh|icon=yes}}

Output

A link to: Portal:Bangladesh with an optional icon.

Notes

- Ensure the portal name matches an existing portal in your wiki. - Use this template to add category-related portal links to category pages.

See Also

- Template:Portal - Template:Portal bar