Template:Tile-halves
Revision as of 19: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 tile
- title– the heading for the tile
- text– the description
- link– the page that the bottom half will link to
- linktext– 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 |