模板:Adapted from Wikipedia/doc

这是Template:Adapted from Wikipedia的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

This template displays a message stating that a template or module was adapted from a similar one on Wikipedia.

Usage

This template should be placed at the end of the documentation for a template or module. This is done primarily for reference purposes to show that the template or module was adapted from a similar one on Wikipedia, even if they function somewhat differently from one another.

The template or module that this template is transcluded on will be categorized accordingly:

{{Adapted from Wikipedia}}

By default, it links to the page on Wikipedia with the same name, but a different page can be specified using the first unnamed parameter or |1=.

{{Adapted from Wikipedia|Template:Abbr}}

To prevent the template from adding categories, use |nocat=true.

Example

{{Adapted from Wikipedia|Template:Abbr}}

Disambig grey.pngThis Template was adopted from: Template:Abbr on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.