Template:MainContent/Thumb
From Gigantic Wiki
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:MainContent/Thumb/doc to edit this documentation. (How does this work?) |
- Description
- This template is used by Template:MainContent to provide thumbnals for content entries, which will link to corresponding pages.
- Additional styling is applied only on root template via Template:Mainpage/styles.css (see: Extension:TemplateStyles).
- Syntax
- Type
{{MainContent/Thumb|<text>}}
; the text must correspond to link, visible under thumbnail, and thus thumbnail's file name. - In case of using title different from page's title, type
{{MainContent/Thumb|<text>|<actual page>}}
(won't work with categories, so redirect will be needed)
- Usage example
- Code:
{{MainContent/Thumb|Guardians}} {{MainContent/Thumb|Challenges|Fortune Cards}}
- Results:
Guardians |
Challenges |