MediaWiki Editing Cheatsheet: Difference between revisions
mNo edit summary Tag: Manual revert |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | {|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | ||
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" | | |colspan="3" align="center" style="background:#cee0f2; text-align:center;" | | ||
Line 16: | Line 11: | ||
| style="border-bottom:2px #a3b1bf solid" width="30%" | You get | | style="border-bottom:2px #a3b1bf solid" width="30%" | You get | ||
|-<!--1ST ROW 1ST COLUMN--> | |-<!--1ST ROW 1ST COLUMN--> | ||
|Italics | |Italics | ||
|<!--2ND COLUMN--> | |<!--2ND COLUMN--> | ||
<code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></code> | <code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></code> | ||
Line 24: | Line 19: | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|-<!--2ND ROW 1ST COLUMN--> | |-<!--2ND ROW 1ST COLUMN--> | ||
|[[Wikipedia:Manual of Style/Linking|Link]] | |[[Wikipedia:Manual of Style/Linking|Link]] to another page | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''see [[Help:Interwikimedia links]] for linking to sister projects''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''see [[Help:Interwikimedia links]] for linking to sister projects''</div> | ||
| | | | ||
Line 101: | Line 96: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| | | | ||
Hello<ref name="LoC">[https://www.loc.gov/about/ Library of Congress]</ref> World! | Hello<ref name="LoC">[https://www.loc.gov/about/ Library of Congress]</ref> World! | ||
Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> | Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> | ||
Line 273: | Line 268: | ||
{{Quicktemplates|state=expanded}} | {{Quicktemplates|state=expanded}} | ||
<noinclude> | <noinclude> | ||
Latest revision as of 16:48, 27 June 2024
|
||
Works anywhere in the text | ||
Description | You type | You get |
Italics |
|
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.
|
<syntaxhighlight lang="xml"> Hello<ref name="LoC">Library of Congress</ref> World!<ref>Template:Cite web</ref> Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> References: Template:Reflist </syntaxhighlight> |
Hello<ref name="LoC">Library of Congress</ref> World! Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> References: Template:Reflist |
Template:Citation needed
one of many cleanup templates
|
|
This statement is true.Template:Cn |
SignatureTemplate:Anchor
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
|
<syntaxhighlight lang="tid" inline> |
|
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 categoryTemplate:Anchor | [[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 pageTemplate:Anchor
redirects must be placed at the start of the first line
|
|
|
Redirect to a section of another page |
|
|
Section headingsTemplate:Anchor a Table of Contents will automatically be generated when four headings are added to an article
|
|
Level 2Level 3Level 4Level 5Level 6 |
Bulleted listTemplate:Anchor |
|
|
Numbered listTemplate:Anchor |
|
|
Indenting textTemplate:Anchor
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)
Template:Outdent return to left margin |