Template:Image Template Base
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Base template for image templates such as {{Survivor}} and {{Game}} to wrap around.
Syntax
See Template Data.
When a template wraps around this template, it should be done in conjunction with {{UndefParam}}.
Examples
Template Data
Display a link with an icon.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | 1 | Name of the entity.
| String | required |
| Icon Size | 2 | Size of the entity icon.
| Number | optional |
| Custom Text | text | no description
| String | optional |
| Custom Link | link | Changes link to something other than entity page. | Page name | optional |
| nobr | nobr | Set to "1" for no new line. | Boolean | optional |
| notext | notext | Set to "1" for no text. | Boolean | optional |
| outerWidth | outerWidth | Outer width of the container element | Number | optional |
| minOuterWidth | minOuterWidth | Minimum outer width of the container element | Number | optional |
| maxOuterWidth | maxOuterWidth | Maximum outer width of the container element | Number | optional |
| Entity Type | type | The entity type
| String | required |
| desktop_defaultDim | desktop_defaultDim | Default dimension of the icon on desktop. | Number | required |
| mobile_defaultDim | mobile_defaultDim | Default dimension of the icon on mobile. | Number | required |
| desktop_imageContainerClass | desktop_imageContainerClass | Optional CSS class for the image container element on non-mobile. | String | optional |
| desktop_imageContainerStyle | desktop_imageContainerStyle | Optional CSS class for the image container element on non-mobile. | String | optional |