Template:Adapted from Wikipedia: Difference between revisions
m (cleaner icon) |
(I believe this should work now. If it does, the main template page will be added to Category:Wikipedia templates, but its /doc subpage will not.) |
||
Line 5: | Line 5: | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude><includeonly>{{#ifeq: {{PAGENAME}} | {{SUBPAGENAME}} | | ||
[[Category:Wikipedia templates]] | |||
}}</includeonly> |
Revision as of 20:08, 30 May 2013
This template is adapted from Wikipedia. Additional documentation and usage instructions are provided at 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:
- 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:Template:Abbr.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.