Template:MPShelf
Jump to navigation
Jump to search
Template documentation
|
---|
View or edit this documentation. (About template documentation)
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.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | 1 | The image to display. | File | required |
Link | 2 | The link that will be added to the image and text. | Page name | required |
Text | 3 | The text to display. | String | required |
External link | external link | If set, the provided link will be assumed to be external, which will use different formatting to prevent breaking.
| Boolean | suggested |