Jump to content

Template talk:See also

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Simplifications

[edit]

As simlar to main, I have made a multi-purpouse template for see also, located at User:AzaToth/See also, Do you think this and sibling templates should be replaced? AzaToth talk 21:50, 24 November 2005 (UTC) Example:[reply]

{{User:AzaToth/See also}}
{{User:AzaToth/See also|1}}
{{User:AzaToth/See also|1|2|3}}
{{User:AzaToth/See also|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20}}

{{User:AzaToth/See also}} {{User:AzaToth/See also|1}} {{User:AzaToth/See also|1|2|3}} {{User:AzaToth/See also|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20}}commented out pending maintenance. —Phil | Talk 09:38, 16 December 2005 (UTC)[reply]

Simlar for see

{{User:AzaToth/See}}
{{User:AzaToth/See|1}}
{{User:AzaToth/See|1|2|3}}
{{User:AzaToth/See|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20}}

{{User:AzaToth/See}} {{User:AzaToth/See|1}} {{User:AzaToth/See|1|2|3}} {{User:AzaToth/See|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20}}commented out pending maintenance. —Phil | Talk 09:38, 16 December 2005 (UTC)[reply]

And for main

{{User:AzaToth/Main}}
{{User:AzaToth/Main|1}}
{{User:AzaToth/Main|1|2|3}}
{{User:AzaToth/Main|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20}}

{{User:AzaToth/Main}} {{User:AzaToth/Main|1}} {{User:AzaToth/Main|1|2|3}} {{User:AzaToth/Main|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20}}commented out pending maintenance. —Phil | Talk 09:38, 16 December 2005 (UTC)[reply]

All this templates are using the generic template User:AzaToth/Links, so if subst, the code is not too strange.

By using {{subst:User:AzaToth/Main|1|2|3}} you get

:''Main article{{if|2|s}}: {{User:AzaToth/Links|1|2|3|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}}''

if the Links code is included, you would get more code if it's substed:

:''Main article{{if|2|s}}: {{if
  |test=1
  |then=[[1]]
}}{{if
  |test=2
  |then={{if|3|, | & }}[[2]]
}}{{if
  |test=3
  |then={{if|{{{4|}}}|, | & }}[[3]]
}}{{if
  |test={{{4|}}}
  |then={{if|{{{5|}}}|, | & }}[[{{{4|}}}]]
}}{{if
  |test={{{5|}}}
  |then={{if|{{{6|}}}|, | & }}[[{{{5|}}}]]
}}{{if
  |test={{{6|}}}
  |then={{if|{{{7|}}}|, | & }}[[{{{6|}}}]]
}}{{if
  |test={{{7|}}}
  |then={{if|{{{8|}}}|, | & }}[[{{{7|}}}]]
}}{{if
  |test={{{8|}}}
  |then={{if|{{{9|}}}|, | & }}[[{{{8|}}}]]
}}{{if
  |test={{{9|}}}
  |then={{if|{{{10|}}}|, | & }}[[{{{9|}}}]]
}}{{if
  |test={{{10|}}}
  |then={{if|{{{11|}}}|, | & }}[[{{{10|}}}]]
}}{{if
  |test={{{11|}}}
  |then={{if|{{{12|}}}|, | & }}[[{{{11|}}}]]
}}{{if
  |test={{{12|}}}
  |then={{if|{{{13|}}}|, | & }}[[{{{12|}}}]]
}}{{if
  |test={{{13|}}}
  |then={{if|{{{14|}}}|, | & }}[[{{{13|}}}]]
}}{{if
  |test={{{14|}}}
  |then={{if|{{{15|}}}|, | & }}[[{{{14|}}}]]
}}{{if
  |test={{{15|}}}
  |then={{if|{{{16|}}}|, | & }}[[{{{15|}}}]]
}}{{if
  |test={{{16|}}}
  |then={{if|{{{17|}}}|, | & }}[[{{{16|}}}]]
}}{{if
  |test={{{17|}}}
  |then={{if|{{{18|}}}|, | & }}[[{{{17|}}}]]
}}{{if
  |test={{{18|}}}
  |then={{if|{{{19|}}}|, | & }}[[{{{18|}}}]]
}}{{if
  |test={{{19|}}}
  |then={{if|{{{20|}}}|, | & }}[[{{{19|}}}]]
}}{{if
  |test={{{20|}}}
  |then= & [[{{{20|}}}]]
}}''

Oops, just had an edit conflict on the template, then immediately on this talk page. We could demonstrate the usage and results of each template in the <noinclude> section as below. Michael Z. 2005-11-24 21:59 Z



See also

[edit]
  • {{Main |article}} (takes up to twenty arguments)
  • {{See |article}}
  • {{See also |article}}


Copied successful code from {{Main}}

[edit]

I have copied the conditional code from {{main}} which will allow for up to 9 parameters; I have also added a test on the end which will alert a keen-eyed user who attempts to use more than that ;-):

