Difference between revisions of "Template:Portal geo"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
;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. | ||
+ | |||
+ | ;Usage | ||
+ | <pre> | ||
+ | {{Portal geo | ||
+ | |title= # Short text | ||
+ | |badge= # Short text | ||
+ | |image= # Image name | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ;Example | ||
+ | <pre> | ||
+ | <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> | ||
+ | </pre> | ||
;Result | ;Result | ||
<div class="portal-content"> | <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 | {{Portal geo | ||
|title=Wooster | |title=Wooster |
Revision as of 17:53, 20 February 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 }}
- 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
Wooster
26.1
Wooster
26.1
Wooster
26.1