Template:RelatedItems

Revision as of 15:25, 5 May 2023 by Lizz (talk | contribs) (Add documentation (same page for now))

Description

This template is used to insert a linked text and image gallery of items under a "Related Items" subheader. It simplifies the syntax for creating a Gallery for a common, but generalized, use case.

It is intended to be used for items that are related, but do not share the same shape. For example, the Deluxe Pink Fridge, Pink Flat-Top Stove, Pink Fridge, and Pink Gas Stove are all related items, as they are all pink Appliances.

Usage

This template can be used by entering the following onto a relevant page. It should be added after the description, notes, and the alternateColors template (if present), and before the history.

{{relatedItems | <<comma separated list of Wiki Page Names>> }}


Examples

{{relatedItems | Deluxe Pink Fridge, Pink Flat-Top Stove, Pink Gas Stove }}

results in...

Related Items


If the Page Name includes commas, substitute the comma for the value &#44;.

{{relatedItems | Pink&#44; Blue and Purple Flower Rectangle, Pink&#44; Red and Purple Flower Rectangle, Red&#44; Blue and Green Flower Rectangle, Red&#44; White and Purple Flower Rectangle, Yellow and White Flower Rectangle }}

results in...

Related Items