User:TheQ Editor/Adopt/Wikimarkup
So by now you know how to edit pages, one of the most important features of Wikipedia. The interesting bit, however, is getting things to look, well, interesting. There are a number of different bits of code that you can use in your editing to create different effects when the page is saved - they can be as simple as bold text or italics, but different bits of code can be combined to make a very appealing layout.
I should warn you that in most cases, special formatting is frowned upon in articles. It should only be used in certain situations, and when it is necessary to illustrate a particular point. Aside from those cases, text in articles should be just as you see it in this sentence - plain black, with only the occasional wikilink to spice things up.
CheatSheet
[edit]For a complete list of wikitext codes, see Help:Wikitext. For information on special words, see Help:Magic words. |
| ||
Works anywhere in the text | ||
Description | You type | You get |
Italics, bold, and both |
|
italics, bold, and both |
Link to another page
see Help:Interwikimedia links for linking to sister projects
|
|
|
"Pipe" a link to change the link's text |
|
|
Link to a section |
|
|
Red link |
|
|
Plain website |
|
|
Link a website |
|
|
Link and name a website |
|
|
Citations, references, and footnotes
sources in the article will appear where {{reflist}} is put, typically under a level 2 section heading (see below) towards the bottom of the page; text between {{}} is for a template.
|
Hello<ref name="LoC">[https://www.loc.gov/about/ Library of Congress]</ref> World!<ref>{{cite web |url=https://www.w3.org/ |title = World Wide Web Consortium (W3C)}}</ref>
Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>
References: {{reflist}}
|
References:
|
Template:Citation needed
one of many cleanup templates
|
|
This statement is true.[citation needed] |
Signature
sign your contributions when posting to a talk page
|
|
|
Ping a user on a talk page
so they will see your comment
|
|
|
Strike your talk page comment
to show your previous comment is outdated
|
|
|
Underline your text |
|
This topic is notable |
Hide comment(s) somewhere for editors; hidden comments are visible only in the editors
consensus is how things are decided
|
|
|
Show an image
for uploading, see the intro to uploading images
|
|
|
Add a page to a category | [[Category:Category name]] place near the bottom of a page |
shows "Category name" in a bar at bottom when the page is previewed or published |
Link to a category or file | [[:Category:Category name]] [[:File:File name]]
|
Category:Wikipedia basic information File:Example.jpg
|
Works only at the beginning of lines | ||
Description | You type | You get |
Redirect to another page
redirects must be placed at the start of the first line
|
|
|
Redirect to a section of another page |
|
|
Section headings a Table of Contents will automatically be generated when four headings are added to an article
|
|
Level 2[edit]Level 3[edit]Level 4[edit]Level 5[edit]Level 6[edit] |
Bulleted list |
|
|
Numbered list |
|
|
Indenting text
this is used when replying on a talk page, to make it easier to follow conversations.
After a string of indents, or to revive a discussion, an outdent {{Outdent|n}} (Template:Outdent) can be used to reset the paragraph to the left margin. |
|
no indent (normal)
return to left margin
|
|
HTML
[edit]Wikipedia also supports HTML tags. You can find the list of tags Wikipedia supports here. You don't need to use them in articles. They are just extras that could make other pages better. Like make this text red. Nothing too important for an article.