{{seealso|1|2|3|4|5|6|7|8|9|10}}

gives you:

HTH HAND Phil | Talk 17:58, 15 December 2005 (UTC)[reply]

[edit]

What about piped links? In Template:USCongDistState, I've been using:

''See also:'' [[U.S. Congressional Delegations from Massachusetts|Past and current delegations]] | [[U.S. Congressional Delegation from Massachusetts|Current delegation]] | [[List of United States Congressional districts|List of All United States Congressional districts]]

which was just replaced with:

{{See also|U.S. Congressional Delegations from Massachusetts|U.S. Congressional Delegation from {{{state}}}|List of United States Congressional districts}}

But that killed my piped links. Any suggestions? —Mark Adler (markles) 03:22, 17 January 2006 (UTC)[reply]

Don't use templates within other templates. -- Netoholic @ 03:34, 17 January 2006 (UTC)[reply]
  • Well, in this template, you can't use piped links. This is because it accepts one or more parameters, and parameters are separated by pipes. Template:Further solves this by accepting only one parameter, which can include multiple piped or normal wikilinks. -- Netoholic @ 04:58, 17 January 2006 (UTC)[reply]

The semantics of this template should be changed. It should be

{{See also|[[article1]], [[article2]], and [[article3]]}}

I.e., the user provides the links and the commas. There are three benefits to this change. 1) It avoids the current limit of 15 articles. 2) It doesn't require {{qif}}. 3) You can do piped links however you want. Note that MediaWiki is smart enough to interpret

{{See also|[[article1|pipe1]], [[article2|pipe2]], and [[article3|pipe3]]}}

as you would hope.

There are around 1000 to 1500 articles that use Template:See_also. Presumably these could be updated with a bot. Do others think the change is a good idea? dbenbenn | talk 21:37, 26 January 2006 (UTC)[reply]

Yes, it is utterly brilliant of what is said in characteristic; I seriously endorse for this amelioration of functionality without any stint whatsoever. — ignis scripta 22:03, 19 June 2006 (UTC)[reply]
Yes, since it is completely non-intuitive to have wikilinks in a template which don't use the standard wiki markup used in articles - the [[bracketed]] notation should be included. QmunkE 06:29, 20 August 2006 (UTC)[reply]
Yes. Sounds like a great idea. --Rambutaan 00:39, 8 January 2007 (UTC)[reply]

What's the point?

[edit]

So far as I can see, the main purpose of this is to make things difficult for new or infrequent editors. It does nothing that the simple addition of a "See also" section doesn't. --Mel Etitis (Μελ Ετητης) 20:07, 31 January 2006 (UTC)[reply]

I tend to agree. Also, this template is often used in sections where Template:Main article or Template:Further would be better. -- Netoholic @ 20:33, 31 January 2006 (UTC)[reply]
For the record, I disagree with both points; this template is intended for cross-reference from sections, where a separate See also section would be too distant. It is not equivalent to either of Netoholic's suggested alternatives, since the wording differs, which will matter to some editors. Septentrionalis 02:40, 24 March 2006 (UTC)[reply]


Templates for deletion
This template survived a request for deletion. The result of the discussion was Speedy Keep.

Broken indentation with left-floating images

[edit]

Byzantine_Empire#Science_and_law - The "see also" template here, which has a left-floating image to the left of it, does not get indented like it does everywhere else. Is this a bug in this template, in MediaWiki, or in my browsers (Windows Firefox 1.5.0.1 and MSIE 6)? Hairy Dude 21:42, 30 March 2006 (UTC)[reply]

The template seems fine, as the leading ":" should always work. MediaWiki is generating
    <div class="boilerplate seealso">
    <dl>
    <dd><i>

just as it does everywhere else. So, I'd guess our browsers, as it works just fine with images off. However, that image has nothing to do with the section it's in, and could easily be moved up or elsewhere. And the page is much too long. Summary style should summarize!

--William Allen Simpson 12:51, 31 March 2006 (UTC)[reply]
For future reference, the problem was that only line boxes get compressed to avoid floats, not other types of boxes. This is a rather obnoxious aspect of CSS 2.1 with no workaround that I know of except to give up and go back to tables. The current working draft of the CSS3 box-model module defines a property to correct this omission. —Simetrical (talk • contribs) 03:07, 9 August 2006 (UTC)[reply]

Documentation update

[edit]

I updated the template with the optional link-piping feature from {{main}}, but I can't figure out how to properly display an example in the documentation. – Someguy0830 (Talk | contribs) 20:51, 3 September 2006 (UTC)[reply]

Punctuation issues with this template

[edit]
See also omphalology.

The final period above is necessary.

See also: omphalology

Is it needed here? I added it in an article. It caused the link to fail! Just a red link, where formerly a blue link appeared.

This template forbidding final punctuation annoys me because many people who edit Wikipedia think no final period is needed in thing like my first example above, and this may encourage that idea. And I prefer the first format, in the interest of keeping things no more complicated than they really are. Michael Hardy 01:33, 25 September 2006 (UTC)[reply]

