Revision as of 03:32, 25 April 2008 view sourceAnubad95 (talk | contribs)16 editsmNo edit summary← Previous edit | Latest revision as of 15:13, 17 December 2024 view source Plantaest (talk | contribs)Extended confirmed users731 editsmNo edit summary | ||
(357 intermediate revisions by more than 100 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{short description|Brief guide to Misplaced Pages formatting codes}} | |||
{{pp-protected}} | |||
{{pp-semi-indef}}{{pp-move-indef}} | |||
<noinclude>{{pp-semi|small=yes}}</noinclude> | |||
<div align="center"> | <div align="center"> | ||
{{ |
{{Help pages header}}</div></noinclude> | ||
{{Notice|For a complete list of wikitext codes, see <b>].</b> For information on special words, see <b>].</b>|shortcut1=H:CS|shortcut2=H:CHEAT|shortcut3=WP:CHEAT|shortcut4=WP:CHEATSHEET}} | |||
{| align="right" style="background:transparent; border-bottom:1px 1px 0px 0px #a3b1bf solid;" | |||
<!--COMMENT MARKUP. Displays in only source editing mode.--> | |||
| | |||
{|align="center" class="notheme" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | |||
{{shortcut|]}} | |||
|} | |||
<!--COMMENT MARKUP. Displays:Edit mode only.--> | |||
{|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;" | | ||
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;"> |
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;"><br>Wikitext cheatsheet</h2> | ||
|-<!--WORKS ANYWHERE IN THE TEXT--> | |||
<h4>For more details, see ]</h4> | |||
| colspan=3 style="background:#E6F2FF; border-top:2px #a3b1bf solid;text-align:center;" | | |||
|-<!--COLUMN HEADINGS--> | |||
'''Works anywhere in the text''' | |||
| width="25%" style="background:#cee0f2; padding:0.3em; text-align:center;"|'''Description''' | |||
| style="background:# |
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;" | ||
| style="border-bottom:2px #a3b1bf solid" width="30%" | Description | |||
| width="25%" style="background:#cee0f2; padding:0.3em; text-align:center;"|'''You get''' | |||
| style="border-bottom:2px #a3b1bf solid" | You type | |||
|-<!--1ST HEADING--> | |||
| style="border-bottom:2px #a3b1bf solid" width="30%" | You get | |||
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies anywhere | |||
|-<!--1ST ROW 1ST COLUMN--> | |-<!--1ST ROW 1ST COLUMN--> | ||
|Italics{{Anchor|Italic text}}, bold{{Anchor|Bold text}}, and both{{Anchor|bold and italic}} | |||
|] | |||
|<!--2ND COLUMN--> | |<!--2ND COLUMN--> | ||
< |
<code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></code> | ||
|<!--3RD COLUMN--> | |<!--3RD COLUMN--> | ||
''italics'', '''bold''', and '''''both''''' | |||
''italic'' | |||
|-<!--HORIZONTAL LINE--> | |-<!--HORIZONTAL LINE--> | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|-<!--2ND ROW 1ST COLUMN--> | |-<!--2ND ROW 1ST COLUMN--> | ||
|]{{Anchor|Internal link}} to another page | |||
|] | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''see ] for linking to sister projects''</div> | |||
| | | | ||
< |
<code><nowiki>]</nowiki></code><br> | ||
<code><nowiki>]ors</nowiki></code> | |||
| | | | ||
]<br> | |||
'''bold''' | |||
]ors | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|] | |||
| | | | ||
"]" a link to change the link's text | |||
<tt><nowiki>'''''bold & italic'''''</nowiki></tt> | |||
| | | | ||
<code><nowiki>]</nowiki></code> | |||
'''''bold & italic''''' | |||
| | |||
] | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
||]<br /> | |||
(within Misplaced Pages) | |||
| | | | ||
Link to a section | |||
<tt><nowiki>]</nowiki></tt><br /> | |||
<tt><nowiki>]</nowiki></tt><br /> | |||
| | | | ||
<code><nowiki>]</nowiki></code><br> | |||
]<br /> | |||
<code><nowiki>]</nowiki></code><br/> | |||
]<br /> | |||
<code><nowiki>{{slink|Frog#Locomotion}}</nowiki></code> | |||
| | |||
]<br> | |||
]<br/> | |||
{{slink|Frog#Locomotion}} | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|] | |||
|] | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''Links to pages that don't exist are automatically red. Red links in articles often help by showing desired ] or ] pages. ''</div> | |||
| | | | ||
< |
<code><nowiki>]</nowiki></code> | ||
| | | | ||
] | |||
]] | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|Plain website | |||
|]<br /> | |||
(to other websites) | |||
| | | | ||
< |
<code><nowiki>https://www.wikipedia.org</nowiki></code> | ||
<tt><nowiki></nowiki></tt><br /> | |||
<tt><nowiki>http://www.example.org</nowiki></tt> | |||
| | | | ||
https://www.wikipedia.org | |||
<br /> | |||
http://www.example.org | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|Link a website | |||
| | | | ||
<code><nowiki></nowiki></code> | |||
Sign your posts <br /> | |||
on talk pages | |||
| | | | ||
<tt><nowiki>~~~~</nowiki></tt> | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|Link and name a website | |||
| | | | ||
<code><nowiki></nowiki></code> | |||
] {{CURRENTTIME}}, <br /> | |||
| | |||
{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | |||
|-<!--2ND HEADING--> | |||
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies only at the beginning of the line | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|Headings<br /> | |||
|- | |||
<span style="font-size:0.9em;">''A Table of Contents will automatically be generated when four headings are added to an article.''</span> | |||
|] | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">sources in the article will appear where <nowiki>{{reflist}}</nowiki> is put, typically under a level 2 section heading (see below) towards the bottom of the page; text between <nowiki>{{}}</nowiki> is for a ].</div> | |||
| | | | ||
<syntaxhighlight lang="xml"> | |||
<tt><nowiki>== Level 1 ==</nowiki></tt><br /> | |||
Hello<ref name="LoC"></ref> World!<ref>{{cite web |url=https://www.w3.org/ |title = World Wide Web Consortium (W3C)}}</ref> | |||
<tt><nowiki>=== Level 2 ===</nowiki></tt><br /> | |||
<tt><nowiki>==== Level 3 ====</nowiki></tt><br /> | |||
Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> | |||
<tt><nowiki>===== Level 4 =====</nowiki></tt><br /> | |||
<tt><nowiki>====== Level 5 ======</nowiki></tt> | |||
References: {{reflist}} | |||
</syntaxhighlight> | |||
| | | | ||
Hello<ref name="LoC"></ref> World!<ref>{{cite web |url=https://www.w3.org/ |title = World Wide Web Consortium (W3C)}}</ref> | |||
== Level 1 == | |||
=== Level 2 === | |||
Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> | |||
==== Level 3 ==== | |||
===== Level 4 ===== | |||
References: {{reflist}} | |||
====== Level 5 ====== | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|] | |] | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''one of many ]''</div> | |||
| | | | ||
<code><nowiki>This statement is true.{{cn}}</nowiki></code> | |||
<tt>* One</tt><br /> | |||
| | |||
<tt>* Two</tt><br /> | |||
This statement is true.{{cn}} | |||
<tt>** Two point one</tt><br /> | |||
|- | |||
<tt>* Three</tt> | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|]{{Anchor|Signature}} | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''sign your contributions when posting to a ]''</div> | |||
| | |||
<code><nowiki>~~~~</nowiki></code><br><br><span style="font-size:0.9em;">''do not sign in an article, only on talk pages''</span> | |||
| | |||
] (]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|Ping a user on a ] | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''so they will see your comment''</div> | |||
| | |||
<code><nowiki>]</nowiki></code> or <code><nowiki>{{u|Example}}</nowiki></code> | |||
| | |||
] or {{u|Example}} | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|] your ] comment | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated''</div> | |||
| | |||
<syntaxhighlight lang="tid" inline><s>This topic isn't ].</s></syntaxhighlight> | |||
| | |||
<s>This topic isn't ].</s> | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|] your text | |||
| | |||
<code><nowiki><u>This topic is notable</u></nowiki></code> | |||
| | |||
<u>This topic is notable</u> | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|Hide comment(s) somewhere for editors; hidden comments are visible only in the editors | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''] is how things are decided''</div> | |||
| | |||
<code><nowiki><!-- This had consensus, discuss at talk page --></nowiki></code> | |||
| | |||
<!-- This had consensus, discuss at talk page --> | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|] | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, see the ]''</div> | |||
{{Anchor|Thumbnail image}} | |||
| | |||
<code><nowiki>]</nowiki></code> | |||
| | |||
] | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|Add a page to a ]{{Anchor|Add a page to a category}} | |||
|<code><nowiki>]</nowiki></code><br><br><span style="font-size:0.9em;">''place near the bottom of a page''</span> | |||
|<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or published''</span> | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|Link to a ] or ] | |||
|<br><code><nowiki>]</nowiki></code><br><code><nowiki>]</nowiki></code> | |||
|<br>]<br>] | |||
|-<!--WORKS ONLY AT THE BEGINNING OF LINES--> | |||
| colspan="3" style="background:#E6F2FF; border-top:2px #a3b1bf solid; text-align:center;" | '''Works only at the beginning of lines''' | |||
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;" | |||
| style="border-bottom:2px #a3b1bf solid" width="30%" | Description | |||
| style="border-bottom:2px #a3b1bf solid" | You type | |||
| style="border-bottom:2px #a3b1bf solid" width="30%" | You get | |||
|- | |||
|]{{Anchor|Redirect to another page}} | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''redirects must be placed at the start of the first line''</div> | |||
| | |||
<code><nowiki>#REDIRECT ]</nowiki></code> | |||
| | |||
] ] | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|] | |||
| | |||
<code><nowiki>#REDIRECT ]</nowiki></code> | |||
| | |||
] ] | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|]{{Anchor|Section headings}}<br> | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''a Table of Contents will automatically be generated when four headings are added to an article''</div> | |||
| | |||
<code><nowiki>== Level 2 ==</nowiki></code><br> | |||
<code><nowiki>=== Level 3 ===</nowiki></code><br> | |||
<code><nowiki>==== Level 4 ====</nowiki></code><br> | |||
<code><nowiki>===== Level 5 =====</nowiki></code><br> | |||
<code><nowiki>====== Level 6 ======</nowiki></code><br><br> | |||
<span style="font-size:0.9em">''do not use'' = Level 1 = ''as it is for page titles''</span> | |||
| | |||
== Level 2 == | |||
=== Level 3 === | |||
==== Level 4 ==== | |||
===== Level 5 ===== | |||
====== Level 6 ====== | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|]{{Anchor|Bulleted list}} | |||
| | |||
<code>* One</code><br> | |||
<code>* Two</code><br> | |||
<code>** Two point one</code><br> | |||
<code>* Three</code> | |||
| | | | ||
* One | * One | ||
Line 117: | Line 240: | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|] | |]{{Anchor|Numbered list}} | ||
| | | | ||
< |
<code># One</code><br> | ||
< |
<code># Two</code><br> | ||
< |
<code>## Two point one</code><br> | ||
< |
<code># Three</code> | ||
| | | | ||
# One | # One | ||
Line 129: | Line 252: | ||
# Three | # Three | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| |
|colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|Indenting text{{Anchor|Indenting text}} | |||
|] | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a ], to make it easier to follow conversations.<br> After a string of indents, or to revive a discussion, an outdent <nowiki>{{Outdent|n}}</nowiki> (]) can be used to reset the paragraph to the left margin.''</div> | |||
| | | | ||
< |
<code><nowiki>no indent (normal)</nowiki></code><br> | ||
<code><nowiki>: first indent</nowiki></code><br> | |||
<code><nowiki>:: second indent</nowiki></code><br> | |||
<code><nowiki>::: third indent</nowiki></code><br> | |||
<code><nowiki>:::: fourth indent</nowiki></code><br> | |||
<code><nowiki>{{Outdent|4}} return to left margin</nowiki></code> | |||
| | | | ||
no indent (normal)<br> | |||
] | |||
: first indent | |||
:: second indent | |||
::: third indent | |||
:::: fourth indent | |||
{{Outdent|4}} return to left margin | |||
|} | |} | ||
{{Quicktemplates|state=expanded}}<noinclude> | |||
</div> | |||
==See also== | == See also == | ||
{{ombox|image=none|small=y|text='''Note''': You can use the ] to experiment with page editing.|imageright=]}} | |||
* For a tour of features, see the ]. | |||
] | |||
* ] of Misplaced Pages | |||
* For |
* For a full list of editing commands, see ] | ||
* For including parser functions, variables and behavior switches, see ] | |||
* For a checklist of elements required to make a "perfect" article, see ]. | |||
* For a guide to displaying mathematical equations and formulas, see ] | |||
* For print cheatsheets, see the ] or the ] (available in many languages). | |||
* For a guide to editing, see ] | |||
* The encyclopedic article on ]s | |||
* For an overview of commonly used style guidelines, see ] | |||
* ] | |||
* For a page on how to use Misplaced Pages in bite-sized morsels, see ] | |||
* For advice on writing style and formatting in a bullet-point format, see ] | |||
* For summaries of some Misplaced Pages protocols and conventions, see ] | |||
* If you don't want to use wikitext markup, try ] instead | |||
* '''To ask a question''', see ] to locate the appropriate venue(s) | |||
---- <div style="font-size:smaller">{{Center|1={{Offer help}}}}</div> | |||
{{Misplaced Pages editor navigation|state=collapsed}} | |||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ | ||
] | ] | ||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
</noinclude> | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] |
Latest revision as of 15:13, 17 December 2024
Brief guide to Misplaced Pages formatting codes
For a complete list of wikitext codes, see Help:Wikitext. For information on special words, see Help:Magic words. | Shortcuts |
| ||
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 Links to pages that don't exist are automatically red. Red links in articles often help by showing desired redirects or notable pages. |
|
|
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"></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}} |
Hello World! Hello again! References:
|
Template:Citation needed one of many cleanup templates |
|
This statement is true. |
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 | ] 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:Misplaced Pages 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 2Level 3Level 4Level 5Level 6 |
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)
|
Quick templates | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See also
Note: You can use the sandbox to experiment with page editing. |
- For a full list of editing commands, see Help:Wikitext
- For including parser functions, variables and behavior switches, see Help:Magic words
- For a guide to displaying mathematical equations and formulas, see Help:Displaying a formula
- For a guide to editing, see Misplaced Pages:Contributing to Misplaced Pages
- For an overview of commonly used style guidelines, see Misplaced Pages:Simplified Manual of Style
- For a page on how to use Misplaced Pages in bite-sized morsels, see Misplaced Pages:Tips
- For advice on writing style and formatting in a bullet-point format, see Misplaced Pages:Styletips
- For summaries of some Misplaced Pages protocols and conventions, see Misplaced Pages:Dos and don'ts
- If you don't want to use wikitext markup, try Misplaced Pages:VisualEditor instead
- To ask a question, see Misplaced Pages:Questions to locate the appropriate venue(s)
Find this page confusing? Just use this link to ask for help on your talk page; a volunteer will visit you there shortly! Categories: