Template:See also/doc: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (16 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Uses TemplateStyles|Template:See also/styles.css}} | ||
{{Heavily used template|3=+}} | |||
{{TemplateBox | |||
|1=1 | |1=1 | ||
| | |1d=link to the first page | ||
|1stat=required | |1stat=required | ||
| | |2=2 | ||
| | |2d=link text for the first page | ||
| | |3=3 | ||
| | |3d=link to a second page | ||
|3stat=optional- | |3stat=optional- | ||
| | |4=4 | ||
| | |4d=link text for the second page | ||
|4stat=optional- | |4stat=optional- | ||
| | |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= | |i18n-method=custommediawiki-msg | ||
|i18n- | |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> | |||