Template:Multi-section link

From MattWiki
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

This module, {{multi-section link}}, or its shortcut, {{mslink}}, makes a link to a section, listing multiple nested section names. The first parameter is the page name, and subsequent parameters are section names. The last section name is the one that is actually linked to.

Syntax

{{multi-section link|page|section 1|section 2|...}}

Usage

It's easiest to demonstrate this template's use with a concrete example.

Say you want a nicely formatted link to Wikipedia:Manual of Style#Names and titles. You could use {{section link|Wikipedia:Manual of Style|Names and titles}} to give you Wikipedia:Manual of Style § Names and titles, but with this it is not very clear what the "Names and titles" section is referring to. {{Multi-section link}} solves this problem by allowing you to specify the intermediate section names, giving readers more context.

Examples

TemplateData

Syntax error in JSON.

See also

  • {{Section link}} – for linking to a section (or multiple sections) without showing nested levels
https://wiki.mattrude.com/Template:Multi-section_link
wiki.mattrude.com
crawl=CC-MAIN-2017-39
25842
application/http; msgtype=response
sha1:324B2IMOZB6G6RQYUBBN3WKOI7NI2AGW
<urn:uuid:0a3455e6-6031-4f27-8bf7-aec3654e004c>
2017-09-24T14:03:23Z
104.236.216.156
text/html
sha1:Q2EZIVDVLAHON5GWP3NWE6TOQK2BEQV6
<urn:uuid:26c40554-b383-4358-8e3c-792dcf5afec7>
https://wiki.mattrude.com/Template:Multi-section_link
length
response
<urn:uuid:c71e8dd0-8800-4962-9ff5-b60b842a95db>
robots: classic
hostname: ip-10-171-64-45.ec2.internal
software: Nutch 1.6 (CC)
isPartOf: CC-MAIN-2017-39
operator: Common Crawl Admin
description: Wide crawl of the web for September 2017
publisher: Common Crawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf