Template:Tile-halves

From [N8]
Revision as of 16:18, 18 February 2020 by Banri (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-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 = 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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
stylestyle

no description

Unknownoptional
titletitle

The main heading for the tile

Stringrequired
texttext

no description

Unknownrequired
linklink

no description

Unknownoptional
linktextlinktext

no description

Unknownoptional