Template:pedlink/documentation

Usage
The first parameter is mandatory. The template generates a link to the entry of that title if the entry exists and to the Wikipedia article of the same title otherwise.

The parameter  can be used to link to a different Wikipedia article.

The parameter  can be used for display text.

The parameter  is for the language code of the Wikipedia to link to iff it's not English.

Examples

 * { {pedlink|foo}} &rarr;
 * { {pedlink|foo|disp=baz}} &rarr;
 * { {pedlink|bcfhiedq}} &rarr; (because bcfhiedq is not an entry)
 * { {pedlink|bcfhiedq|w=foo}} &rarr; (because bcfhiedq is not an entry)
 * { {pedlink|bcfhiedq|w=foo|disp=baz}} &rarr; (because bcfhiedq is not an entry)
 * { {pedlink|bar|w=foo}} &rarr; (because bar is an entry)
 * { {pedlink|bar|w=foo|disp=baz}} &rarr; (because bar is an entry)
 * { {pedlink|bcfhiedq|w=foo|disp=baz|lang=la}} &rarr; (because bcfhiedq is not an entry)