Template:MPShelf

From Cosmoteer Wiki
Jump to navigation Jump to search


Template documentation
View or edit this documentation. (About template documentation)
CalloutIconNote.pngNote
Portions of the template sample may not be visible without values provided.

Usage

{{MPShelf|Factions.png|Factions|Factions}}


Examples

Multiple shelves wrapped in a container

Shelf items can be put into inside a container element with a special class: ‎<div class="MPShelf">

This will create a flex-container with items that go in a row, and are both horizontally and vertically centered.

CalloutIconNote.pngInfo
The block border is provided for visual clarity, it is not present in the template.


Using an external link

{{MPShelf|OGCosmoteerLogo.png|https://oldwiki.cosmoteer.net/index.php/Main_Page|Cosmoteer Classic|external link=1}}


Adds a card-like element that contains an image, a text, with links embedded in both of them.

Template parameters

ParameterDescriptionTypeStatus
Image1

The image to display.

Filerequired
Link2

The link that will be added to the image and text.

Page namerequired
Text3

The text to display.

Stringrequired
External linkexternal link

If set, the provided link will be assumed to be external, which will use different formatting to prevent breaking.

Default
0
Auto value
0
Booleansuggested