Template:Portal tile

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
Description

Creates tiles with image on the left.

Usage
{{Portal tile
|title=    # Short text
|image=    # Name of an image
|iwidth=   # Image width in pixels. Default: 180px
|content=  # Instances of [[Template:Unilink]]
|color=    # Tile flavour, one of the following: [ primary, info, dark, default ]. Default: default
}}
Example
{{Portal tile
|title=Main Page
|image=408-NBeverSt01.jpg
|content=
{{unilink|link=General Information}}
{{unilink|link=Resources}}
{{unilink|link=Wayne County}}
}}
Result


Wall

To get a centered grid with tiles, wrap instances of this template with:

<div id="portal">
{{Portal top |...}}
<div class="portal-content">
...
{{Portal tile|...}}
{{Portal tile|...}}
{{Portal tile|...}}
...
</div>
</div>