Template:See also/doc: Difference between revisions
Template page
More actions
Explain more clearly. Even and odd numbers. It is not limited to 4 links. |
No edit summary |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Heavily used template}} | {{Uses TemplateStyles|Template:See also/styles.css}} | ||
{{Heavily used template|3=+}} | |||
{{TemplateBox | {{TemplateBox | ||
|1=1 | |1=1 | ||
| Line 32: | Line 33: | ||
<nowiki>{{See also|1=Charts and graphs|3=Graph theory|5=Commons:Chart and graph resources}}</nowiki> | <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}} | {{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. | 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=custommediawiki-msg | |i18n-method=custommediawiki-msg | ||
|i18n-mediawiki-msg=seealso | |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 | ||
}}<includeonly> | }} | ||
== 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:Internal link templates|{{PAGENAME}}]] | ||
[[Category:Templates using local MediaWiki messages for internationalisation]] | [[Category:Templates using local MediaWiki messages for internationalisation]] | ||
</includeonly> | }}</includeonly> | ||