Template:Adapted from Wikipedia/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
m (Vinifera7 moved page Template:Wikipedia template/doc to Template:Adapted from Wikipedia/doc without leaving a redirect)
Line 4: Line 4:


==Usage==
==Usage==
<code><nowiki>{{wikipedia template}}</nowiki></code>
<code><nowiki>{{Adapted from Wikipedia|{{subst:NAMESPACE}}:{{subst:ROOTPAGENAME}}}}</nowiki></code>


By default, it links to the template of the same name on Wikipedia, but an alternate template can be specified.
By default, it links to the template of the same name on Wikipedia, but an alternate template can be specified.

Revision as of 04:54, 11 November 2021

This subpage provides documentation for Template:Adapted from Wikipedia.

This message box should be used on template documentation subpages to indicate that the template was adapted from a Wikipedia template. The template will be added to Category:Wikipedia templates automatically.

Usage

{{Adapted from Wikipedia|{{subst:NAMESPACE}}:{{subst:ROOTPAGENAME}}}}

By default, it links to the template of the same name on Wikipedia, but an alternate template can be specified.

The code {{wikipedia template|Abbr}} yields:

This template was adapted from Abbr on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.

If for some reason the template is on a sub-page—for example, Template:N/a—the override parameter must be used to specify the full name of the template.

To prevent the template from being added to the Wikipedia templates category, blank the override parameter.