Template:Portal Box

Revision as of 15:34, 18 April 2026 by MTRNord (talk | contribs) (Fix formatting of the doc text)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Section

Usage

Wrap one or more boxes in a portal grid container on your page:

<div class="infranav infranav--portal">
<div class="infranav-title">Infrastructure</div>
<div class="infranav-contents">
{{Portal Box|title=DNS & Networking|
* [[DNS servers]]
* [[Envoy Gateway]]
* [[Cilium]]
* [[Network subnets]]
}}
{{Portal Box|title=Kubernetes|
* [[Cluster overview]]
* [[Talos Linux]]
* [[Flux CD]]
* [[Longhorn storage]]
}}
{{Portal Box|title=Mail|
* [[Stalwart Mail]]
* [[DKIM keys]]
}}
{{Portal Box|title=Monitoring|
* [[VictoriaMetrics]]
* [[Grafana]]
* [[Alertmanager]]
}}
</div>
</div>

Each {{Portal Box}} call renders one section card. The outer wrapper controls the overall box border, title bar, and flex grid.

Omit <div class="infranav-title">...</div> if you don't need a header bar above the grid.

Styles

The template's styles are defined in Template:Portal Box/styles.css.

A single section card for a portal-style grid navigation box. Wrap multiple cards inside an infranav portal container.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Heading shown above the card's content.

Stringrequired
Content1

Card body — typically a wikitext bullet list of links.

Stringrequired