Difference between revisions of "Template:Portal geo"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
 
Line 54: Line 54:
 
}}
 
}}
 
</div>
 
</div>
</includeonly><noinclude>
+
 
 
;Description  
 
;Description  
 
Creates a location thumb. Intended to be used inside <code>.portal-content</code> container. Use square shaped images for the best results.
 
Creates a location thumb. Intended to be used inside <code>.portal-content</code> container. Use square shaped images for the best results.

Latest revision as of 16:23, 1 March 2022

Description

Creates a location thumb. Intended to be used inside .portal-content container. Use square shaped images for the best results.

Usage
{{Portal geo
|title=    # Short text
|badge=    # Short text
|image=    # Image name
|link=     # Page name to link. Defaults to title, and if no title provided, falls back to Main Page
}}
Example
<div class="portal-content">
{{Portal geo
|title=Wooster
|badge=26.1
|image=Wooster map geo.png
}}
{{Portal geo
|title=Wooster
|badge=26.1
|image=Wooster map geo.png
}}
{{Portal geo
|title=Wooster
|badge=26.1
|image=Wooster map geo.png
}}
</div>
Result
Description

Creates a location thumb. Intended to be used inside .portal-content container. Use square shaped images for the best results.

Usage
{{Portal geo
|title=    # Short text
|badge=    # Short text
|image=    # Image name
}}
Example
<div class="portal-content">
{{Portal geo
|title=Wooster
|badge=26.1
|image=Wooster map geo.png
}}
{{Portal geo
|title=Wooster
|badge=26.1
|image=Wooster map geo.png
}}
{{Portal geo
|title=Wooster
|badge=26.1
|image=Wooster map geo.png
}}
</div>
Result