Difference between revisions of "Help:Formatting"

From Kumu Wiki - TRU
Jump to navigation Jump to search
(Created page with "__NOEDITSECTION__{{Help Nav}}You can format your text using the formatting toolbar or wiki markup. Wiki markup can be thought of as a simplified ve...")
 
Line 3: Line 3:
 
== Text Formatting ==
 
== Text Formatting ==
  
{{Help:Formatting/Text_Formatting}}
+
{| class="wikitable" width="80%"
 +
! Description !! You type !! You get
 +
|-
 +
! colspan="3" style="background:#ABE" | character (inline) formatting – ''applies anywhere''
 +
|-
 +
|Italic text
 +
| <code><nowiki>''italic''</nowiki></code>
 +
|''italic''
 +
|-
 +
| Bold text
 +
| <code><nowiki>'''bold'''</nowiki></code>
 +
|'''bold'''
 +
|-
 +
| Bold and italic
 +
| <code><nowiki>'''''bold & italic'''''</nowiki></code>
 +
|'''''bold & italic'''''
 +
|-
 +
|Ignore wiki markup
 +
| <code><nowiki><nowiki>no ''markup''&lt;/nowiki></nowiki></code>
 +
|<nowiki>no ''markup''</nowiki>
 +
|-
 +
! colspan="3" style="background:#ABE" | section formatting – ''only at the beginning of the line''
 +
|-
 +
|Preformatted text
 +
|
 +
<pre>
 +
preformatted text is done with
 +
a '''space''' at the
 +
''beginning'' of the line
 +
</pre>
 +
This way of preformatting only applies to section formatting, and character formatting markups are still effective.
 +
|
 +
preformatted text is done with
 +
a '''space''' at the
 +
''beginning'' of the line
 +
|}
 +
 
  
 
==Organizing==
 
==Organizing==
 
===Headers & Lines===
 
===Headers & Lines===
  
