Content content content
Difference between revisions of "Template:Portal card"
Jump to navigation
Jump to search
Line 49: | Line 49: | ||
| footer=Footer | | footer=Footer | ||
}} | }} | ||
+ | |||
;Wall | ;Wall | ||
Line 63: | Line 64: | ||
</div> | </div> | ||
</pre> | </pre> | ||
+ | |||
+ | ;Result | ||
+ | <div id="portal"> | ||
+ | <div class="portal-content"> | ||
+ | {{Portal card | ||
+ | | header=Header | ||
+ | | title=Title | ||
+ | | tagline=Tagline | ||
+ | | content=Content content content | ||
+ | | image=File:20000_squid_Nautilus_viewbay.jpg | ||
+ | | footer=Footer | ||
+ | }}{{Portal card | ||
+ | | header=Header | ||
+ | | title=Title | ||
+ | | tagline=Tagline | ||
+ | | content=Content content content | ||
+ | | image=File:20000_squid_Nautilus_viewbay.jpg | ||
+ | | footer=Footer | ||
+ | }}{{Portal card | ||
+ | | header=Header | ||
+ | | title=Title | ||
+ | | tagline=Tagline | ||
+ | | content=Content content content | ||
+ | | image=File:20000_squid_Nautilus_viewbay.jpg | ||
+ | | footer=Footer | ||
+ | }} | ||
+ | </div> | ||
+ | </div> |
Revision as of 08:58, 20 February 2022
- Description
Creates a responsive block. All parameters are optional, but at list one parameter is needed.
- Usage
{{Portal card |header= |title= |tagline= |content= |image= |footer= }}
- Example
{{Portal card |header=Header |title=Title |tagline=Tagline |content=Content content content |image=File:20000_squid_Nautilus_viewbay.jpg |footer=Footer }}
- Result
- Wall
To get a centered grid with tiles, wrap instances of this template with:
<div id="portal"> <div class="portal-content"> ... {{Portal card|...}} {{Portal card|...}} {{Portal card|...}} ... </div> </div>
- Result