Template:See also
<languages/>
| File:Lua-Logo.svg | This template uses Lua: |
<translate> <tvar name=1>{{See also}}</tvar> is used to create hatnotes to point to a small number of other, related, titles at the top of article sections according to Wikipedia:Layout.</translate>
<translate> It is not for use in the "See also" section at the bottom of an article.</translate>
{{See also|<translate> Article 1</translate>|label 1=<translate> label1</translate>|<translate> Article 2</translate>|label 2=<translate> label2</translate>|...}}
<translate>
- Any number of articles can be listed (at least one should be provided).</translate>
<translate>
- The word "and" is always placed between the final two entries.</translate>
<translate>
- You can use parameters label 1, label 2 and so on to specify alternative labels for the links.</translate>
<translate>
- Parameter <tvar name=1>
ll</tvar> makes this template use <tvar name=2>{{ll}}</tvar>, which provides automatic linking to translation in user language, as well as using a translated default link text (overriding with <tvar name=3>label n</tvar> still applies).
</translate>
- <translate> adding newline characters will break article links</translate>
<translate>
Example
</translate>
| <translate> Code</translate> | <translate> Result</translate> |
|---|---|
{{See also|Article}} |
See also: Article
|
{{See also|Article|label 1=<translate> Alternative title for Article</translate>}} |
|
{{See also|Article|Article 2}} |
|
{{See also|Article|Article 2|Article 3}} |
|
{{See also|Article|Article 2|ll=TRUE}} |
See also: Article translated and Article 2 translated
|
{{See also|Article|Article 2|l2=<translate> Alternative title for Article 2</translate>}} |
TemplateData for See also
<templatedata> { "params": { "1": { "label": { "en": "Page name", "cs": "Název stránky", "fr": "Page 1", "sv": "Sidnamn" }, "type": "wiki-page-name", "required": true, "suggested": true, "description": { "en": "Full name of related page", "cs": "Celý název související stránky", "fr": "Nom complet de la première page à laquelle vous voulez faire référence.", "sv": "Relaterade sidans fulla namn" }, "example": { "fr": "Article_old Article/doc Special:MyLanguage/Articles", "cs": "Article_old Article/doc Special:MyLanguage/Articles" } }, "2": { "label": { "en": "Page 2", "cs": "Strana 2", "fr": "Page 2" }, "type": "wiki-page-name", "description": { "fr": "Nom complet de la seconde page à laquelle vous voulez faire référence.", "cs": "Celý název druhé stránky, na kterou chcete odkazovat." } }, "3": { "label": { "en": "Page 3", "cs": "Strana 3", "fr": "Page 3" }, "type": "wiki-page-name", "description": { "fr": "Nom complet de la troisième page à laquelle vous voulez faire référence.", "cs": "Celý název třetí stránky, na kterou chcete odkazovat." } }, "label 1": { "label": { "en": "Link label", "cs": "Text odkazu 1", "fr": "Texte 1", "sv": "Länktext" }, "description": { "en": "Custom link text, to serve as label instead of the page name.", "cs": "Vlastní text pro odkaz místo názvu stránky.", "fr": "Texte alternatif affiché pour remplacer le lien de la première page.", "sv": "Anpassad etikett för länken, istället för sidans namn" }, "type": "string", "default": { "en": "Page name", "cs": "Název stránky", "fr": "Copie de Nom de page", "sv": "Sidnamn" }, "example": { "fr": "Archives Documentation Actualités", "cs": "Archivní dokumentační zprávy" }, "aliases": [ "l1" ] }, "label 2": { "aliases": [ "l2" ], "label": { "en": "Page 2 label", "cs": "Text 2", "fr": "Texte 2" }, "type": "wiki-template-name", "description": { "fr": "Texte alternatif affiché pour remplacer le lien de la seconde page.", "cs": "Zobrazený alternativní text, který nahradí odkaz na druhou stránku." } }, "label 3": { "aliases": [ "l3" ], "label": { "en": "Page 3 label", "cs": "Text 3", "fr": "Texte 3" }, "type": "string", "description": { "fr": "Texte alternatif affiché pour remplacer le lien de la troisième page.", "cs": "Zobrazený alternativní text, který nahradí odkaz na třetí stránku." } }, "ll": { "label": { "en": "Use [[Special:MyLanguage/{{{1}}}|{{{1}}}]]", "cs": "Použít [[Special:MyLanguage/{{{1}}}|{{{1}}}]]", "fr": "Utiliser [[Special:MyLanguage/{{{1}}}|{{{1}}}]]" }, "description": { "en": "If this parameter has any non-blank value, links are generated using [[Special:MyLanguage/{{{1}}}|{{{1}}}]], which provides automatic linking to translation in user language, as well as using a translated default link text (overriding link texts still applies).", "cs": "Pokud má tento parametr libovolnou neprázdnou hodnotu, odkazy se generují pomocí [[Special:MyLanguage/{{{1}}}|{{{1}}}]], které poskytuje automatické propojení s překladem v uživatelském jazyce a také pomocí přeloženého výchozího textu odkazu (stále platí přepisující texty odkazů).", "fr": "Si ce paramètre a une valeur non vide, les liens sont générés en utilisant [[Special:MyLanguage/{{{1}}}|{{{1}}}]], qui permet d'accèder automatiquement à la traduction dans les autres langues, et d'utiliser pour le lien un texte par défaut déjà traduit (que l'on pourra toujours réécraser)." }, "type": "line" } }, "description": { "en": "Display a note about a related page.", "cs": "Zobrazí poznámku o související stránce.", "fr": "Affiche une note concernant une page relative au même sujet.", "sv": "Visa en not om en relaterad sida." }, "format": "inline", "paramOrder": [ "1", "label 1", "2", "label 2", "3", "label 3", "ll" ] } </templatedata> [[Category:Hatnote templates{{#translation:}}]]
[[Category:Templates{{#translation:}}]]