Template:Main page card
From The Museum of Human Achievement
Creates a card adapted for use on the main page or similar context.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | Image URL or filename
| String | optional |
| Label | label | The card label (highlighted heading that overlaps the image).
| String | optional |
| Text | content | The card text | Unbalanced wikitext | optional |
| Target | target | The button target URL
| String | optional |
| Button text | buttontext | The button text.
| String | optional |
| Class | class | The names of CSS classes to apply to the entire card.
| String | optional |
- Usage
{{Card wall start|example}}
{{Main page card
|image=Moha.wiki logo.png
|label=MoHa
|content=Creates a card adapted for use on the main page or similar context.
|target=Main Page
|buttontext=BUTTON
|class=moha-card
}}
{{End}}
- Result
Label
Creates a card adapted for use on the main page or similar context.
- Note
-
- See Template:Card wall start.
- Simply omit parameters to keep default values.
- Compared to Template:Card, this template does not bring you to target when you click on the card image.
- This template is not used on Main Page; Template:Card is.