Шаблон:Вікіпедія
Перейти до навігації
Перейти до пошуку
Документація Наведена нижче документація запозичена з «Шаблон:Вікіпедія/doc». (редагувати | історія)
[оновити]
Для більш повної чи актуальної інформації ви можете переглянути документацію англійською.
This template creates a link to Wikipedia, but without the need for the displayed text as it automatically fills it in.
Usage
{{ wikipedia | <Wikipedia article title> | <display text> | lang = <language version of Wikipedia> }}
- First unnamed parameter
Title of the article on Wikipedia.
- Second unnamed parameter
By default, the article title will be displayed, but this parameter can be used to override that and provide a custom text.
- lang
The language version of Wikipedia, e.g.
for the French Wikipedia. This defaults to fr
{{lang}}
, i.e. the current language, so it should not be necessary in most cases.
Examples
Code | Result |
---|---|
{{wikipedia|Terraria}} |
Terraria |
{{wikipedia|Terraria|a video game}} |
a video game |
{{wikipedia|Terraria|Terraria in Arabic|lang=ar}} |
Terraria in Arabic |
See also
- {{wiktionary}}
Категорії:
- Локалізовані шаблони
- Шаблони ярликів