Help:Editing/layout

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to: navigation, search

Formatting

Basic Typesetting

Single line-breaks are generally ignored, but it's safest to get rid of line-breaks where you don't want them (because sometimes they aren't ignored). Insert a blank line to start a new paragraph, or use the html <br> tag just to go to the next line without a gap.

Just like HTML, multiple spaces are condensed down to a single space.

Font Styles

  • To make bold text, put three single quotes on both sides '''like this'''
  • To make italic text, put two single quotes on both sides ''like this''
  • To underline or strikeout, use the HTML tags: <u>underline</u>, <s>strikeout</s>
  • Different levels of header are created by putting equals signs on both sides of the text, which must be the only thing on the line:
what you type what it looks like
=Level 1 Header=
This isn't used very often
==Level 2 Header==
The most common
===Level 3 Header===
...and so on.
Any sizes smaller than level 4
are kind of hard to tell apart,
except in the table of contents.

Level 1 Header

This isn't used very often

Level 2 Header

The most common

Level 3 Header

...and so on. Any sizes smaller than level 4 are kind of hard to tell apart, except in the table of contents.

Links

  • Internal links are written like this: [[name of article]]
  • External links are written like this: [http://htyp.org/Main_Page text to show]: text to show
  • To be written: how to use interwiki links (interwiki prefix list is here)

Lists

what you type what it looks like
* Bulleted lists start each line with an asterisk
* For HTML people: this is like a <ul> list
** To indent further, repeat the asterisk...
*** ...like this
# Numbered lists begin with an octothorpe
# For HTML people: this is like an <ol> list
## You can also have numbered sub-lists
### ...and sub-sub-lists
## ...without losing the numbering...
# ...of any of the outer lists.
: colon just indents a line...
:: ...without any symbols or anything.

# A line break will restart the numbering

** More than one character of additional indent per line
**** results in repeated bullets
#### or numbers
**** on the same line.

# You can also...
#* ...mix and match; as far as I can tell...
* ...it's the final symbol...
*# ...which determines how the line is formatted.

; also:semicolon boldfaces everything up to the first colon
:: and puts the rest on the next line, indented
; stuff:this line explains about stuff
; things:but this line is about things!
; remember:don't get them confused.
  • Bulleted lists start each line with an asterisk
  • For HTML people: this is like a <ul> list
    • To indent further, repeat the asterisk...
      • ...like this
  1. Numbered lists begin with an octothorpe
  2. For HTML people: this is like an <ol> list
    1. You can also have numbered sub-lists
      1. ...and sub-sub-lists
    2. ...without losing the numbering...
  3. ...of any of the outer lists.
colon just indents a line...
...without any symbols or anything.
  1. A line break will restart the numbering
    • If you add more than one character of indent per line,
        • you get repeated bullets
        1. or numbers
        • on the same line.
  1. You can also...
    • ...mix and match; as far as I can tell...
  • ...it's the final symbol...
    1. ...which determines how the line is formatted.
also
semicolon boldfaces everything up to the first colon, and puts the rest on the next line, indented
stuff
this line explains about stuff
things
but this line is about things!
remember
don't get them confused.