Template:Adapted from Wikipedia: Difference between revisions
m (Vinifera7 moved page Template:WikipediaTemplate to Template:Wikipedia template) |
(Display as message box and auto-add to Category:Wikipedia templates) |
||
Line 1: | Line 1: | ||
{{mbox | |||
|image=[[File:Wikipedia icon.png|link=|alt=]] | |||
|text=This template is adapted from [http://en.wikipedia.org/ Wikipedia]. Additional documentation and usage instructions are provided at [{{canonicalurl:Wikipedia:{{{1|{{SUBJECTSPACE}}:{{BASEPAGENAME}}}}}}} {{{1|{{SUBJECTSPACE}}:{{BASEPAGENAME}}}}} on Wikipedia]. | |||
}}<includeonly>[[Category:Wikipedia templates]]</includeonly><noinclude> | |||
{{documentation}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> |
Revision as of 13:50, 29 May 2013
This template is adapted from Wikipedia. Additional documentation and usage instructions are provided at Template:Adapted from Wikipedia on 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:
- Template – Category:Templates adapted from Wikipedia
- Module – Category:Modules adapted from Wikipedia
{{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}}
This template is adapted from Wikipedia. Additional documentation and usage instructions are provided at Template:Abbr on Wikipedia.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.