Difference between revisions of "Help:Editing/layout"
Jump to navigation
Jump to search
(extracted from help:editing) |
(more basic stuff; also, now showing wikicode alongside results) |
||
| Line 1: | Line 1: | ||
==Formatting== | ==Formatting== | ||
===Basic Typesetting=== | ===Basic Typesetting=== | ||
| − | ''to be written'' | + | 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 <nowiki><br></nowiki> 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 <nowiki>'''like this'''</nowiki> | ||
| + | * To make ''italic'' text, put two single quotes on both sides <nowiki>''like this''</nowiki> | ||
| + | * To <u>underline</u> or <s>strikeout</s>, use the HTML tags: <nowiki><u>underline</u>, <s>strikeout</s></nowiki> | ||
| + | * 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 | ||
| + | |- | ||
| + | | valign=top | | ||
| + | =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: '''<nowiki>[[name of article]]</nowiki>''' | ||
| + | * External links are written like this: '''<nowiki>[http://htyp.org/Main_Page text to show]</nowiki>''': [http://htyp.org/Main_Page text to show] | ||
| + | ** ...or this: '''<nowiki>http://htyp.org/Main_Page</nowiki>''': http://htyp.org/Main_Page | ||
| + | ** ...or this: '''<nowiki>[http://htyp.org/Main_Page]</nowiki>''': [http://htyp.org/Main_Page] | ||
| + | * To be written: how to use interwiki links (interwiki prefix list is [[Special:InterWiki|here]]) | ||
===Lists=== | ===Lists=== | ||
| − | + | {| | |
| + | |- | ||
| + | ! what you type || what it looks like | ||
| + | |- | ||
| + | | valign=top |<pre> | ||
| + | * 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. | ||
| + | </pre> | ||
| + | | | ||
* Bulleted lists start each line with an asterisk | * Bulleted lists start each line with an asterisk | ||
* For HTML people: this is like a <ul> list | * For HTML people: this is like a <ul> list | ||
| Line 20: | Line 94: | ||
# A line break will restart the numbering | # A line break will restart the numbering | ||
| − | ** If you | + | ** If you add more than one character of indent per line, |
**** you get repeated bullets | **** you get repeated bullets | ||
#### or numbers | #### or numbers | ||
| Line 34: | Line 108: | ||
; things:but this line is about things! | ; things:but this line is about things! | ||
; remember:don't get them confused. | ; remember:don't get them confused. | ||
| + | |} | ||
Latest revision as of 01:14, 28 March 2009
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 HeaderThis isn't used very often Level 2 HeaderThe 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
- ...or this: http://htyp.org/Main_Page: http://htyp.org/Main_Page
- ...or this: [http://htyp.org/Main_Page]: [1]
- 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. |
|