{{Help:Formatting/Text_Formatting/Headers_and_Lines}}
+
{| class="wikitable" width="80%"
 +
! Description !! You type !! You get
 +
|-
 +
! colspan="3" style="background:#ABE" | section formatting – ''only at the beginning of the line (with no leading spaces)''
 +
|-
 +
|Headings of different levels
 +
| <pre>=level 1=
 +
==level 2==
 +
===level 3===
 +
====level 4====
 +
=====level 5=====
 +
======level 6======</pre>
 +
Level 1 is normally set aside for the article title. An article with 4 or more headings automatically creates a [[wikipedia:Wikipedia:Section#Table of contents (TOC)|table of contents]].
 +
 
 +
|<!-- hack to prevent TOC viewing for h1 - h6 elements: their style is hardcopied here -->
 +
<div style="font-size: 188%; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa">Level 1</div>
 +
<div style="font-size: 150%; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa">Level 2</div>
 +
<div style="font-size: 132%; font-weight: bold">Level 3</div><!--
 +
--><b>Level 4</b><!--
 +
--><div style="font-size: 86%; font-weight: bold">Level 5</div><!--
 +
--><b style="font-size: 80%">Level 6</b>
 +
|-
 +
|Horizontal rule
 +
| <code>----</code>
 +
|
 +
----
 +
|}
  
 
===Lists===
 
===Lists===
  
{{Help:Formatting/Text_Formatting/Lists}}
+
{| class="wikitable" width="80%"
 +
! Description !! You type !! You get
 +
|-
 +
! colspan="3" style="background:#ABE" | section formatting – ''only at the beginning of the line (with no leading spaces)''
 +
|-
 +
|Bullet list
 +
|
 +
<pre>
 +
* one
 +
* two
 +
* three
 +
** three point one
 +
** three point two
 +
</pre>
 +
Inserting a blank line will end the first list and start another.
 +
|
 +
* one
 +
* two
 +
* three
 +
** three point one
 +
** three point two
 +
|-
 +
|Numbered list
 +
|
 +
<pre>
 +
# one
 +
# two<br />spanning more lines<br />doesn't break numbering
 +
# three
 +
## three point one
 +
## three point two
 +
</pre>
 +
|
 +
# one
 +
# two<br />spanning more lines<br />doesn't break numbering
 +
# three
 +
## three point one
 +
## three point two
 +
|-
 +
|Definition list
 +
|<pre>
 +
;item 1
 +
: definition 1
 +
;item 2
 +
: definition 2-1
 +
: definition 2-2
 +
</pre>
 +
|
 +
;item 1
 +
: definition 1
 +
;item 2
 +
: definition 2-1
 +
: definition 2-2
 +
|-
 +
| Adopting definition list to indent text
 +
|
 +
<pre>: Single indent
 +
:: Double indent
 +
::::: Multiple indent</pre>
 +
This workaround may be controversial from the viewpoint of accessibility.
 +
|
 +
: Single indent
 +
:: Double indent
 +
::::: Multiple indent
 +
|-
 +
| Mixture of different types of list
 +
|
 +
<pre>
 +
# one
 +
# two
 +
#* two point one
 +
#* two point two
 +
# three
 +
#; three item one
 +
#: three def one
 +
# four
 +
#: four def one
 +
#: this rather looks like the continuation of # four
 +
#: and thus often used instead of <br />
 +
# five
 +
## five sub 1
 +
### five sub 1 sub 1
 +
## five sub 2
 +
 
 +
;item 1
 +
:* definition 1-1
 +
:* definition 1-2
 +
:
 +
;item 2
 +
:# definition 2-1
 +
:# definition 2-2
 +
</pre>
 +
The usage of <code>#:</code> and <code>*:</code> for breaking a line within an item may also be controversial.
 +
|
 +
# one
 +
# two
 +
#* two point one
 +
#* two point two
 +
# three
 +
#; three item one
 +
#: three def one
 +
# four
 +
#: four def one
 +
#: this rather looks like the continuation of <code># four</code>
 +
#: often used instead of <code>&lt;br /></code>
 +
# five
 +
## five sub 1
 +
### five sub 1 sub 1
 +
## five sub 2
 +
;item 1
 +
:* definition 1-1
 +
:* definition 1-2
 +
:
 +
;item 2
 +
:# definition 2-1
 +
:# definition 2-2
 +
|}
 +
 
 +
For even more on list, check out [http://en.wikipedia.org/wiki/Help:List Wikipedia's List Help article].
 +
 
  
 
===Signatures===
 
===Signatures===

Revision as of 12:30, 13 January 2014

Info icon 002KUMU Help

Introduction
Create a New Page
Editing a Page
Formatting Text

TRU Wiki Organization
TRU Wiki Guidelines
Using Categories

Frequently Asked Questions
Adding Pictures
Renaming a Page
Adding Links
Creating Course Pages
Adding Footnotes
Editing Your User Page
Embedding Social Media Apps
Creating a Book
All Help Pages

Contact us
Community Policies
Explore the Wiki

You can format your text using the formatting toolbar or wiki markup. Wiki markup can be thought of as a simplified version of html and it consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki. For example, to format a word in italic, you include it in two single quotes like ''this''.

Text Formatting

Description You type You get
character (inline) formatting – applies anywhere
Italic text ''italic'' italic
Bold text '''bold''' bold
Bold and italic '''''bold & italic''''' bold & italic
Ignore wiki markup <nowiki>no ''markup''</nowiki> no ''markup''
section formatting – only at the beginning of the line
Preformatted text
 preformatted text is done with
 a '''space''' at the 
 ''beginning'' of the line

This way of preformatting only applies to section formatting, and character formatting markups are still effective.

preformatted text is done with
a space at the 
beginning of the line


Organizing

Headers & Lines

Description You type You get
section formatting – only at the beginning of the line (with no leading spaces)
Headings of different levels
=level 1=
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======

Level 1 is normally set aside for the article title. An article with 4 or more headings automatically creates a table of contents.

Level 1
Level 2
Level 3
Level 4
Level 5
Level 6
Horizontal rule ----

Lists

Description You type You get
section formatting – only at the beginning of the line (with no leading spaces)
Bullet list
* one
* two
* three
** three point one
** three point two

Inserting a blank line will end the first list and start another.

  • one
  • two
  • three
    • three point one
    • three point two
Numbered list
# one
# two<br />spanning more lines<br />doesn't break numbering
# three
## three point one
## three point two
  1. one
  2. two
    spanning more lines
    doesn't break numbering
  3. three
    1. three point one
    2. three point two
Definition list
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
item 1
definition 1
item 2
definition 2-1
definition 2-2
Adopting definition list to indent text
: Single indent
:: Double indent
::::: Multiple indent

This workaround may be controversial from the viewpoint of accessibility.

Single indent
Double indent
Multiple indent
Mixture of different types of list
# one
# two
#* two point one
#* two point two
# three
#; three item one
#: three def one
# four
#: four def one
#: this rather looks like the continuation of # four
#: and thus often used instead of <br />
# five
## five sub 1
### five sub 1 sub 1
## five sub 2

;item 1
:* definition 1-1
:* definition 1-2
:
;item 2
:# definition 2-1
:# definition 2-2

The usage of #: and *: for breaking a line within an item may also be controversial.

  1. one
  2. two
    • two point one
    • two point two
  3. three
    three item one
    three def one
  4. four
    four def one
    this rather looks like the continuation of # four
    often used instead of <br />
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2
item 1
  • definition 1-1
  • definition 1-2
item 2
  1. definition 2-1
  2. definition 2-2

For even more on list, check out Wikipedia's List Help article.


Signatures

Help:Formatting/Text Formatting/Signatures

Links

  • Please see Help:Links for detailed information on creating hyperlinks

Paragraphs

Help:Formatting/Text Formatting/Paragraphs

HTML Formatting

Help:Formatting/HTML Formatting

Mathematical formulas

Help:Formatting/Mathematical Formulas

Footnotes

Help:Formatting/Footnotes


See Also