Yes, it's cosmetic, but I think I'd prefer the template without the colon and with the period – or at least with the possibility of adding a period – especially when multiple parameters are used ("See also Article X, Article Y[,] and Article Z.", etc). Regards, David Kernow (talk) 07:18, 25 September 2006 (UTC)[reply]

Make this Edit

[edit]
unprotect/reprotect immediate edit change requested
What and why
Remove second link (Error message) to template talk--replace with link back to the template page, where the /doc page is displayed -- the current coding defeats the WP:DPP of minimal change impacts rippling through to the database. (Merely saving this page is going to affect the database in all those pages!!!)
1) In the beginning logic, make the first error message read and link:
  

[[Template:See also|Usage error: Template 'see also' must be given at least one ARTICLE Name(S)!]]

2) Just make this verbatim edit replacement at the 'IF# 16 line' through to the template logics nest if-then-else chain's end:


}}{{#if:{{{16|}}}| -- '''[[Template:See also|<br>See also Usage Error#2: Too many links<br>MAXIMUM of 15 ARTICLES ALLOWED in this list<br>]]'''

3) The template call form {{/doc}} does not work on all Sister sites and I'm trying ready this for export (re: Wikipedia:WikiProject template sharing).
  Hence please replace <noinclude>{{/doc}}</noinclude> also with either string: <noinclude> {{{{BASEPAGENAME}}/doc}}</noinclude> or <noinclude> {{{{PAGENAME}}/doc}}</noinclude>
  Both are Magic words alternatives that will work on all sister projects while making the same edit.
  Thanks... I'm suggesting other changes in the next section below, which need concensus. These two are 'no brainers'. Article space database updates should not link back to changes on talk pages! Best regards and thanks // FrankB 16:20, 5 February 2007 (UTC)[reply]
Argh (clearing editprotected requests)! You've gone too technical for me. Either wait for an admin with more knowhow to make the change, or please make it explicit on my talk page (put the exact section(s) of text that you want adding, and the exact section(s) of text that it needs to replace) and I'll do it. Proto:: 19:01, 5 February 2007 (UTC)[reply]
Ditto, I'm baffeled. Maybe create your suggested replacement with a subpage of this talk and an admin can copy it (noting you in edit summary to comply to GDFL)! --Robdurbar 09:31, 6 February 2007 (UTC)[reply]
So Sorry -- I tried to be clear.
  Look at the beginnings of the three numbered lines given as replacements above, and then match those to the template lines currently in place within an edit window.
  Note: All changes involve a link, two of which are to the Template talk page, the other to the call to the '/doc' page. The pipe trick and message changed to a somewhat different one, but the curly braces are still the same... [[ A | B]] just becomes [[ C | D]] in the template proper. The Magic word 'PAGENAME' needs to precede '/doc' inside the WP:DPP fenced off call to the documentation.
Replace said lines with the parts I have in BOLD above. If you can't match them, unprotect it for a few minutes and drop me a note and we can do that instead. (Can't blame you for the confusion--this many curly braces and pipes would give anyone pause). Regards // FrankB 16:36, 6 February 2007 (UTC)[reply]

Error on template page

[edit]

As of this edit, the template page reads: See also: Error: Template must be given at least one article name. I thought templates were supposed to read something like See also: {{{1}}}. —Frungi 10:43, 14 February 2007 (UTC)[reply]

