Template:Tile-halves/doc
< Template:Tile-halves
Jump to navigation
Jump to search
Revision as of 19:51, 4 October 2022 by Jacmob (talk | contribs) (Created page with "{{Documentation}} This template creates a tile that has two halves - either both containing text (coming soon), or the bottom half linking to a page. ==Usage== * <code>style</code> (optional) – CSS that will affect the entire tile * <code>title</code> – the heading for the tile * <code>text</code> – the description * <code>link</code> – the page that the bottom half will link to * <code>linktext</code> – the text that the link will read ===Example=== <pre>...")
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 |