Template:See also: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m fix incorrect parameter numbers, add support for a few more links, fix punctuation used e.g. in French or Asian languages |
m fix layout (note: Mediawiki:Seealso/fr should NOT include its final (initially it contained also the colon itself, both should have been either kept or removed) |
||
Line 1: | Line 1: | ||
{{#if: {{{ 1|<noinclude>{{FULLPAGENAME}}</noinclude>}}} |
|||
<div class="catlinks" style="margin:2px 0;padding:2px">[[File:System-search.svg| |
| <div class="catlinks" style="margin:2px 0;padding:2px">[[File:System-search.svg|25x25px|middle|link=]]<!-- |
||
-->[[:{{{1|{{FULLPAGENAME}}}}}|{{#if:{{{2|}}}|{{{2|}}}|{{{1|{{FULLPAGENAME}}}}}}}]]<!-- |
|||
-->{{ |
-->{{int:Seealso}}{{colon}}[[:{{{ 1|<noinclude>{{FULLPAGENAME}}</noinclude>}}}|{{#if: {{{ 2|}}} |{{{ 2|}}}|{{{ 1|<noinclude>{{FULLPAGENAME}}</noinclude>}}}}}]]<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{ 3|}}} | {{ {{#if: {{{ 5|}}} | comma | and }} }}[[:{{{ 3|}}}|{{{ {{#if: {{{ 4|}}} | 4 | 3 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{ 5|}}} | {{ {{#if: {{{ 7|}}} | comma | and }} }}[[:{{{ 5|}}}|{{{ {{#if: {{{ 6|}}} | 6 | 5 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{ 7|}}} | {{ {{#if: {{{ 9|}}} | comma | and }} }}[[:{{{ 7|}}}|{{{ {{#if: {{{ 8|}}} | 8 | 7 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{ 9|}}} | {{ {{#if: {{{11|}}} | comma | and }} }}[[:{{{ 9|}}}|{{{ {{#if: {{{10|}}} | 10 | 9 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{11|}}} | {{ {{#if: {{{13|}}} | comma | and }} }}[[:{{{11|}}}|{{{ {{#if: {{{12|}}} | 12 | 11 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{13|}}} | {{ {{#if: {{{15|}}} | comma | and }} }}[[:{{{13|}}}|{{{ {{#if: {{{14|}}} | 14 | 13 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{15|}}} | {{ {{#if: {{{17|}}} | comma | and }} }}[[:{{{15|}}}|{{{ {{#if: {{{16|}}} | 16 | 15 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{17|}}} | {{ {{#if: {{{19|}}} | comma | and }} }}[[:{{{17|}}}|{{{ {{#if: {{{18|}}} | 18 | 17 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{19|}}} | {{ {{#if: {{{21|}}} | comma | and }} }}[[:{{{19|}}}|{{{ {{#if: {{{20|}}} | 20 | 19 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{21|}}} | {{ {{#if: {{{23|}}} | comma | and }} }}[[:{{{21|}}}|{{{ {{#if: {{{22|}}} | 22 | 21 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{23|}}} | {{ {{#if: {{{25|}}} | comma | and }} }}[[:{{{23|}}}|{{{ {{#if: {{{24|}}} | 24 | 23 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{25|}}} | {{ {{#if: {{{27|}}} | comma | and }} }}[[:{{{25|}}}|{{{ {{#if: {{{26|}}} | 26 | 25 }} |}}}]] }}<!-- |
||
-->{{#if:{{{ |
-->{{#if: {{{27|}}} | {{ {{#if: {{{29|}}} | comma | and }} }}[[:{{{27|}}}|{{{ {{#if: {{{28|}}} | 28 | 27 }} |}}}]] }}<!-- |
||
-->{{#if: {{{29|}}} | {{ {{#if: {{{31|}}} | comma | and }} }}[[:{{{29|}}}|{{{ {{#if: {{{30|}}} | 30 | 29 }} |}}}]] }}<!-- |
|||
⚫ | |||
-->{{#if: {{{31|}}} | {{and}}<strong class="error">more...</strong> | . }}<!-- |
|||
--></div> |
|||
⚫ | |||
{{documentation}} |
{{documentation}} |
||
Revision as of 00:16, 13 November 2013
See also: Template:See also.
This template has been protected from editing to prevent vandalism. Please discuss changes on the talk page or request unprotection. |
This documentation is transcluded from Template:See also/doc.
This template uses TemplateStyles: |
Used to show the localized string 'see also'.
Usage
{{See also |1= |2= }}
{{Seealso|… parameters as described …}}
Example (from Category:Graphs intro):
{{See also|1=Charts and graphs|3=Graph theory|5=Commons:Chart and graph resources}}
This template should use Lua |
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | link to the first page | empty | required | |
2 | link text for the first page | empty | optional | |
3 | link to a second page | empty | optional | |
4 | link text for the second page | empty | optional | |
5 | link to a third page | empty | optional | |
6 | link text for the third page | empty | optional | |
7 | link to a fourth page | empty | optional | |
8 | link text for the fourth page | empty | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
Templates linking contents
"1-N" means from one to many.
- Upwards links
- – "Main gallery" link from gallery or category to 1-N main galleries.
- – "Main category" link from gallery or category to 1-N main categories.
- – (box) Alternative "See category" boxed link from gallery to parent category, with explanation of the role of a gallery page.
- Downwards links
- – "Further information" link to 1-N detailed galleries or categories.
- Sideways page links
- – (box or inline) "See also" link to 1-N related pages.
- – "For" a single alternative page with explanation.
- - "For" 1-N alternative pages with one or more explanations.
- – As "For2" with an explanation of the current page.
- - As "For multi" with an explanation of the current page.
- – "Not to be confused with" link to 1-N related pages.
- – (box) Internationalized "See also" (or other caption) to related images.
- – (box) Internationalized with icon-links to related images of the same (medical) case.
- – "See" link from gallery to gallery.
- Sideways category links
- – (box or inline) "See also Categories" link to 1-N related categories.
- – (box or inline) "Not to be confused with categories" link from category with ambiguous names to 1-N unrelated categories.
- Interproject links
- – "Main Wikipedia article" link to 1 article (don't forget the purpose of interwiki links).
- – "See also Wikipedia article" link to 1-N articles (don't forget the purpose of interwiki links).
- Template:Multilingual link – allows to indicate names of versions of same Wikipedia article in many languages and displays one link in interface language.
Localization
This template is localized by utilizing custom MediaWiki namespace messages.
Workaround
In the case of troubles with this template, everything can be written e.g. as follows to avoid the template:
{{Created with/layout |logo=System-search.svg |text=''{{int:Seealso}}'': {{T0|See also/doc|this documentation}} }}which will give
See also: this documentation