Template:Tile-halves
Revision as of 18:50, 4 October 2022 by Jacmob (talk | contribs) (Created page with "<includeonly><div class="tile-halves" style="{{{style|}}}"> <div class="tile-top"> <h2>{{{title}}}</h2> <p>{{{text|}}}</p> </div> <div class="tile-bottom link-button read-more">[[{{{link}}}|{{{linktext}}}<span class="arrow dark"></span>]]</div> </div></includeonly><noinclude>{{/doc}}</noinclude>")
Template documentation
This documentation is transcluded from Template:Tile-halves/doc. [edit] [history] [purge]
This template creates a tile that has two halves - either both containing text (coming soon), or the bottom half linking to a page.
Usage
style
(optional) – CSS that will affect the entire tiletitle
– the heading for the tiletext
– the descriptionlink
– the page that the bottom half will link tolinktext
– the text that the link will read
Example
{{Tile-halves |style = width: 30em; margin: 0 auto; |title = Your first edits |text = A beginner's guide on how to use VisualEditor, a user-friendly system that allows you to edit without the need to learn wikitext. |link = Help:Editing/Your first edit |linktext = Read this guide }}
Your first edits
A beginner's guide on how to use VisualEditor, a user-friendly system that allows you to edit without the need to learn wikitext.
TemplateData
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
style | style | no description | Unknown | optional |
title | title | The main heading for the tile | String | required |
text | text | no description | Unknown | required |
link | link | no description | Unknown | optional |
linktext | linktext | no description | Unknown | optional |