Help:Formatting: Difference between revisions
m (update links) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Formatting</h2> |
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Formatting</h2> |
||
|- |
|- |
||
| colspan=3 style="background:#E6F2FF; border-top:2px #a3b1bf solid" | |
| colspan=3 style="background:#E6F2FF; border-top:2px #a3b1bf solid; text-align:center;" | |
||
'''Works anywhere in the text''' |
|||
|- style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;" |
|- 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" width="30%" | Description |
||
Line 14: | Line 14: | ||
|Italics, bold, and both |
|Italics, bold, and both |
||
| |
| |
||
< |
<code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></code> |
||
| |
| |
||
''italics'', '''bold''', and '''''both''''' |
''italics'', '''bold''', and '''''both''''' |
||
Line 22: | Line 22: | ||
|Link to another page |
|Link to another page |
||
| |
| |
||
< |
<code><nowiki>[[Help!]]</nowiki></code><br /> |
||
< |
<code><nowiki>[[Help!]]ing</nowiki></code> |
||
| |
| |
||
[[Help!]]<br /> |
[[Help!]]<br /> |
||
Line 33: | Line 33: | ||
"Pipe" a link to change the link's text |
"Pipe" a link to change the link's text |
||
| |
| |
||
< |
<code><nowiki>[[Help:Spam|Spam]]</nowiki></code> |
||
| |
| |
||
[[Help:Spam|Spam]] |
[[Help:Spam|Spam]] |
||
Line 42: | Line 42: | ||
Link to a section |
Link to a section |
||
| |
| |
||
< |
<code><nowiki>[[Help:Templates#Using a template]]</nowiki></code><br /> |
||
< |
<code><nowiki>[[Help:Templates#Using a template|Using a template]]</nowiki></code> |
||
| |
| |
||
[[Help:Templates#Using a template]]<br /> |
[[Help:Templates#Using a template]]<br /> |
||
Line 52: | Line 52: | ||
|Red link |
|Red link |
||
| |
| |
||
< |
<code><nowiki>[[something missing]]</nowiki></code> |
||
| |
| |
||
[[something missing]] |
[[something missing]] |
||
Line 62: | Line 62: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;"></div> |
<div style="padding: 0.7em .5em; font-size:0.9em;"></div> |
||
| |
| |
||
< |
<code><nowiki>Hello,<ref></nowiki></code>Library of Congress<code><nowiki></ref> World.<ref>http://www.w3.org/</ref></nowiki></code> |
||
<br /><br /> |
<br /><br /> |
||
< |
<code><nowiki> |
||
References: |
References: |
||
<references/></nowiki> |
<references/></nowiki></code> |
||
</tt> |
|||
| |
| |
||
Hello,<ref>Library of Congress</ref> World.<ref>http://www.w3.org/</ref> |
Hello,<ref>Library of Congress</ref> World.<ref>http://www.w3.org/</ref> |
||
Line 81: | Line 79: | ||
|Signature |
|Signature |
||
| |
| |
||
< |
<code><nowiki>~~~~</nowiki></code><br /><br /><span style="font-size:0.9em;">''do not sign in an article, only on talk pages''</span> |
||
| |
| |
||
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) |
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) |
||
Line 89: | Line 87: | ||
|Plain website |
|Plain website |
||
| |
| |
||
< |
<code><nowiki>http://www.wikipedia.org</nowiki></code> |
||
| |
| |
||
http://www.wikipedia.org |
http://www.wikipedia.org |
||
Line 97: | Line 95: | ||
|Link a website |
|Link a website |
||
| |
| |
||
< |
<code><nowiki>[http://www.wikipedia.org]</nowiki></code> |
||
| |
| |
||
[http://www.wikipedia.org] |
[http://www.wikipedia.org] |
||
Line 105: | Line 103: | ||
|Link and name a website |
|Link and name a website |
||
| |
| |
||
< |
<code><nowiki>[http://www.wikipedia.org Wikipedia]</nowiki></code> |
||
| |
| |
||
[http://www.wikipedia.org Wikipedia] |
[http://www.wikipedia.org Wikipedia] |
||
Line 114: | Line 112: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated''</div> |
<div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated''</div> |
||
| |
| |
||
< |
<code><nowiki><s>This topic isn't notable.</s></nowiki></code> |
||
| |
| |
||
<s>This topic isn't notable.</s> |
<s>This topic isn't notable.</s> |
||
Line 123: | Line 121: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''consensus is how things are decided''</div> |
<div style="padding: 0.7em .5em; font-size:0.9em;">''consensus is how things are decided''</div> |
||
| |
| |
||
< |
<code><nowiki><!--This had consensus, discuss at talk page--></nowiki></code> |
||
| |
| |
||
<!--This had consensus, discuss at talk page--> |
<!--This had consensus, discuss at talk page--> |
||
Line 131: | Line 129: | ||
|[[Help:Images|Show an image]] |
|[[Help:Images|Show an image]] |
||
| |
| |
||
< |
<code><nowiki>[[</nowiki></code>File:Wiki.png<code>|thumb|</code>Caption<code><nowiki>]]</nowiki></code> |
||
| |
| |
||
[[File:Wiki.png|thumb|Caption]] |
[[File:Wiki.png|thumb|Caption]] |
||
Line 139: | Line 137: | ||
|[[Help:Templates|Templates]] |
|[[Help:Templates|Templates]] |
||
| |
| |
||
< |
<code><nowiki>The {{main|Home Page}} template adds a link to the Home Page</nowiki></code> |
||
| |
| |
||
{{main|Home Page}} |
{{main|Home Page}} |
||
Line 146: | Line 144: | ||
|- |
|- |
||
|Add a page to a [[Help:Categories|category]] |
|Add a page to a [[Help:Categories|category]] |
||
|< |
|<code><nowiki>[[Category:Category name]]</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 saved''</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 saved''</span> |
||
Line 160: | Line 158: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''redirects must be placed at the start of the first line''</div> |
<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 [[Target page]]</nowiki></code> |
||
| |
| |
||
[[Image:Redirect arrow without text.png|30px|link=]] [[Target page]] |
[[Image:Redirect arrow without text.png|30px|link=]] [[Target page]] |
||
Line 168: | Line 166: | ||
|[[Help:Redirects|Redirect to a section of another page]] |
|[[Help:Redirects|Redirect to a section of another page]] |
||
| |
| |
||
< |
<code><nowiki>#REDIRECT [[</nowiki></code>Target page#anchorName<code><nowiki>]]</nowiki></code> |
||
| |
| |
||
[[Image:Redirect arrow without text.png|30px|link=]] [[Target page#anchorName]] |
[[Image:Redirect arrow without text.png|30px|link=]] [[Target page#anchorName]] |
||
Line 177: | Line 175: | ||
<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> |
<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> |
<span style="font-size:0.9em">''do not use'' =Level 1= ''as it is for page titles''</span> |
||
| |
| |
||
Line 193: | Line 191: | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| |
|colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Nonindexed headers |
|Nonindexed headers |
||
<div style="padding: 0.7em .5em; font-size:0.9em;">''left out of Table of Contents''</div> |
<div style="padding: 0.7em .5em; font-size:0.9em;">''left out of Table of Contents''</div> |
||
| |
| |
||
< |
<code><nowiki>; Header name</nowiki></code><br /> |
||
<div style="font-size:0.9em;">''has a leading semicolon'' ";" ''in front''</div> |
<div style="font-size:0.9em;">''has a leading semicolon'' ";" ''in front''</div> |
||
| |
| |
||
Line 207: | Line 205: | ||
|Bulleted list |
|Bulleted list |
||
| |
| |
||
< |
<code>* One</code><br /> |
||
< |
<code>* Two</code><br /> |
||
< |
<code>** Two point one</code><br /> |
||
< |
<code>* Three</code> |
||
| |
| |
||
* One |
* One |
||
Line 221: | Line 219: | ||
|Numbered list |
|Numbered list |
||
| |
| |
||
< |
<code># One</code><br /> |
||
< |
<code># Two</code><br /> |
||
< |
<code>## Two point one</code><br /> |
||
< |
<code># Three</code> |
||
| |
| |
||
# One |
# One |
||
Line 236: | Line 234: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a talk page, to make it easier to follow conversations''</div> |
<div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a talk page, to make it easier to follow conversations''</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> |
||
| |
| |
||
no indent (normal)<br /> |
no indent (normal)<br /> |
||
Line 246: | Line 244: | ||
:::third indent |
:::third indent |
||
|} |
|} |
||
</div> |
|||
__NOEDITSECTION__ |
__NOEDITSECTION__ |
||
__NOTOC__ |
__NOTOC__ |
||
[[Category:Help|{{PAGENAME}}]] |
[[Category:Help|{{PAGENAME}}]] |
||
[[Category:Pages with comment tags]] |
Latest revision as of 19:07, 19 April 2024
Here you'll learn the basics of article formatting.
Formatting | ||
Works anywhere in the text | ||
Description | You type | You get |
Italics, bold, and both |
|
italics, bold, and both |
Link to another page |
|
|
"Pipe" a link to change the link's text |
|
|
Link to a section |
|
|
Red link |
|
|
References and footnotes
sources in the article will appear where <references/> is put, typically under a level 2 section heading (see below) towards the bottom of the page.
|
|
References:
|
Signature |
|
|
Plain website |
|
|
Link a website |
|
|
Link and name a website |
|
|
Strike your talk page comment
to show your previous comment is outdated
|
|
|
Hide text somewhere for editors
consensus is how things are decided
|
|
|
Show an image |
|
|
Templates |
|
Main article: Home Page
|
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 saved |
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 |
Nonindexed headers
left out of Table of Contents
|
has a leading semicolon ";" in front
|
Header name will not appear in Table of Contents
|
Bulleted list |
|
|
Numbered list |
|
|
Indenting text
this is used when replying on a talk page, to make it easier to follow conversations
|
|
no indent (normal)
|