Template:Adapted from Wikipedia: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(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.)
m (Adding an override param so that the category can be omitted from this template itself.)
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><includeonly>{{#ifeq: {{PAGENAME}} | {{SUBPAGENAME}} |  
</noinclude><includeonly>{{#ifeq: {{{override|{{PAGENAME}}}}} | {{SUBPAGENAME}} |  
[[Category:Wikipedia templates]]  
[[Category:Wikipedia templates]]  
}}</includeonly>
}}</includeonly>

Revision as of 20:13, 30 May 2013

This template is adapted from Wikipedia. Additional documentation and usage instructions are provided at Template:Adapted from Wikipedia.

Template documentation[view] [edit] [history] [purge]


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}}

This template is adapted from Wikipedia. Additional documentation and usage instructions are provided at Template:Template:Abbr.