Difference between revisions of "Help:Markup"

m
Protected "Help:Markup": Guideline/policy page ([Edit=Allow only keepers] (indefinite) [Move=Allow only keepers] (indefinite))
m (Protected "Help:Markup": Guideline/policy page ([Edit=Allow only keepers] (indefinite) [Move=Allow only keepers] (indefinite)))
 
(12 intermediate revisions by 6 users not shown)
{{HelpToC}}
To format pages on Coppermind a basic wiki markup language is used. Below you can find the most common and useful features. For more details, see Wikipedia's Help page on [https://en.m.wikipedia.org/wiki/Help:Wiki_markup Markup].
 
Hello.
How are you?
 
I'm fine.
</pre>
|Hello. How are you?
I'm fine.
|}
 
{| width=100% class=wikitable
|-
| width=50%|This...
|...produces:
|-
|<pre style="white-space:pre-wrap; width:150px">
Hello.
 
How are you?
</pre>
|Hello.
How are you?
|}
 
:: indent twice
 
Note: Use indents when replying to someone on discussion pages. See [[:Help:Discussion]].
etc.
 
Note: When replying to a comment on a article's discussion page, indent one step beyond the previous comment.
 
== Lists ==
* Item 3
</pre>
|}
|* Item 1
* Item 2
** Item 2a
# Item 3
</pre>
|-
|# Item 1
# Item 2
## Item 2a
# Item 3
</pre>
|-
|# Item 1
# Item 2
#* Item 2a
: description 2
</pre>
|
|;Item 1
: description 1a
: description 1b
 
=== Internal Links ===
An '''internal link''', or '''wikilink''', is a direct link to another article on Coppermind. Just use double brackets (<code>[[</code> and <code>]]</code>) around the article name. Remember, ''case matters'' with article titles.
 
;Basic Internal LinkWikilink
: <code><nowiki>[[MistbornAllomancy]]</nowiki></code> produces [[MistbornAllomancy]], which links to the "MistbornAllomancy" article.
 
;Blend Link
 
;Link to pages on other namespaces
: The methods above assume you're linking to simple articles (on the "main" [[:Help:Namespaces|namespace]]). If you want to link to a page on another [[:Help:Getting_Started#Namespaces|namespace]], begin with a colon (<code>:</code>), the name of the namespace, and then another colon.
: <code><nowiki>[[:Help:Contents]]</nowiki></code> produces [[:Help:Contents]], which links to the "Contents" page on the Help namespace.
: <code><nowiki>[[:User:Fbstj|Joe]]</nowiki></code> produces [[:User:Fbstj|Joe]], which links to FBstj's userUser page.
: <code><nowiki>[[:File:Roshar.jpg|Roshar Map]]</nowiki></code> produces [[:File:Roshar.jpg|Roshar Map]], which links to the "Roshar.jpg" File page.
: <code><nowiki>[[:Category:Cosmere]]</nowiki></code> produces [[:Category:Cosmere]], which links to the "Cosmere" Category page.
=== External Links ===
'''External links''' point to somewhere outside of Coppermind.
 
;Bare External Link
: Simply type the URL for a bare external link. This method should be avoided.
: <code><nowiki>http://www.google.com</nowiki></code> produces http://www.google.com.
 
;Unnamed External Link
: Follow the URL with a space and some other text to rename the link. ''This is the preferred method.''
: <code><nowiki>[http://www.google.com Google]</nowiki></code> produces [http://www.google.com Google].
 
;Wikipedia Link
: Use double bracket followed by the article name, then how you wish for the link to appear.
: <code><nowiki>[[wikipedia:Google|Google]]</nowiki></code> produces [[wikipedia:Google|Google]].
 
;Bare External Link
: Simply type the URL for a bare external link. ''This method should be avoided.''
: <code><nowiki>http://www.google.com</nowiki></code> produces http://www.google.com.
 
== References & Citations ==
== Other Tricks ==
;Username and timestamp
: Use four tildastildes (<code><nowiki>~~~~</nowiki></code>) to automatically leave your username and a timestamp. Use this on article discussion pages.
 
== Ignore Markup ==
;<code>&lt;nowiki&gt;</code> Tag
: Surround the text with <code>&lt;nowiki&gt;</code> and <code>&lt;/nowiki&gt;</code> to ignore markup.
: <nowikicode><nowiki>''<small>''small, italic text''</small>''</nowiki></nowikicode> produces <nowikismall>''<small>small, italic text</small>''</nowiki> instead of ''<small>small, italic text</small>''.
: <code><nowiki><nowiki><small>''small, italic text''</small></nowiki></nowiki></code> produces <nowiki><small>''small, italic text''</small></nowiki>.
 
;<code>&lt;pre&gt;</code> Tag
: It behaves the same as <code>&lt;nowiki&gt;</code>, but also allows mono-spaced font and preserves spacing.
 
 
[[Category: Help|{{PAGENAME}}]]
{{help
|title=New Editor's Guide
|prev=[[Help:Guidelines|Guidelines]]
|this=Markup Basics
|next=[[Help:References|References & Citations]]
}}