Difference between revisions of "Template:See also"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
   |<span class="error">(Note: [[Template:See also|Template See also]] has too many links specified [maximum is 5])</span>
 
   |<span class="error">(Note: [[Template:See also|Template See also]] has too many links specified [maximum is 5])</span>
 
   }}</div><noinclude>
 
   }}</div><noinclude>
== Usage ==
+
{{Documentation}}
Adds a hatnote to link to related pages or those who have more information on a subject. Up to 5 links can be used.
+
<!-- Put categories/interwiki on the documentation page. -->
 
 
== Syntax ==
 
<pre><nowiki>
 
{{See also
 
| [[Link 1|Caption text 1]]
 
| [[Link 2|Caption text 2]]
 
| [[Link 3|Caption text 3]]
 
| [[Link 4|Caption text 4]]
 
| [[Link 5|Caption text 5]]
 
}}
 
</nowiki></pre>
 
 
 
== Examples ==
 
<code><nowiki>{{See also|[[Cow]]}}</nowiki></code> → {{See also|[[Cow]]}}
 
 
 
<code><nowiki>{{See also|[[Cow#Behavior]]}}</nowiki></code> → {{See also|[[Cow#Behavior]]}}
 
 
 
<code><nowiki>{{See also|[[Cow#Behavior|Cow's behavior]]}}</nowiki></code> → {{See also|[[Cow#Behavior|Cow's behavior]]}}
 
 
 
<code><nowiki>{{See also|[[Cow]]|[[Pig]]|[[Wolf]]}}</nowiki></code> → {{See also|[[Cow]]|[[Pig]]|[[Wolf]]}}
 
 
 
<code><nowiki>{{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]}}</nowiki></code> → {{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]}}
 
 
 
<code><nowiki>{{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]|[[Magma cube]]}}</nowiki></code> → {{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]|[[Magma cube]]}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:47, 7 July 2023

See also:

Template-info.png Template documentation Note: parts of or the entire template might not be visible without values provided.

This template is used to create hatnotes to point to a small number of other related titles at the top of article sections (excluding the lead). It looks like this:

See also: Smelting

Do not use this template on top of a page, where hatnotes are for disambiguation and not for related topics. Do not use this template inside the "See also" section at the end of an article, or for links to other articles or subsections of the same article within regular article text.

Usage

Adds a hatnote to link to related pages or those who have more information on a subject. Up to 5 links can be used. After adding a sixth parameter, an error will be added in place of that link.

Syntax

There are five parameters in total, all of them unnamed, and whose content should be a link.

{{See also
| [[Link 1|Caption text 1]]
| [[Link 2|Caption text 2]]
| [[Link 3|Caption text 3]]
| [[Link 4|Caption text 4]]
| [[Link 5|Caption text 5]]
}}

Examples

{{See also|[[Cow]]}}
See also: Cow
{{See also|[[Cow#Behavior]]}}
See also: Cow#Behavior
{{See also|[[Cow#Behavior|Cow's behavior]]}}
See also: Cow's behavior
{{See also|[[Cow]]|[[Pig]]|[[Wolf]]}}
See also: Cow, Pig, and Wolf
{{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]}}
See also: Zombie, Creeper, Enderman, Slime, and Spider
{{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]|[[Magma cube]]}}
See also: Zombie, Creeper, Enderman, Slime, and Spider (Note: Template See also has too many links specified [maximum is 5])