Template:See also: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#if: {{{5|}}} | :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]], [[{{{2}}}|{{{l2|{{{2}}}}}}]], [[{{{3}}}|{{{l3|{{{3}}}}}}]], [[{{{4}}}|{{{l4|{{{4}}}}}}]], and [[{{{5}}}|{{{l5|{{{5}}}}}}]]''
<includeonly>{{#if: {{{5|}}} | :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]], [[{{{2}}}|{{{l2|{{{2}}}}}}]], [[{{{3}}}|{{{l3|{{{3}}}}}}]], [[{{{4}}}|{{{l4|{{{4}}}}}}]], and [[{{{5}}}|{{{l5|{{{5}}}}}}]]''
| {{#if: {{{4|}}} | :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]], [[{{{2}}}|{{{l2|{{{2}}}}}}]], [[{{{3}}}|{{{l3|{{{3}}}}}}]], and [[{{{4}}}|{{{l4|{{{4}}}}}}]]''
| {{#if: {{{4|}}} | :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]], [[{{{2}}}|{{{l2|{{{2}}}}}}]], [[{{{3}}}|{{{l3|{{{3}}}}}}]], and [[{{{4}}}|{{{l4|{{{4}}}}}}]]''
| {{#if: {{{3|}}} | :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]], [[{{{2}}}|{{{l2|{{{2}}}}}}]], and [[{{{3}}}|{{{l3|{{{3}}}}}}]]''
| {{#if: {{{3|}}} | :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]], [[{{{2}}}|{{{l2|{{{2}}}}}}]], and [[{{{3}}}|{{{l3|{{{3}}}}}}]]''
| {{#if: {{{2|}}} | :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]] and [[{{{2}}}|{{{l2|{{{2}}}}}}]]''
| {{#if: {{{2|}}} | :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]] and [[{{{2}}}|{{{l2|{{{2}}}}}}]]''
| :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]]''}} }} }} }}
| :''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]]''}} }} }} }}</includeonly><noinclude>
The '''<nowiki>{{see also}}</nowiki>''' template provides an easy means to include a {{wp|Wikipedia:Hatnote|hatnote}} that links to a articles with additional information the topic of an article's section. Up to five articles may be linked. Different text from the article name may be specified; the display text defaults to the article name.
 
==Usage==
{|
|-
| Basic usage: || <code><nowiki>{{see also|</nowiki>''article''<nowiki>}}</nowiki></code>
|-
| All parameters: || <code><nowiki>{{see also|</nowiki>''article1''<nowiki>|</nowiki>''article2''<nowiki>|</nowiki>''article3''<nowiki>|</nowiki>''article4''<nowiki>|</nowiki>''article5''<nowiki>|</nowiki>''l1 = label1''<nowiki>|</nowiki>''l2 = label2''<nowiki>|</nowiki>''l3 = label3''<nowiki>|</nowiki>''l4 = label4''<nowiki>|</nowiki>''l5 = label5''<nowiki>}}</nowiki></code>
|}
 
==Parameters==
Unneeded parameters may be omitted.
* <code>1</code>, <code>2</code>, <code>3</code>, <code>4</code>, <code>5</code> &mdash; the page(s) to link to.
* <code>l1</code>, <code>l2</code>, <code>l3</code>, <code>l4</code>, <code>l5</code> &mdash; optional label(s) to display instead of the page name(s).
 
==Examples==
* <code><nowiki>{{see also|Article}}</nowiki></code><br />{{see also|Article}}
* <code><nowiki>{{see also|Article1|Article2|Article3}}</nowiki></code><br />{{see also|Article1|Article2|Article3}}
* <code><nowiki>{{see also|Article1|Article2|l2=Label 2|Article3}}</nowiki></code><br />{{see also|Article1|Article2|l2=Label 2|Article3}}
 
[[Category:Hatnote templates]]
</noinclude>

Revision as of 05:15, 10 December 2023

The {{see also}} template provides an easy means to include a hatnote that links to a articles with additional information the topic of an article's section. Up to five articles may be linked. Different text from the article name may be specified; the display text defaults to the article name.

Usage

Basic usage: {{see also|article}}
All parameters: {{see also|article1|article2|article3|article4|article5|l1 = label1|l2 = label2|l3 = label3|l4 = label4|l5 = label5}}

Parameters

Unneeded parameters may be omitted.

  • 1, 2, 3, 4, 5 — the page(s) to link to.
  • l1, l2, l3, l4, l5 — optional label(s) to display instead of the page name(s).

Examples

  • {{see also|Article}}
See also: Article
  • {{see also|Article1|Article2|Article3}}
See also: Article1, Article2, and Article3
  • {{see also|Article1|Article2|l2=Label 2|Article3}}
See also: Article1, Label 2, and Article3