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!

(Created page with ":<div class="notice" id="see-also">{{{altphrase|See also}}}: {{#if: {{{1|}}} |<!--then:-->{{{1}}} |<!--else:--><includeonly><span class="error">Template:See also|Templat...")
 
Line 1: Line 1:
:<div class="notice" id="see-also">{{{altphrase|See also}}}: {{#if: {{{1|}}}
+
:<div class="notice" id="see-also">{{#replace:string|#|§}}{{{altphrase|See also}}}: {{#if: {{{1|}}}
 
   |<!--then:-->{{{1}}}
 
   |<!--then:-->{{{1}}}
 
   |<!--else:--><includeonly><span class="error">[[Template:See also|Template see also]] requires at least one template name</span></includeonly>
 
   |<!--else:--><includeonly><span class="error">[[Template:See also|Template see also]] requires at least one template name</span></includeonly>
Line 9: Line 9:
 
   |{{#if:{{{5|}}}|,|, and}} {{{4}}}
 
   |{{#if:{{{5|}}}|,|, and}} {{{4}}}
 
   }}{{#if: {{{5|}}}
 
   }}{{#if: {{{5|}}}
   |, and {{tl|{{{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">[[Template:See also|Template see also]] has too many links specified (maximum is 5)</span>
Line 36: Line 36:
 
|[[Cow]]
 
|[[Cow]]
 
|[[Wolf]]
 
|[[Wolf]]
|[[Creeper]]
+
|[[Creeper#Behavior]]
 
|[[Zombie]]
 
|[[Zombie]]
 
|[[Spider]]
 
|[[Spider]]

Revision as of 10:56, 17 December 2021

{{#replace:string|#|§}}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
|Link 2
|Link 3
|Link 4
|Link 5
}}

Example


{{See also
|[[Cow]]
|[[Wolf]]
|[[Creeper#Behavior]]
|[[Zombie]]
|[[Spider]]
}}

Results in:

{{#replace:string|#|§}}See also: Cow, Wolf, Creeper, Zombie, and Spider