Difference between revisions of "Template:Portal tile"
Jump to navigation
Jump to search
Line 48: | Line 48: | ||
<pre> | <pre> | ||
<div id="portal"> | <div id="portal"> | ||
+ | {{Portal top |...}} | ||
<div class="portal-content"> | <div class="portal-content"> | ||
... | ... | ||
Line 59: | Line 60: | ||
<div id="portal"> | <div id="portal"> | ||
+ | {{Portal top | ||
+ | |title=Collection Name | ||
+ | |welcome=Portal Name | ||
+ | |portals={{Portals}}<!-- contains all portal landing links --> | ||
+ | }} | ||
<div class="portal-content"> | <div class="portal-content"> | ||
{{Portal tile | {{Portal tile |
Revision as of 09:02, 20 February 2022
- 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]] }}
- Example
{{Portal tile |title=Main Page |image=408-NBeverSt01.jpg |content= {{unilink|link=General Information}} {{unilink|link=Resources}} {{unilink|link=Wayne County}} }}
- Result
Main Page
- 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>
Wayne County, Ohio Online Resource Center Portals
Portal Name
Collection Name
Main Page
Main Page
Main Page