Template:Style

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Style general[edit source]

Use empty lines to separate paragraphs.[edit source]

When writing multiple paragraphs, separate them by using a blank line between each paragraph. Otherwise, the paragraphs might not appear separate when you preview or save the page.

What you type What appears
A paragraph contains one or more sentences.

A new paragraph starts here. You can also use '''bold''' and ''italic'' in paragraphs.

A paragraph contains one or more sentences.

A new paragraph starts here. You can also use bold and italic in paragraphs.

Avoid accidental links.[edit source]

Do not do this!

Putting square [[bracket]]s around any [[word]] that [[you]] want is a bad idea. If this [[wiki]] was an [[encyclopedia]] or [[dictionary]], then you would make [[accidental link]]s, but at this wiki, you would only make links to pages that most likely should not be created.

You can link arbitrary links to Wikipedia, Wiktionary, or some other wiki, by using the [[wiki:name of page|]] syntax. Look at our interwiki map, or use the shortcuts "w:" and "wikt:" for Wikipedia or Wiktionary.

What you type What appears
You can put [[wikt:bracket|]]s around any [[wikt:word|]] that [[wikt:you|]] want if you link to Wiktionary.

If you write [[w:wiki]], the "w:" shows. Use a pipe, like [[w:wiki|]] or [[w:wiki|wiki]].

Read more about [[Meatball:AccidentalLinking|]] or [[MetaWikipedia:Interwiki map|our interwiki map]]. Note that if you know where an existing page is, such as [[astronomy]] or [[Wikijunior South America]], then you can link to it.

You can put brackets around any word that you want if you link to Wiktionary.

If you write w:wiki, the "w:" shows. Use a pipe, like wiki or wiki.

Read more about AccidentalLinking or our interwiki map. Note that if you know where an existing page is, such as astronomy or Wikijunior South America, then you can link to it.

There is advanced wiki markup for lists and indentations.[edit source]

If you start a line with an asterisk *, it makes a bulleted list. The pound sign # makes a numbered list, while the colon : simply indents.

What you type What appears
Learn about wiki science
: You can indent an entire paragraph with the colon. Your paragraph can also include URLs like http://www.mediawiki.org and numbered links like [http://www.mediawiki.org].</nowiki><br />
:: To make a horizontal rule, use "----".

----
A bullet list of external links
* [http://www.mediawiki.org MediaWiki web site]
* [http://www.gutenberg.org/extext/17405 Gutenberg Etext #17405]

----
A numbered list of Wikipedia links
# [[w:encyclopedia|]]
# [[w:dictionary|]]

Learn about wiki science

You can indent an entire paragraph with the colon. Your paragraph can also include URLs like http://www.mediawiki.org and numbered links like [1].
To make a horizontal rule, use "----".

A bullet list of external links


A numbered list of Wikipedia links

  1. encyclopedia
  2. dictionary

HTML and CSS are available.[edit source]

You do not need HTML or CSS skills to edit this wiki, but if you have such skills, you can use them if you want.

What you type What appears
If you know "HTML"<br />and "CSS", then <span style="background-color: yellow;"> you can use them</span>.

If you know "HTML"
and "CSS", then you can use them.