Template:Wikipediainfo/doc
{{wikipediainfo}} is a template which provides a small graphical link to a Wikipedia article on the same topic as the page one is editing. In general, it is called by simply typing {{wikipediainfo}} on the page. However, editors should always remember to actually click the resulting Wikipedia link to ensure that a proper link has been made.
Error correction
Sometimes, the name of our articles are not precisely the same as those on Wikipedia. A proper link can be established by forcing a different spelling, so as to match an article name. For instance, we have an article called "football" on this wiki. If we were just to type
{{wikipediainfo}}
on our football page, the resulting the link would be to wikipedia:football. This isn't what we want, though, because wikipedia:football discusses all types of football, including American, Australian, Canadian and rugby. Clearly we don't want to link to that, since our article is about what's formally known as association football.
So how do we link to wikipedia:association football? Easy:
{{wikipediainfo|association football}}
Deprecated variable
It used to be that this template provided a text link to Wikipedia, which highlighted the name of the article. It was possible to alter the name of that highlighted link by adding a third variable. To follow on with our above example:
{{wikipediainfo|association football|football}}
Would have produced a text link that read "football" but in fact linked to wikipedia:association football.
This coding has been retained, but it now does nothing.