Template:Main Page/Card
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Usage |
This template uses CSS found at Template:Main Page/styles.css.
Template that creates cards for {{Main Page}}.
Syntax
{{Main Page/Card|image = |link = |text = }}
- image – Image for the card excluding the file extension.
- ext – Extension of the image. Default: png.
- link – Link of the card.
- text – Text displayed on the highlight card. Default: link.
Example
<div class="mp-navigation-wrapper mp-card-navigation">
{{Main Page/Card|image = Kabuto Beetle Icon|link = Insect|text = Insects}}
{{Main Page/Card|image = Sanke Koi Icon|link = Fish}}
{{Main Page/Card|image = Bean-Shaped Fist Crab Icon|link = Shore-Dweller|text = Shore-Dwellers}}
</div>
Template Data
Template that creates cards for the Main Page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | Image for the card excluding the file extension.
| File | required |
| Extension | ext | Extension of the image.
| String | optional |
| Link | link | Link of the card.
| Page name | required |
| Text | text | Text displayed on the card.
| String | optional |