Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:See also/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
(16 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{User:Slomox/test
{{Uses TemplateStyles|Template:See also/styles.css}}
{{Heavily used template|3=+}}
{{TemplateBox
|1=1
|1=1
|2=link to the page
|1d=link to the first page
|1stat=required
|1stat=required
|3=2
|2=2
|4=link text
|2d=link text for the first page
|5=3
|3=3
|6=link to a second page (up to four pages are possible with additional parameters)
|3d=link to a second page  
|3stat=optional-
|3stat=optional-
|7=4
|4=4
|8=link text for the second page
|4d=link text for the second page
|4stat=optional-
|4stat=optional-
|2def=<nowiki>{{{1}}}</nowiki>
|5=5
|5d=link to a third page
|5stat=optional-
|6=6
|6d=link text for the third page
|6stat=optional-
|7=7
|7d=link to a fourth page
|7stat=optional-
|8=8
|8d=link text for the fourth page
|8stat=optional-
|name=See also
|name=See also
|desc=Used to show the localized string 'see also'.
|desc=Used to show the localized string 'see also'.  
|namespace=all
|namespace=all
|usergroup=all
|usergroup=all
|usage-notes=
|usage-notes=
'''Example''' (from [[:Category:Graphs]] intro):<br>
<nowiki>{{See also|1=Charts and graphs|3=Graph theory|5=Commons:Chart and graph resources}}</nowiki>
{{See also|1=Charts and graphs|3=Graph theory|5=Commons:Chart and graph resources}}
Note that the '''odd numbers''' are for the links, and the '''even numbers''' are for changed link label text. The even number parameters are not necessary if you are not changing the link label text. The number of links is no longer limited to 4 links. The table below can be further expanded. {{Lua}}
|type=marker
|type=marker
|example=
|example=
|i18n-method=int
|i18n-method=custommediawiki-msg
|i18n-desc=
|i18n-mediawiki-msg=seealso
|seealso={{Templates linking contents}}
|seealso=* [[:Template:Cat see also]]
{{Templates linking contents}}
|setscats=
|setscats=
|lines=one
|lines=one
|shorthand=Seealso
|shorthand=Seealso
}}
}}
== Workaround ==
In the case of troubles with this template, everything can be written e.g. as follows to avoid the template:
<pre>{{Created with/layout
|logo=System-search.svg
|text=''{{int:Seealso}}'': {{T0|See also/doc|this documentation}}
}}</pre> which will give {{Created with/layout|logo=System-search.svg|text=''{{int:Seealso}}'': {{T0|See_also/doc|this documentation}}}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Templates using local MediaWiki messages for internationalisation]]
}}</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.