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.)
No edit summary
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{mbox
{{Adapted from|[[Wikipedia:{{{1|<includeonly>{{FULLPAGENAME}}</includeonly><noinclude>{{NAMESPACE}}:Example</noinclude>}}}|{{{1|<includeonly>{{FULLPAGENAME}}</includeonly><noinclude>{{NAMESPACE}}:Example</noinclude>}}}]] on Wikipedia|Adaptation is noted for reference and attribution only. This {{SUBJECTSPACE formatted}} may differ from the original in function or in usage. {{#ifexpr: {{PAGESIZE:{{NAMESPACE}}:{{ROOTPAGENAME}}/doc|R}} < 300 | The [[Wikipedia:{{{1|<includeonly>{{FULLPAGENAME}}</includeonly><noinclude>{{NAMESPACE}}:Example</noinclude>}}}|documentation]] on Wikipedia may be helpful in understanding this {{SUBJECTSPACE formatted}}.}}}}<includeonly>{{Documentation categories|{{Category handler
|image=[[File:Tango style Wikipedia Icon.svg|40px|link=|alt=]]
|template = [[Category:Templates adapted from Wikipedia]]
|text=This template is adapted from [http://en.wikipedia.org/ Wikipedia]. Additional documentation and usage instructions are provided at [{{canonicalurl:Wikipedia:Template:{{{1|{{BASEPAGENAME}}}}}}} Template:{{{1|{{BASEPAGENAME}}}}}].
|module = [[Category:Modules adapted from Wikipedia]]
}}<noinclude>
|nocat = {{{nocat|}}}
{{documentation}}
}}}}</includeonly><noinclude>
{{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>
[[Category:Wikipedia templates]]
}}</includeonly>

Latest revision as of 05:15, 27 December 2021

This template was adapted from Template:Example on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.
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 was adapted 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.