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!

Line 11: Line 11:
 
   |, and {{{5}}}
 
   |, and {{{5}}}
 
   }} {{#if: {{{6|}}}
 
   }} {{#if: {{{6|}}}
   |<span class="error">[[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>
Line 18: Line 18:
  
 
== Syntax ==
 
== Syntax ==
<pre>
+
<pre><nowiki>
<nowiki>
 
 
{{See also
 
{{See also
|Link 1
+
|[[Link 1|Caption text 1]]
|Link 2
+
|[[Link 2|Caption text 2]]
|Link 3
+
|[[Link 3|Caption text 3]]
|Link 4
+
|[[Link 4|Caption text 4]]
|Link 5
+
|[[Link 5|Caption text 5]]
 
}}
 
}}
</nowiki>
+
</nowiki></pre>
</pre>
 
  
== Example ==
+
== Examples ==
<pre>
+
* <code><nowiki>{{See also|[[Cow]]}}</nowiki></code> → {{See also|[[Cow]]}}
<nowiki>
+
* <code><nowiki>{{See also|[[Cow#Behavior]]}}</nowiki></code> → {{See also|[[Cow#Behavior]]}}
{{See also
+
* <code><nowiki>{{See also|[[Cow#Behavior|Cow's behavior]]}}</nowiki></code> → {{See also|[[Cow#Behavior|Cow's behavior]]}}
|[[Cow]]
+
* <code><nowiki>{{See also|[[Cow]]|[[Pig]]|[[Wolf]]}}</nowiki></code> {{See also|[[Cow]]|[[Pig]]|[[Wolf]]}}
|[[Wolf]]
+
* <code><nowiki>{{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]}}</nowiki></code> → {{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]}}
|[[Creeper#Behavior|Creeper's Behavior]]
+
* <code><nowiki>{{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]|[[Magma cube]]}}</nowiki></code> → {{See also|[[Zombie]]|[[Creeper]]|[[Enderman]]|[[Slime]]|[[Spider]]|[[Magma cube]]}}
|[[Zombie]]
 
|[[Spider]]
 
}}
 
</nowiki>
 
</pre>
 
 
 
Results in:
 
 
 
{{See also
 
|[[Cow]]
 
|[[Wolf]]
 
|[[Creeper#Behavior|Creeper's Behavior]]
 
|[[Zombie]]
 
|[[Spider]]
 
}}
 
 
</noinclude>
 
</noinclude>

Revision as of 11:35, 17 December 2021

See also:

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.

Syntax

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