moderator
27,068
edits
Marblemadmax (talk | contribs) (Red link cleanup) |
(Add documentation (same page for now)) |
||
Line 1: | Line 1: | ||
<includeonly>==Related Items== | <includeonly>==Related Items== | ||
{{LinkedGallery|items={{{1|}}}}}</includeonly><noinclude></noinclude> | {{LinkedGallery|items={{{1|}}}}}</includeonly><noinclude>{{TOC Right}} | ||
==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. | |||
<pre>{{relatedItems | <<comma separated list of Wiki Page Names>> }}</pre> | |||
==Examples== | |||
<pre>{{relatedItems | Deluxe Pink Fridge, Pink Flat-Top Stove, Pink Gas Stove }}</pre> | |||
results in... | |||
{{relatedItems | Deluxe Pink Fridge, Pink Flat-Top Stove, Pink Gas Stove }} | |||
If the Page Name includes commas, substitute the comma for the value '''&#44;'''. | |||
<pre>{{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 }}</pre> | |||
results in... | |||
{{relatedItems | Pink, Blue and Purple Flower Rectangle, Pink, Red and Purple Flower Rectangle, Red, Blue and Green Flower Rectangle, Red, White and Purple Flower Rectangle, Yellow and White Flower Rectangle }} | |||
</noinclude> |