Template:Related: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
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}}}]]|}}
<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.
</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.


== Usage ==
== Usage ==

Revision as of 12:52, 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.

Usage

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

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

Stringsuggested
Related page2

Related page no. 2.

Stringoptional
Related page3

Related page no. 3.

Stringoptional