Template:Related: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{mbox|max_width=100%|text=<span style="font-size: .875rem;">Related: {{#if:{{{2|}}}|<ul><li>[[{{{1}}}]]</li><li>[[{{{2}}}]]</li>{{#if:{{{3|}}}|[[{{{3}}}]]|}}{{#if:{{{4|}}}|[[{{{4}}}]]|}}{{#if:{{{5|}}}|[[{{{5}}}]]|}}{{#if:{{{6|}}}|[[{{{6}}}]]|}}{{#if:{{{7|}}}|[[{{{7}}}]]|}}{{#if:{{{8|}}}|[[{{{8}}}]]|}}{{#if:{{{9|}}}|[[{{{9}}}]]|}}{{#if:{{{10|}}}|[[{{{10}}}]]|}}</ul>|[[{{{1}}}]]}}</span>}}</includeonly><noinclude>This displays 1–10 links in a full width [[Template:mbox]] with a "Related" label—it's meant to be used at the very end of an article (including after [[Template:References]] to link to related articles. It is styled to match the "Categories" box.
<includeonly>{{mbox|max_width=100%|text=<span style="font-size: .875rem;">Related: [[{{{1}}}]]{{#if:{{{2|}}}|, [[{{{2}}}]]|}}{{#if:{{{3|}}}|, [[{{{3}}}]]|}}{{#if:{{{4|}}}|, [[{{{4}}}]]|}}{{#if:{{{5|}}}|, [[{{{5}}}]]|}}{{#if:{{{6|}}}|, [[{{{6}}}]]|}}{{#if:{{{7|}}}|, [[{{{7}}}]]|}}{{#if:{{{8|}}}|, [[{{{8}}}]]|}}{{#if:{{{9|}}}|, [[{{{9}}}]]|}}{{#if:{{{10|}}}|, [[{{{10}}}]]|}}}}</includeonly><noinclude>This displays 1–10 links in a full width [[Template:mbox]] with a "Related" label—it's meant to be used at the very end of an article (including after [[Template:References]]) to link to related articles. It is styled to match the "Categories" box.


== Usage ==
== Usage ==

Latest revision as of 15:12, 5 November 2025

This displays 1–10 links in a full width Template:mbox with a "Related" label—it's meant to be used at the very end of an article (including after Template:References) to link to related articles. It is styled to match the "Categories" box.

Usage

This template takes up to 10 unnamed parameters of internal page names which will be linked in the related box.

{{Related|Fine adjust mode}}
{{Related|Drum color codes|Ink tube transfer}}

TemplateData

An end-of-page modal for linking related pages.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Related page1

Related page no. 1.

Stringrequired
Related page2

Related page no. 2.

Stringoptional
Related page3

Related page no. 3.

Stringoptional