Content deleted Content added
Nick Moyes (talk | contribs) common -> frequently used |
Restored revision 1230149370 by The wub (talk): Talk pages are covered later in the tutorial, and not sure why we'd link to them like this |
||
(20 intermediate revisions by 8 users not shown) | |||
Line 1:
<noinclude>{{pp|small=yes}}</noinclude>{{intro to|
[[File:Boldness and links tutorial.ogv|thumb|thumbtime=1|A video tutorial about the basics of wiki markup, including creating links]]
'''Wikilinks''' are one of the key components of Wikipedia.
In general, wikilinks should be added for the [[Wikipedia:Manual of Style/Linking|first
Typically, wikilinks use square brackets, like this: <code><nowiki>[[target page]]</nowiki></code>. You can also insert them by clicking the [[File:OOjs UI icon link-ltr.svg|20px|class=skin-invert|link=|alt=Chain icon]] icon.
▲In general, wikilinks should be added for the [[Wikipedia:Manual of Style/Linking|first occurrence]] of important concepts for the topic.
If you want to link to an article, but display some other text for the link, you can use a [[Help:Link#Piped link|pipe]] <code><nowiki>|</nowiki></code> divider ({{key press|Shift|\}}):
<br><code><nowiki>[[target page|display text]]</nowiki></code>
[[File:WP20Symbols MediaWiki.svg|right|170px|alt=|link=]]
You can also link to a specific section of a page using a hash <code>#</code>:
<br><code><nowiki>[[Target page#Target section|display text]]</nowiki></code>
Here are some examples:
You may also encounter '''[[Help:A quick guide to templates|templates]]''', which allow frequently used elements to be included on multiple pages. These are designated by curly brackets like: <code><nowiki>{{template name|parameters}}</nowiki></code>
For instance, to insert the {{citation needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} [[Template:Citation needed|tag]], you can type this code:
{{tnull|Citation needed|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. The [[File:OOjs UI icon puzzle-ltr.svg|20px|class=skin-invert|link=|alt=Puzzle piece icon]] icon works, too.
}}
|