Template:Tile-halves

From Old School Near-Reality Wiki
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>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.

Template parameters

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