Template:Tile-halves/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "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)..." |
m →Example |
||
| Line 15: | Line 15: | ||
|title = Your first edits | |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. | |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 = | |link = Gem Wiki:Editing/Your first edit | ||
|linktext = Read this guide | |linktext = Read this guide | ||
}} | }} | ||
| Line 24: | Line 24: | ||
|title = Your first edits | |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. | |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 = | |link = Gem Wiki:Editing/Your first edit | ||
|linktext = Read this guide | |linktext = Read this guide | ||
}} | }} | ||
Latest revision as of 05:56, 7 March 2020
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 = Gem Wiki: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 |