Přehled formátování: Porovnání verzí

Z Nápověda KOS
Skočit na navigaci Skočit na vyhledávání
(New page: == Formátování textu == {| align="center" border="1" cellpadding="20" cellspacing="0" {{Prettytable}} |- | |'''Description''' | |'''You type''' | |'''You get''' |- | colspan="3" alig...)
 
Řádek 1: Řádek 1:
 
== Formátování textu ==
 
== Formátování textu ==
  
{| align="center"  border="1" cellpadding="20" cellspacing="0" {{Prettytable}}
+
{| align="center"  border="1" cellpadding="20" cellspacing="0"
 
|-
 
|-
| |'''Description'''
+
| |'''Popis'''
| |'''You type'''
+
| |'''Napíšeš'''
| |'''You get'''
+
| |'''Dostaneš'''
 
|-
 
|-
 
| colspan="3" align="center" | ''applies anywhere''
 
| colspan="3" align="center" | ''applies anywhere''
Řádek 108: Řádek 108:
  
  
== Paragraphs ==
+
== Odstavce ==
  
Mediawiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a newline with the HTML tag <tt><nowiki><br&nbsp;/></nowiki></tt>.
+
Mediawiki ignoruje normální konce řádků. Pro začátek nového odstavce vynechejte prázdný řádek ve zdrojovém textu. Nový řádek také můžete začít pomocí HTML tagu <tt><nowiki><br&nbsp;/></nowiki></tt>.
  
 
== HTML ==
 
== HTML ==
  
Some HTML-Tags are allowed in MediaWiki, for example <tt><nowiki><code></nowiki></tt>, <tt><nowiki><div></nowiki></tt>, <tt><nowiki><span></nowiki></tt> and <tt><nowiki><font></nowiki></tt>.
+
V MediaWiki jsou dovoleny některé HTML tagy. Např.:<tt><nowiki><code></nowiki></tt>, <tt><nowiki><div></nowiki></tt>, <tt><nowiki><span></nowiki></tt> and <tt><nowiki><font></nowiki></tt>.
 
 
  
 
== Odkazy ==
 
== Odkazy ==
{| {{Prettytable}}
+
{|align="center"  border="1" cellpadding="20" cellspacing="0"
 
|-
 
|-
|{{Hl3}}|'''Description'''
+
| |'''Popis'''
|{{Hl3}}|'''You type'''
+
| |'''Napíšeš'''
|{{Hl3}}|'''You get'''
+
| |'''Dostaneš'''
 
|-
 
|-
 
|Internal link
 
|Internal link
Řádek 176: Řádek 175:
 
|}
 
|}
  
== External links ==
+
== Tabulky ==
{{meta|Help:Link}}
+
 
 +
====align="right" border="1"====
 +
You can put attributes on individual '''cells.''' Numbers for example may look better aligned right
 +
{| width="100%"
 +
|width="50%"|
 +
{| border="1"
 +
|Orange
 +
|Apple
 +
|align="right"|12,333.00
 +
|-
 +
|Bread
 +
|Pie
 +
|align="right"|500.00
 +
|-
 +
|Butter
 +
|Ice cream
 +
|align="right"|1.00
 +
|}
 +
|width="50%"|
 +
<pre>
 +
{| border="1"
 +
|Orange
 +
|Apple
 +
|align="right"|12,333.00
 +
|-
 +
|Bread
 +
|Pie
 +
|align="right"|500.00
 +
|-
 +
|Butter
 +
|Ice cream
 +
|align="right"|1.00
 +
|}
 +
</pre>
 +
|}
 +
 
 +
 
 +
You can put attributes on individual '''rows,''' too.
 +
{| width="100%"
 +
|width="50%"|
 +
{| border="1"
 +
|Orange
 +
|Apple
 +
|align="right"|12,333.00
 +
|-
 +
|Bread
 +
|Pie
 +
|align="right"|500.00
 +
|- style="font-style:italic;color:green;"
 +
|Butter
 +
|Ice cream
 +
|align="right"|1.00
 +
|}
 +
|width="50%"|
 +
<pre>
 +
{| border="1"
 +
|Orange
 +
|Apple
 +
|align="right"|12,333.00
 +
|-
 +
|Bread
 +
|Pie
 +
|align="right"|500.00
 +
|- style="font-style:italic;color:green;"
 +
|Butter
 +
|Ice cream
 +
|align="right"|1.00
 +
|}
 +
</pre>
 +
|}
 +
 
 +
====cellspacing="0" border="1"====
 +
{| width="100%"
 +
|width="50%"|
 +
{| cellspacing="0" border="1"
 +
|Orange
 +
|Apple
 +
|-
 +
|Bread
 +
|Pie
 +
|-
 +
|Butter
 +
|Ice cream
 +
|}
 +
|width="50%"|
 +
<pre>
 +
{| cellspacing="0" border="1"
 +
|Orange
 +
|Apple
 +
|-
 +
|Bread
 +
|Pie
 +
|-
 +
|Butter
 +
|Ice cream
 +
|}
 +
</pre>
 +
|}
 +
====cellpadding="20" cellspacing="0" border="1"====
 +
{| width="100%"
 +
|width="50%"|
 +
{| cellpadding="20" cellspacing="0" border="1"
 +
|Orange
 +
|Apple
 +
|-
 +
|Bread
 +
|Pie
 +
|-
 +
|Butter
 +
|Ice cream
 +
|}
 +
|width="50%"|
 +
<pre>
 +
{| cellpadding="20" cellspacing="0" border="1"
 +
|Orange
 +
|Apple
 +
|-
 +
|Bread
 +
|Pie
 +
|-
 +
|Butter
 +
|Ice cream
 +
|}
 +
</pre>
 +
|}
 +
 
 +
===With HTML attributes and CSS styles===
 +
CSS style attributes can be added with or without other HTML attributes
 +
====style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"====
 +
{| width="100%"
 +
|width="50%"|
 +
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
 +
|Orange
 +
|Apple
 +
|-
 +
|Bread
 +
|Pie
 +
|-
 +
|Butter
 +
|Ice cream
 +
|}
 +
|width="50%"|
 +
<pre>
 +
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
 +
|Orange
 +
|Apple
 +
|-
 +
|Bread
 +
|Pie
 +
|-
 +
|Butter
 +
|Ice cream
 +
|}
 +
</pre>
 +
|}
 +
 
 +
 
  
 
[[Category:Nápověda]]
 
[[Category:Nápověda]]

Verze z 19. 3. 2007, 13:09

Formátování textu

Popis Napíšeš Dostaneš
applies anywhere
Italic text ''italic'' italic
Bold text '''bold''' bold
Bold and italic '''''bold & italic''''' bold & italic
Escape wiki markup <nowiki>no ''markup''</nowiki> no ''markup''
only at the beginning of the line
Headings of

different sizes

==level 1==
===level 2===
====level 3====
=====level 4=====

Level 1

Level 2

Level 3

Level 4
Horizontal rule

----


Bullet list

* one
* two
* three
** three and one-third
** three and two-thirds

  • one
  • two
  • three
    • three and one-third
    • three and two-thirds
Numbered list

# one
# two
# three
## three point one
## three point two

  1. one
  2. two
  3. three
    1. three point one
    2. three point two
Mixture of bulleted
and numbered lists

# one
# two
#* two point one
#* two point two

  1. one
  2. two
    • two point one
    • two point two
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Preformatted text

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

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


Odstavce

Mediawiki ignoruje normální konce řádků. Pro začátek nového odstavce vynechejte prázdný řádek ve zdrojovém textu. Nový řádek také můžete začít pomocí HTML tagu <br />.

HTML

V MediaWiki jsou dovoleny některé HTML tagy. Např.:<code>, <div>, <span> and <font>.

Odkazy

Popis Napíšeš Dostaneš
Internal link [[Main Page]] Main Page
Piped link [[Main Page|different text]] different text
Anchor link [[#External links|Anchor link]] Anchor link
External link http://mediawiki.org http://mediawiki.org
External link,

different title

[http://mediawiki.org MediaWiki] MediaWiki
External link,

unnamed

[http://mediawiki.org] [1]
External link,

same host unnamed

[http://{{SERVERNAME}}/pagename] [2]
Interwiki link [[Wikipedia:MediaWiki]] Wikipedia:MediaWiki
mailto mailto:info@example.org mailto:info@example.org
mailto unnamed [mailto:info@example.org] [3]
mailto named [mailto:info@example.org info] info
redirect #REDIRECT [[Main Page]] Main Page

Tabulky

align="right" border="1"

You can put attributes on individual cells. Numbers for example may look better aligned right

Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}


You can put attributes on individual rows, too.

Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}

cellspacing="0" border="1"

Orange Apple
Bread Pie
Butter Ice cream
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}

cellpadding="20" cellspacing="0" border="1"

Orange Apple
Bread Pie
Butter Ice cream
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}

With HTML attributes and CSS styles

CSS style attributes can be added with or without other HTML attributes

style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"

Orange Apple
Bread Pie
Butter Ice cream
{| style="color:green;background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}