Template:Wikipedia/doc: Difference between revisions
Update to current behavior |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}}{{ {{ROOTPAGENAME}} }}{{Modlink|Variable arguments}} | ||
=== Usage === | === Usage === | ||
The template should be placed at the beginning of the page it refers to, immediately after hatnotes if there are any. If there are also images, box templates such as this should appear first. Alternatively, consider linking to Wikipedia in the "External links" section; see [[Special: Interwiki]] for tips on adding such links. | The template should be placed at the beginning of the page it refers to, immediately after hatnotes if there are any. If there are also images, box templates such as this should appear first. Alternatively, consider linking to Wikipedia in the "External links" section; see [[Special: Interwiki]] for tips on adding such links. | ||
The template can also be placed at the beginning of a section. In that case, the title of the Wikipedia page must be explicitly given as a [[#Parameters|parameter]]. | The template can also be placed at the beginning of a section. In that case, the title of the Wikipedia page must be explicitly given as a [[#Parameters|parameter]].{{clear}} | ||
{{clear}} | |||
=== Parameters === | === Parameters === | ||
Line 27: | Line 25: | ||
If you do not wish to link the page with the current page's name, simply omit it. For example, placing <code><nowiki>{{wikipedia|''page1''|''page2''|''page3''}}</nowiki></code> on [[Frequently asked questions]] will yield the same result as above, but without the link to [[Frequently asked questions]]. | If you do not wish to link the page with the current page's name, simply omit it. For example, placing <code><nowiki>{{wikipedia|''page1''|''page2''|''page3''}}</nowiki></code> on [[Frequently asked questions]] will yield the same result as above, but without the link to [[Frequently asked questions]]. | ||