Wikia

Harry Potter Wiki

Talk:See also

11,867pages on
this wiki

Back to template


Simplifications

As similar to main, I have made a multi-purpose 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:

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

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)

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)

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

  • remember that main and main2 are for the moment the same, consensus are waiting for final verdic. AzaToth talk 22:01, 24 November 2005 (UTC)



See also

  • {{Main |article}} (takes up to twenty arguments)
Main article: article
Further information: article
See also: article

Copied successful code from {{Main}}

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 Template:;-):

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

gives you:

See also: 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10

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

Piped links

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:

{{seealso|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)

Don't use templates within other templates. -- Netoholic @ 03:34, 17 January 2006 (UTC)
  • So what? How would you suggest curing the piped links? —Mark Adler (markles) 04:31, 17 January 2006 (UTC)
  • 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)

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)

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)
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)

What's the point?

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)

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)
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)


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

Broken indentation with left-floating images

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)

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)
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)

Documentation update

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)

Punctuation issues with this template

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)

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)

Around Wikia's network

Random Wiki