Wiki Markup: From Edit Box to Screen
Earlier in this chapter, you learned how to create section headers, and to format text as bold or italic (see Figure 1-4). Such formatting is called wiki markup. As you continue through this book, you’ll learn about every type of markup you’re likely to encounter. As a new editor, though, you need to learn three things right away: to recognize the types of markup, how templates are used, and how to create links between articles.
Types of Markup
Besides headings, bold, and italic text, you’ll encounter the following types of markup as you edit articles:
{{pagename}} or {{pagename | info1 | info2 }} or {{pagename | this= info 1 | that= info2}}.The double curly brackets indicate a template. An example of a template appeared in Figure 1-3 and was discussed immediately thereafter (see page 7). Templates are discussed in more detail later in this chapter (Understanding and Using Templates).
[[Article name]] or [[Article name| other name]]. Double square brackets create internal links (wikilinks), which are hyperlinks between pages in Wikipedia. They’re described in the next section.
[http:url] or [http:url some text]. Single square brackets around a URL create external links. This formatting is discussed in Chapter 2, “Documenting Your Sources” (Chapter 2 to page 43).
<ref> text possibly with a URL </ref> and <references />. These are footnote tags—the text between the tags is the footnote itself—plus the instruction to Wikipedia as to where to display the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access