টেমপ্লেট:প্রকল্পসংযোগ/নথি
অবয়ব
ব্যবহার
[সম্পাদনা]This template requires only one parameter, the name of the project. By default, it links to the identically-titled article (except with an initial capital letter) on the English language project, with a message like this one:
In addition, it puts a link to that article in the sidebar at left, assuming the reader is using the Monobook skin.
However, a few optional parameters are accepted:
- The
lang
parameter is used to link to an article in a non-English project; if provided, it should be set to the language code used in interwiki links, which is usually (or always?) the first part of the article's domain name. For example, a link to an article on the French Wikipedia (fr.wikipedia.org) would setlang=fr
. - The first parameter is used to link to page whose name isn't identical to that of the Wiktionary entry. This can be left empty to use the pagename. Alternatively, the
dab
parameter can be used to indicate that the target is a disambiguation page. - The second parameter is used to have different link text from the name of the linked article.
So, for example, {{projectlink|pedia|lang=fr|pétanque|la pétanque}}
would produce the message:
(though that's not necessarily a good idea; {{projectlink|pedia|lang=fr}}
should quite suffice in this case).
As before, the link will appear in the sidebar as well.