Template:Wikipedia/doc
Jump to navigation
Jump to search
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 code> (optional) }}
- 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
Language code of the Wikipedia. Defaults to {{lang}}.
Examples
Code | Result | Notes |
---|---|---|
{{wikipedia|Terraria}} |
Terraria | |
{{wikipedia|Terraria|a video game}} |
a video game | |
{{wikipedia|lang=ru|Английский язык}} |
Английский язык | Link to Russian Wikipedia to the page about English language |
See also
- {{wiktionary}}