![]() | To help centralise discussions and keep related topics together, all talk subpages of Template Talk:Multi-section link and Module talk:Multi-section link redirect here. |
It would be exceedingly helpful for
WP:POLICY documentation, and in-article cross-references in complex articles, to have a variant of this, whether it be {{
Breadcrumbs link}}
or {{
Multi-section link|breadcrumbs=y}}
that produced identical output to this, except that it:
This should be used for pretty much every sub-sectional policy/guideline cross reference in hatnotes on such pages. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 18:52, 23 July 2015 (UTC)
PS: The function to do this should be reusable, e.g. by Module:Hatnote, etc. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 00:33, 25 July 2015 (UTC)
Unlike Template:Section link, this one throws an error if you leave the first parameter blank. That's not desirable at all; it should just skip it. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 08:54, 24 July 2015 (UTC)
[[#sectionname]]
instead of [[pagename#sectionname]]
? —
Mr. Stradivarius
♪ talk ♪
09:32, 24 July 2015 (UTC)
{{Section link}}
for "See X section, below" in the same page. If this one and the above-proposed breadcrumbs version worked that way, that'd be hot. As in {{Breadcrumbs link| |Quotations|Attribution}}
to produce § [[#Quotations|Quotations]] §§ [[#Attribution|Attribution]]
, and I think it'd be [[#Attribution|§ Quotations §§ Attribution]]
for {{Multi-section link| |Quotations|Attribution}}
itself. —
SMcCandlish ☺
☏
¢ ≽ʌⱷ҅ᴥⱷʌ≼
00:32, 25 July 2015 (UTC)The code
{{mslink|Alexei Navalny|Yves Rocher case and home arrest|Case}}
should yield the URL
/info/en/?search=Alexei_Navalny#Case_2
but instead yields
/info/en/?search=Alexei_Navalny#Case
which is to an earlier section with the same title, i.e., Alexei Navalny § Kirovles case §§ Case.
Result: Alexei Navalny § Yves Rocher case and home arrest §§ Case
If this cannot be fixed, it could be explained as a technical limitation in the doc. Knr5 ( talk) 20:19, 24 August 2020 (UTC)
{{mslink}}
to automatically use the correct anchor. However, implementing this would require creating a special breadcrumbs-to-anchor index for each page with section title conflicts, otherwise the referenced page would have to be parsed each time {{mslink}}
is invoked. —
UnladenSwallow (
talk)
16:23, 2 June 2024 (UTC)Please add |nopage=
parameter with the same behavior as in
{{slink}}
: "If set to "yes", "y" or "true", hides the page name (only section names are displayed)." —
UnladenSwallow (
talk)
15:33, 2 June 2024 (UTC)
![]() | To help centralise discussions and keep related topics together, all talk subpages of Template Talk:Multi-section link and Module talk:Multi-section link redirect here. |
It would be exceedingly helpful for
WP:POLICY documentation, and in-article cross-references in complex articles, to have a variant of this, whether it be {{
Breadcrumbs link}}
or {{
Multi-section link|breadcrumbs=y}}
that produced identical output to this, except that it:
This should be used for pretty much every sub-sectional policy/guideline cross reference in hatnotes on such pages. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 18:52, 23 July 2015 (UTC)
PS: The function to do this should be reusable, e.g. by Module:Hatnote, etc. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 00:33, 25 July 2015 (UTC)
Unlike Template:Section link, this one throws an error if you leave the first parameter blank. That's not desirable at all; it should just skip it. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 08:54, 24 July 2015 (UTC)
[[#sectionname]]
instead of [[pagename#sectionname]]
? —
Mr. Stradivarius
♪ talk ♪
09:32, 24 July 2015 (UTC)
{{Section link}}
for "See X section, below" in the same page. If this one and the above-proposed breadcrumbs version worked that way, that'd be hot. As in {{Breadcrumbs link| |Quotations|Attribution}}
to produce § [[#Quotations|Quotations]] §§ [[#Attribution|Attribution]]
, and I think it'd be [[#Attribution|§ Quotations §§ Attribution]]
for {{Multi-section link| |Quotations|Attribution}}
itself. —
SMcCandlish ☺
☏
¢ ≽ʌⱷ҅ᴥⱷʌ≼
00:32, 25 July 2015 (UTC)The code
{{mslink|Alexei Navalny|Yves Rocher case and home arrest|Case}}
should yield the URL
/info/en/?search=Alexei_Navalny#Case_2
but instead yields
/info/en/?search=Alexei_Navalny#Case
which is to an earlier section with the same title, i.e., Alexei Navalny § Kirovles case §§ Case.
Result: Alexei Navalny § Yves Rocher case and home arrest §§ Case
If this cannot be fixed, it could be explained as a technical limitation in the doc. Knr5 ( talk) 20:19, 24 August 2020 (UTC)
{{mslink}}
to automatically use the correct anchor. However, implementing this would require creating a special breadcrumbs-to-anchor index for each page with section title conflicts, otherwise the referenced page would have to be parsed each time {{mslink}}
is invoked. —
UnladenSwallow (
talk)
16:23, 2 June 2024 (UTC)Please add |nopage=
parameter with the same behavior as in
{{slink}}
: "If set to "yes", "y" or "true", hides the page name (only section names are displayed)." —
UnladenSwallow (
talk)
15:33, 2 June 2024 (UTC)