Template pages usually read like that. Subfields (or whatever they're called), like {{{1}}} here, aren't automatically provided, so the no-subfield error message is triggered. --zenohockey 22:05, 25 February 2007 (UTC)[reply]

Can

[edit]

Can we change this template so it can have infinite arguments? 100110100 07:51, 2 March 2007 (UTC)[reply]

"see also" cat

[edit]

{{editprotected}}

Category:See also templatesΣɛÞ² (τ|c) 09:04, 28 June 2007 (UTC)[reply]

checkY Done. Note that you could have made this change yourself by editing {{see also/doc}}. --ais523 09:08, 28 June 2007 (UTC)

Template for too big see alsos?

[edit]

Do we have a template to indicate that a given see also section is too long (per MoS)?-- Piotr Konieczny aka Prokonsul Piotrus | talk  16:02, 22 August 2007 (UTC)[reply]

Punctuation

[edit]

Shouldn't there be a full stop at the end? --RFBailey (talk) 02:37, 11 March 2008 (UTC)[reply]

Why was a full stop added? I don't think there should be one, because it is not a complete sentence. {{main}} does not have a full stop at the end, and I think that is the correct way to do it. Gary King (talk) 19:24, 6 May 2008 (UTC)[reply]
Undone. -- Anonymous DissidentTalk 21:37, 7 May 2008 (UTC)[reply]
Great, thanks! Cheers. Gary King (talk) 21:48, 7 May 2008 (UTC)[reply]

Added image?

[edit]
See also: Bananas on Ice

Does anyone else think that adding an arrow like this might be a good idea? I notice that the See also: blends into the text and I think adding a small arrow like this one would be beneficial. Note that I just found that black redirect arrow on Wikimedia Commons, and I would gladly make a better one... perhaps one with a nice muted blue colour, and a little bit thicker. That black arrow is just there to get my idea across. Good idea? Necessary? -- Tkgd2007 (talk) 21:12, 8 April 2008 (UTC)[reply]

Definitely not a good idea. Also, if this was added, you'd also have to bring it up for {{main}}, {{further}}, etc. because in my opinion, they should all be standardized to look the same in the case where you have a combination of them, then they don't stand out too much. Which brings me back to this; we want these links to not stand out that much; the italics works well, and should be enough to bring attention to them when they are needed. These templates already make noise by being placed immediately after section titles, so that should be sufficient. Gary King (talk) 07:55, 7 May 2008 (UTC)[reply]

Edit request

[edit]

{{editprotected}}
Please apply this patch. 16@r (talk) 10:41, 17 May 2008 (UTC)[reply]

Y DoneNihiltres{t.l} 14:36, 17 May 2008 (UTC)[reply]

another 080619

[edit]

{{editprotected}}

purpose and need
  • Expand so user can specify alternative wording (such as the {{further}} and {{see}} template's language:
Simply Make:
    ''See also: {{#if:{{{1|}}} →
into:
→    ''{{{altphrase|See also}}}: {{#if:{{{1|}}} 

Drop me a note when completed, and I'll handle the usage fix up. Thanks, FrankB 15:30, 19 June 2008 (UTC)[reply]

 Done PeterSymonds (talk) 21:05, 19 June 2008 (UTC)[reply]

How to refer to sections

[edit]

What's the preferred way to refer to a section?

Or something else entirely? I don't really like the first since it leaks HTML syntax to the reader. The second one is compact, whereas the third one is more explicit. What do you think? Shinobu (talk) 10:06, 13 July 2008 (UTC)[reply]

I made a similar request a few sections below (note, it's been almost a year...) //Blaxthos ( t / c ) 18:44, 17 May 2009 (UTC)[reply]

Bump. Couldn’t the template itself parse the referenced section and display it consistently? 16:14, 8 January 2014 (UTC)~ — Preceding unsigned comment added by 2A02:810B:240:DAC:C1EB:7592:3122:D996 (talk)

Edit protected

[edit]

{{editprotected}}

On templates that use this, such as Template:Olympics bids, the see also is preceded by an unnecessary colon. This can be corrected if the following is placed into the template

{{Namespace detect
| demospace = {{{demospace|}}}
| template =
| other = :}}

The effect: as it is now the diff the changed version

This should replace the colon between <includeonly> and <span class="boilerplate seealso"> (at the beginning of the template). Thanks, ~ AmeIiorate U T C @ 06:56, 13 August 2008 (UTC)[reply]

Not done: This will not work: it will correctly remove the colon on the template page itself, but wherever the template is transcluded, the {{namespace detect}} template will detect the local namespace and output the colon. Although this issue does need to be solved, it can't be solved this way. Happymelon 13:29, 13 August 2008 (UTC)[reply]
[edit]

Is it possible to direct this template to link a particular section within another article? Something similar to {{See also|[[Article#section|text]]}}? //Blaxthos ( t / c ) 01:45, 17 May 2009 (UTC)[reply]

Using today's TFA as an example, {{See also|Michael Tritter#storyline|l1=Storyline}} gives
which I assume is what you're after. —  Tivedshambo  (t/c) 11:41, 15 June 2009 (UTC)[reply]
Perfect! Now if I could only remember what I wanted to use that for... :) //Blaxthos ( t / c ) 16:30, 15 June 2009 (UTC)[reply]

Please clarify ...

[edit]

I have been tempted to use this template at the very top of articles (e.g., see Judicial_review_in_the_United_States). Another editor tells me I shouldn't do this, and points me to Wikipedia:Layout for the explanation -- however, no such explanation appears there. The explanation on the project page says:

"See also is used for small sets of see also information at the head of article sections according to Wikipedia:Layout."

Could you please modify this language to indicate whether or not it's permissible to use this template at the tops of articles? Thanks Agradman cries when yelled at/makes occasional mistakes 03:52, 18 June 2009 (UTC)[reply]

The links that appear at the top of articles are called hatnotes. Without exception that I know of, they are used only for disambiguating: see Wikipedia:WikiProject Disambiguation. The reason disambiguating links are allowed there is because they need to be immediately available to the reader; anywhere else and they'd be pretty much useless. There are two reasons "See also" (pointing to other potentially connected topics, which is not disambiguation) is not allowed:
  • There is a standard appendix called "See also" which (if it exists) should be reachable from the TOC, it's not necessary to put them at the top.
  • There can be dozens of "See also" links, Cluttering the start of the article is a Bad Thing - we want the reader to be able to find the lead section and get on with reading the article as quickly as possible. Allowing just one or two puts us on a slippery slope (see Zero One Infinity), so we just banish them completely from the top of the article.
For the guidelines about hatnotes, see WP:HAT. Hairy Dude (talk) 03:18, 23 March 2010 (UTC)[reply]
I've mentioned this case in WP:RELATED. fgnievinski (talk) 00:51, 30 November 2021 (UTC)[reply]

Use of italics

[edit]

It occurs to me that the formatting of this class of templates is less than ideal. When printed, hyperlinks don't show, and it may read something like

See also: Foo and Bar

where it's not clear whether it's one article name or two. One editor has suggested that article titles really ought to be in quotation marks, while I would prefer the article titles in roman:

See also Foo and Bar

In these cases we aren't using the article title as a normal word or phrase so they may be syntactically incorrect unless the use–mention distinction is observed. Why is there a colon in this particular template anyway? It is not logically required and varies both from what seems to be the standard format of hatnotes, and from inline cross-references (see below), neither of which use a colon.

There are article cross-references ("see also" section or hatnotes), section cross-references (like this template) and inline cross-references (At this time France possessed the largest population in Europe (see Demographics of France). I'm trying to start a discussion about the formatting of the last at Wikipedia talk:Manual of Style#More italics clarification and inline .22see.22 Please contribute there if you can. --Cedderstk 16:03, 11 October 2009 (UTC)[reply]

Remember that the template produces hyperlinks. Usually hyperlinked text is visually distinct from non-hyperlinked text, so we can tell the difference between "[[Foo]] and [[Bar]]" and "[[Foo and Bar]]" by the fact that "and" either is or isn't hyperlinked. Viz.:
So I don't see that there's a problem. As for putting the titles in roman, that would suggest we would normally italicise them in the midst of roman text, which is not the case. Hairy Dude (talk) 03:27, 23 March 2010 (UTC)[reply]

seealsolist|n

[edit]

It would be great to add a {{seealsolist|n}} template would agglomerate all see alsos at the foot of the article ala {{reflist|n}}.

Please add cy

[edit]

cy:Nodyn:Gweler hefyd. -- Xxglennxx talkcontributions 23:15, 7 June 2010 (UTC)[reply]

Editprotected request involving this template

[edit]

This message is to inform people monitoring this talk page that there is an "editprotected" request involving this and several other templates at Template talk:! cymru.lass (hit me up)(background check) 20:36, 28 December 2010 (UTC)[reply]

editprotect

[edit]

{{editprotected}} This template shouldproduce a period at the and of the sentence (any sentence). So:

{{{label 15|{{{l15}}}}}}}}]]

should be like

{{{label 15|{{{l15}}}}}}}}]].

By the way, parameter 15 does not work out well. Which is quite relevant, since it is protected this tough. (now really, a <500 times used template is admin-only protected?) -DePiep (talk) 01:43, 27 July 2011 (UTC)[reply]

The template does not produce a compete sentence, so a period would not be appropriate. —Farix (t | c) 19:19, 27 July 2011 (UTC)[reply]
Being a hatnote, it should produce a sentence, so end with a period -DePiep (talk) 20:59, 27 July 2011 (UTC)[reply]
Added, then removed in 2008. I'd like to see more support.--SPhilbrickT 00:31, 30 July 2011 (UTC)[reply]
Actually, it's quite heavily used — like you, I clicked WhatLinksHere for the template talk page and found fewer than 500 links. However, this tool shows the template as having 73,436 transclusions. Its code doesn't really produce a sentence, so a period wouldn't be appropriate here. Nyttend (talk) 03:08, 30 July 2011 (UTC)[reply]

First: it is a sentence. Second: it should have a period as per Wikipedia:Hatnote#Format. Currently, it is the only hatnote that does not have a period (well, together with its brother {{see also2}}). -DePiep (talk) 11:32, 30 July 2011 (UTC)[reply]

Editprotect

[edit]
Request

Replace all {{see also}} code with all {{see also/sandbox}} code this version)

What has changed

See Template:See also/testcases, pre-change

  1. I added the point to make it a complete sentence (in accordance with WP:Hatnote#format, and congruent with almost all other hatnote templates).
  2. Paramter #15, when used, gave wrong output; pipes added
  3. Removed second pipe in #14.

-DePiep (talk) 12:11, 30 July 2011 (UTC)[reply]

Done -- DQ (t) (e) 13:15, 30 July 2011 (UTC)[reply]
Where does it say that a period must end the hat note? This hat note is a sentence fragment, not like some others which will make a sentence. Other templates also are sentence fragments and do not use period for this reason. This is just punctuation, which WP:MOS probably agrees. I suggest removing the period, but I will let other editors opine.Curb Chain (talk) 08:56, 2 August 2011 (UTC)[reply]
See WP:Hatnote#format. As noted in the edit request. And it is a complete sentence. -DePiep (talk) 16:29, 2 August 2011 (UTC)[reply]

Remove dot

[edit]

{{Main}}, {{see}}, {{further}} and other similar templates do not have dots. There is no reason for this one (and {{Category see also}}) to have one either. Headbomb {talk / contribs / physics / books} 23:29, 7 August 2011 (UTC)[reply]

I Object. Wikipedia:HATNOTE#Format says: A hatnote, being a sentence, ends with a period. I nullify the editrequest. -DePiep (talk) 23:44, 7 August 2011 (UTC)[reply]
WP:HATNOTE can say the Queen of England is named Willi Wonka, but it doesn't make it so. This hatnote is not a complete sentence, so should not take a dot. And it should especially not be inconstant with the other hatnotes like {{Main}}, {{see}}, {{further}}, etc... Headbomb {talk / contribs / physics / books} 00:00, 8 August 2011 (UTC)[reply]
Controversial, so no change. -DePiep (talk) 00:13, 8 August 2011 (UTC)[reply]
By that logic, the change should never have been made in the first place, so should be reverted. Headbomb {talk / contribs / physics / books} 02:29, 8 August 2011 (UTC)[reply]

And I would also point out that it was you who added the hatnote ends with period thing to WP:HATNOTE. Headbomb {talk / contribs / physics / books} 02:38, 8 August 2011 (UTC)[reply]

Y Done olderwiser 03:08, 8 August 2011 (UTC)[reply]
Many thanks. Headbomb {talk / contribs / physics / books} 03:40, 8 August 2011 (UTC)[reply]
Again, how is it not a sentence? -DePiep (talk) 10:02, 8 August 2011 (UTC)[reply]
It is not a complete sentence. If you don't believe me, ask the mavens at WT:MOS. olderwiser 12:27, 8 August 2011 (UTC)[reply]

Linking to subsections.

[edit]

Linking to subsections looks quite ugly and unprofessional at the moment:

Could anyone fix this? Brightgalrs (/braɪtˈɡæl.ərˌɛs/)[1] 10:08, 2 January 2012 (UTC)[reply]

I am assuming that the solution offered in the main template boilerplate (using a label l1,l2, etc. to hide the ugliness) doesn't work for you. I have created a mock up of a possible solution in another template: {{See also subsection|features|conic section}} which displays as:

{{See also subsection|features|conic section}}

As it stands it can only do one link which is probably a common enough case. If we wanted a more robust system that keeps everything in the same format then we might want to make a helper template that creates the 'section in article' phrase we need. For example if we create the helper template called {{sas}} then the following expression {{seealso2|{{sas|features|equations|conic section}}|[[hyperbola]],{{sas|equations|ellipse}} will render as:
In the end though, I favor the simpler template following the philosophy that I saw on another software project 'Keep simple things simple and make complex things possible.'
TStein (talk) 18:03, 16 August 2013 (UTC)[reply]

Conversion to Lua

[edit]

I've created a Lua version of this template at Module:See also. It is mostly the same as this template, but has the benefits that an unlimited number of links are allowed, category and file links are automatically escaped with the colon trick, and links to sections are formatted as page § section, rather than the MediaWiki default of page#section. You can see some test cases at Template:See also/testcases. Would anyone object to me making the change? — Mr. Stradivarius ♪ talk ♪ 16:58, 24 April 2014 (UTC)[reply]

See also related discussions at Template:Hatnote, Template:Details, Template:Further and Template:Main. — Mr. Stradivarius ♪ talk ♪ 17:09, 24 April 2014 (UTC)[reply]
WOW this is really causing some readability problems on virtually every page. Do we need the merger/deletion notice transcribed multiple times on 4,499,655 articles? -- Moxy (talk) 18:00, 24 April 2014 (UTC)[reply]
Nope - I've noincluded it. (And that was Steel1943, not I.) — Mr. Stradivarius ♪ talk ♪ 18:03, 24 April 2014 (UTC)[reply]

How to add a description?

[edit]

How can I add a description to a (or multiple) see alsos?

Here you can find an example of how it should look like (see the very top of the page): incremental search.

If this isn't possible yet could the necessary parameters / templates please be created?

--Fixuture (talk) 19:02, 27 April 2016 (UTC)[reply]

The description you see may not fall in line with WP:MOS. But I think the feature you see is:
  • {{see also|Incremental search|altphrase=See the very top of the page}}
which produces:
Perhaps this should be on the doc page. I'll add it. Surely there are no objections. — Andy W. (talk · contrib) 07:05, 1 May 2016 (UTC)[reply]

Oxford Comma?

[edit]

Why does this template not generate an Oxford comma when there are three or more items in the list? -- Mikeblas (talk) 19:43, 15 November 2015 (UTC)[reply]

No kidding! This template is very difficult to read sometimes.
Proposal:
  • Insert comma after next-to-last item when there are three or more.
  • Insert comma after next-to-last item when there are two or more (i.e., after first time) if the first item contains a section link.
  • Use semicolons if any values contain a comma
This would resolve the problem that:
{{see also|Wikipedia:Arguments to avoid in deletion discussions#Article age|Wikipedia:Gaming the system#Gaming the consensus-building process}}
generates hard-to-parse output like:
See also: Wikipedia:Arguments to avoid in deletion discussions § Article age and Wikipedia:Gaming the system § Gaming the consensus-building process
instead of something much easier to read:
See also: Wikipedia:Arguments to avoid in deletion discussions § Article age, and Wikipedia:Gaming the system § Gaming the consensus-building process
Since this is processed by Lua now, it can also detect commas in the input and switch to using semicolons; made-up example:
See also: Wikipedia:Arguments to avoid in deletion, xenomorph, or chicken-nugget discussions § Article age; and Wikipedia:Gaming the system § Gaming the consensus-building process
 — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  13:20, 16 March 2016 (UTC)[reply]
@SMcCandlish and Mikeblas: Strong support. Is anyone watching this page? Correct me if I'm wrong, but this involves a change to mw.text.listToText. (I currently don't have any experience in changing something like that. Anyone have any ideas?) — Andy W. (talk · contrib) 06:56, 1 May 2016 (UTC)[reply]
Think I just found it. According to this, just supply the second and third args (separator and conjunction). Check out the change in the sandbox:
This probably needs more discussion before it can go live, though. — Andy W. (talk · contrib) 07:20, 1 May 2016 (UTC)[reply]
The change in sandbox looks good to me. I don't know what concensus you need to take it live -- maybe just be bold? -- Mikeblas (talk) 16:25, 1 May 2016 (UTC)[reply]
Will do. You didn't hear opposition otherwise. Did some tests in my own sandbox with the full proposal listed above implemented. I do like the comma after the first item if the first link has a section link (assumed to be long). — Andy W. (talk · contrib) 17:37, 1 May 2016 (UTC)[reply]
The output "See also: Veni, vidi, vici and John Doe" is not desirable. In any construction of "a and b", where "a" contains commas, "a" should be followed by a semicolon.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  06:23, 2 May 2016 (UTC)[reply]

In retrospect, I think being bold was being incorrect. We're currently not in sync about the Oxford comma (and sections/semicolons) with Module:Further, Module:Other uses, Module:Redirect hatnote, and Module:Hatnote list, and potentially one I was planning to make for {{For}}. I'm refraining from reverting, because that is probably unnecessary server strain. Sorry — Andy W. (talk · contrib) 18:28, 1 May 2016 (UTC)[reply]

Discuss at Wikipedia talk:Hatnote. — Andy W. (talk · contrib) 18:43, 1 May 2016 (UTC)[reply]

Using Module:Hatnote_list

[edit]

(Pinging Andy W. and SMcCandlish given Oxford comma discussion above)

I drafted a version of Module:See also at Module:See also/sandbox that applies the now-standard Module:Hatnote list to this template's implementation. Then, for some reason I don't remember, I stopped and left it alone for a month. I don't see any obvious problems with the version there, but would people mind taking a quick look just in case something's slipped my mind? Thanks, {{Nihiltres |talk |edits}} 15:53, 16 June 2016 (UTC)[reply]

Hi Nihiltres, thanks, no issues with the code. Something on the side though: I think Module:Hatnote list (or Module:Hatnote?) should be aware of Module:Section link to be consistent with the standard way of making these links. Currently it's hard-coded at line 164. Recently, it was determined that "§" should be non-breaking on the right (i.e. &nbsp; for now), but that might change in the near future, since there's discussion of using narrower exotic spaces. If I personally have time to investigate, I can help out here and let you know if I do. — Andy W. (talk ·ctb) 17:07, 16 June 2016 (UTC)[reply]
@Andy: That behaviour's in Module:Hatnote, and Module:Hatnote list just pulls the function from it as needed. I'll take a look into that myself after updating Module:See also; tweaking the code to match or require() the section-link module seems trivial. Thanks for checking over the sandbox. {{Nihiltres |talk |edits}} 20:14, 16 June 2016 (UTC)[reply]

Migrating to Module:Labelled list hatnote

[edit]

In an effort to standardize the features of various hatnote templates, I designed Module:Labelled list hatnote a while back, which implements any hatnote template that produces a list of pages prefixed with a colon-terminated label. Its primary advantage over Module:See also and family is that it implements a consistent feature set with regards to side features like labelling (e.g. using |l1=Label to change the display of the first page listed), letting us centralize code that's effectively duplicated right now across hatnote templates that generally behave the same. I've had a working version of this template sitting around in Template:See also/sandbox for a while now, and you can see at Template:See also/testcases that it produces the same output as the current template/module. I plan to also update similar hatnote templates in the same way.

Are there any objections to my implementing this change? {{Nihiltres |talk |edits}} 16:30, 24 October 2016 (UTC)[reply]

[edit]

I am trying to use the Interlanguage link template for the field 1 in See also. Instead of getting "See also: some link (language code)", I am getting "See also: [[:some link (language code)]]". How can I get rid of the brackets and the colon? Thanks. Fleon11 (talk) 22:42, 16 May 2017 (UTC)[reply]

The template is for internal Wikilinks only. Pls use external links section or ask for side bar intergration.--Moxy (talk) 01:04, 17 May 2017 (UTC)[reply]
Sorry for not specifying. I am using Interlanguage link for an internal wikilink. So, to be more specific, I am trying to get "See also: A wikipedia article (language code)", but I am getting "See also: [[:A wikipedia article (language code)]]".
Please, note that, per Interlanguage link, the correct behavior for the link is:

The red link is explicitly shown, followed by the non-English link(s). Hovering over the language code of a non-English link will display the name of the article on the non-English Wikipedia

Fleon11 (talk) 01:22, 17 May 2017 (UTC)[reply]

@Fleon11: The template doesn't support that behaviour at present. Technically you can get around that with custom-text hatnotes by nesting {{interlanguage link}} inside {{see also2}}, but I'd discourage that as I've been trying to deprecate custom-text hatnotes in most cases.

It probably wouldn't be too hard to implement support for interlanguage links, but it's probably overkill in 99.9% of cases and we'd have to not only invent syntax for it but also implement it across most hatnote templates for consistency. {{Nihiltres |talk |edits}} 14:07, 17 May 2017 (UTC)[reply]

Came across another editor asking for this functionality at Tefillin after running into the same issue, wanted to add my +1 that this would be cool to implement someday. GordonGlottal (talk) 02:56, 22 January 2023 (UTC)[reply]

Clarification, please

[edit]

Why do we bother if the article in the {{See also}} is linked n the text of the section? I see this usage time and again. - Sitush (talk) 11:15, 23 July 2017 (UTC)[reply]

Anyone? - Sitush (talk) 16:22, 26 July 2017 (UTC)[reply]

  • @Sitush: Hatnotes are navigational elements, so they reflect signalling to the reader that a link is particularly relevant. If a link is provided in a hatnote and also in the body text, then probably one or the other should be removed as redundant. Which should be removed depends on how important it is to signal importance to the reader in the particular case. {{Nihiltres |talk |edits}} 14:31, 27 July 2017 (UTC)[reply]
[edit]

This is really only an issue when only 2 pages are specified. To illustrate the issue, compare:

{{See also|Template:See also#Section 1|Template:See also#Section 2}}
{{See also|Template:See also#Section 1|Template:See also}}

which render as:

to:

{{See also|Template:See also|Template:See also}}
{{See also|Template:See also|Template:See also#Section 2}}

which render as:

There shouldn't be a comma after "See also § Section 1" when a section is specified in the first parameter and only two pages are linked. Seppi333 (Insert ) 20:12, 4 October 2017 (UTC)[reply]

Ok, so this goes down to Module:Hatnote list, which says that -- Set the conjunction, apply Oxford comma, and force a comma if #1 has "§" Nihiltres wrote the module..unsure why that's there Galobtter (pingó mió) 17:27, 18 February 2018 (UTC)[reply]
The intention is to provide clarity on where the section title ends, especially as section titles can themselves contain conjunctions. While in practice you can usually tell precisely which part belongs to which by the styling of the link, the design is that you should be able to tell reasonably well where it ends using only the plain text. A comma helps do that; if a comma is present in the link then the code will use a semicolon as a fallback separator. Still, if people really want the behaviour removed, it should be established for all hatnote lists, since it's present in the shared functionality via Module:Hatnote list. Aside from that, if a consensus finds that the behaviour ought to be changed, I'd be happy to implement the change myself. {{Nihiltres |talk |edits}} 03:51, 26 February 2018 (UTC)[reply]

Please add a period

[edit]

The results of this template should end with a period, as I see it:

See also Treatment of slaves in the United States.

and not the fragment

See also Treatment of slaves in the United States


Note that the template

Not to be confused with Prohibition in the United States.

does produce a sentence with a period.

deisenbe (talk) 16:04, 13 February 2020 (UTC)[reply]

@Deisenbe:, the see also template does not produce a complete grammatical sentence and as a sentence fragment, it should not have terminal punctuation. Whether the {{distinguish}} template does or does not produce a complete sentence is a matter for that template's talk page. olderwiser 16:19, 13 February 2020 (UTC)[reply]

Template-protected edit request on 4 February 2024

[edit]

When two articles are provided, the template produces a comma in front of the "and" as though there were more than two articles. See Proto-Semitic language#Phonology, for example. The comma should be omitted in that case. Largoplazo (talk) 00:37, 4 February 2024 (UTC)[reply]

From Paine Ellsworth's edit to the above template, I was led to the discussion where I learned that this is at a higher level and the current state of affairs, when the first item is a section link, is intentional. I can't say I agree with it but it is evidently not a bug, so never mind. Marking this answered. Largoplazo (talk) 11:53, 4 February 2024 (UTC)[reply]