Jump to content

Template:Pbox/doc: Difference between revisions

From BattleIntelligence
imported>Deadfire
m updating
 
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
Line 1: Line 1:
{{documentation subpage}}__NOTOC__
{{documentation subpage}}__NOTOC__
This template creates a '''floating box with links to as many as 20 [[BattleTechWiki:Portal|BattleTechWiki portals]]'''.
This template creates a '''floating box with links to as many as 20 [[BattleIntelligence:Portal|BattleIntelligence portals]]'''.


This template is a simplified and compact version of [[Template:Portal]].  This template uses a 48 by 24 pixel frame for all portal images and an 8-point bold nonserif font for all portal links.  If the designated portal does not exist, this template will redirect to the [[:Category:Portals|Portal Directory]].
This template is a simplified and compact version of [[Template:Portal]].  This template uses a 48 by 24 pixel frame for all portal images and an 8-point bold nonserif font for all portal links.  If the designated portal does not exist, this template will redirect to the [[:Category:Portals|Portal Directory]].

Latest revision as of 00:18, 1 May 2025

This template creates a floating box with links to as many as 20 BattleIntelligence portals.

This template is a simplified and compact version of Template:Portal. This template uses a 48 by 24 pixel frame for all portal images and an 8-point bold nonserif font for all portal links. If the designated portal does not exist, this template will redirect to the Portal Directory.

When used for more than one portal, this template will:

  1. Space each portal link equally regardless of image dimensions.
  2. Center each portal image.
  3. Center each portal link.

Use

The complete syntax for this template is:

{{Pbox|portal01|...|portal20|align=|image=}}

where:

  • portal01|...|portal20 are up to 20 portal names without a prefix.
  • align= an optional floating box alignment parameter.
    • align=left
    • align=right (default)
  • image= an alternative image without a prefix.

See also