Template:PortalBox

From Paradise Station Wiki
Revision as of 02:45, 6 April 2022 by Shadeykins (talk | contribs) (Syntax.)
Jump to navigation Jump to search
[[file:{{{image}}}]]
role placeholder
role description

This is the middle element for PortalBox templates. When using this template, ensure it's contained in an appropriate div (text-align: center; as property) otherwise it won't render as an appropriate flexbox/will lack centred text.

Parameters are as follows:

border-radius: - This specifies the 'edges' of the PortalBox. For the top, the value should be "1em 1em 0 0" and should be "0 0 1em 1em" for the bottom.
colour dark:   - This is the colour of the left-most bounding box (image columns).
colour light:  - This is the colour of the right-most bounding box (text rows).
image:         - This is the file image. It should be rendered as the plain file name (no brackets), followed by any special links.
role           - This is the role text. Put the name of the object/role here.
description    - This defines the contents of the right-most bounding box (the text row).