Template:Wikipedia/doc: Difference between revisions

ArrowHead294 (talk | contribs)
Make documentation page
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}
=== Usage ===
=== Usage ===
{{Wikipedia}}
{{{{ROOTPAGENAME}} }}
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.


Line 8: Line 8:


=== Parameters ===
=== Parameters ===
All parameters are optional.
All parameters are optional. Pass in all pages to link to as an arbitrary number of unnamed arguments:


; <code>1=</code>
<code>{{<nowiki />wikipedia|''page1''|''page2''|''page3''|...}}</code>
: Specifies the Wikipedia page to link to. By default, this is the same as the name of the current Xenharmonic Wiki page.
 
. Note that if you intend to link multiple pages ''and'' the Wikipedia article with the same name as the current article, it is recommended to use <code>{{<nowiki />wikipedia|{{<nowiki />PAGENAME}}|''page1''|''page2''|''page3''|...}}</code>