Вики-Разметка — различия между версиями
| Строка 7: | Строка 7: | ||
|- | |- | ||
|} | |} | ||
| + | |||
| + | |||
| + | {| style="border:none; text-align:left; background:#f0f0f0; font-size: 95%;" | ||
| + | |- | ||
| + | | width="25%" style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''Description''' | ||
| + | | style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''You type''' | ||
| + | | width="25%" style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''You get''' | ||
| + | |- | ||
| + | | colspan="3" style="background: #e4e4e4; padding: 3px 5px; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies anywhere | ||
| + | |- | ||
| + | |Italicise text | ||
| + | | | ||
| + | <tt><nowiki>''italic''</nowiki></tt> | ||
| + | | | ||
| + | ''italic'' | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |Bold text | ||
| + | | | ||
| + | <tt><nowiki>'''bold'''</nowiki></tt> | ||
| + | | | ||
| + | '''bold''' | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |Bold and italic | ||
| + | | | ||
| + | <tt><nowiki>'''''bold & italic'''''</nowiki></tt> | ||
| + | | | ||
| + | '''''bold & italic''''' | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |valign="top"|<br />Internal link<br /> | ||
| + | (within this wiki) | ||
| + | <br /> | ||
| + | <br /> | ||
| + | Internal link<br /> | ||
| + | (to a category) | ||
| + | <br /> | ||
| + | <br /> | ||
| + | Interwiki Link<br /> | ||
| + | (to partner wiki) | ||
| + | |valign="top"| | ||
| + | <tt><nowiki>[[name of page]]</nowiki></tt><br /> | ||
| + | <tt><nowiki>[[name of page|display text]]</nowiki></tt><br /> | ||
| + | <br><tt><nowiki>[[:Category:name of category]]</nowiki></tt><br /> | ||
| + | <br> | ||
| + | <br> | ||
| + | <tt><nowiki>[[w:name of article]]</nowiki></tt><br/> | ||
| + | <tt><nowiki>[[wiki:name of article]]</nowiki></tt><br/> | ||
| + | <tt><nowiki>[[wiki:name of article|display text]]</nowiki></tt> | ||
| + | |valign="top"| | ||
| + | [[name of page]]<br /> | ||
| + | [[name of page|display text]]<br /> | ||
| + | <br> | ||
| + | [[:Category:name of category]] | ||
| + | <br/> | ||
| + | <br/> | ||
| + | <br/> | ||
| + | [[w:name of article]]<br /> | ||
| + | [[wiki:name of article]]<br /> | ||
| + | [[wiki:name of article|display text]]<br /> | ||
| + | |||
| + | |||
| + | |||
| + | '''''Note: '''red links mean''<br>''the page doesn't exist yet'' | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |External link<br /> | ||
| + | (to other websites) | ||
| + | | | ||
| + | <tt><nowiki>[http://www.example.com]</nowiki></tt><br /> | ||
| + | <tt><nowiki>[http://www.example.com display text]</nowiki></tt><br /> | ||
| + | <tt><nowiki>http://www.example.com</nowiki></tt><br /> | ||
| + | <tt><nowiki>[mailto:bob@yahoo.com Bob's email]</nowiki></tt> | ||
| + | | | ||
| + | [http://www.example.com]<br /> | ||
| + | [http://www.example.com display text]<br /> | ||
| + | http://www.example.com<br /> | ||
| + | [mailto:bob@yahoo.com Bob's email] | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |Redirect | ||
| + | | | ||
| + | <tt><nowiki>#redirect [[Target page]]</nowiki></tt> | ||
| + | | | ||
| + | 1. redirect [[Target page]] | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |Signature | ||
| + | | | ||
| + | <tt>~~<nowiki>~</nowiki></tt><br> | ||
| + | <tt>~~<nowiki>~~</nowiki></tt><br> | ||
| + | <tt>~~<nowiki>~</nowiki>~~</tt><br> | ||
| + | | | ||
| + | [[User:J.Doe|J.Doe]]<br> | ||
| + | [[User:J.Doe|J.Doe]] {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<br> | ||
| + | {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<br> | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |Escape wiki markup | ||
| + | | | ||
| + | <tt><nowiki>with ''markup''</nowiki></tt><br /> | ||
| + | <tt><nowiki><nowiki>without ''markup''</nowiki></nowiki></tt> | ||
| + | | | ||
| + | with ''markup''<br /> | ||
| + | <nowiki>without ''markup''</nowiki> | ||
| + | |- | ||
| + | | colspan="3" style="background: #e4e4e4; padding: 3px 5px; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies only at the beginning of the line | ||
| + | |- | ||
| + | |valign="top"|Headings<br /> | ||
| + | of different sizes | ||
| + | | | ||
| + | <tt><nowiki>== level 1 ==</nowiki></tt><br /> | ||
| + | <tt><nowiki>=== level 2 ===</nowiki></tt><br /> | ||
| + | <tt><nowiki>==== level 3 ====</nowiki></tt><br /> | ||
| + | <tt><nowiki>===== level 4 =====</nowiki></tt> | ||
| + | <br><br>'''''Tip:''' put <nowiki>__NOTOC__</nowiki> in an article'' | ||
| + | <br>''to remove its table-of-contents'' | ||
| + | |valign="top"| | ||
| + | |||
| + | == Level 1 == | ||
| + | === Level 2 === | ||
| + | ==== Level 3 ==== | ||
| + | ===== Level 4 ===== | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |valign="top"|Outline Numbered<br>Headings | ||
| + | |valign="top"| | ||
| + | <tt># one</tt><br /> | ||
| + | <tt># two</tt><br /> | ||
| + | <tt>## two point one</tt><br /> | ||
| + | <tt># three</tt> | ||
| + | | | ||
| + | |||
| + | == 1. one == | ||
| + | === 2. two === | ||
| + | ==== 2.1 two point one ==== | ||
| + | === 3. three === | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |valign="top"|Bullet list | ||
| + | | | ||
| + | <tt>* one</tt><br /> | ||
| + | <tt>* two</tt><br /> | ||
| + | <tt>** two point one</tt><br /> | ||
| + | <tt>* three</tt> | ||
| + | | | ||
| + | * one | ||
| + | * two | ||
| + | ** two point one | ||
| + | * three | ||
| + | |- | ||
| + | |valign="top"|Menu | ||
| + | | | ||
| + | <pre style="border:none;background:none;"> | ||
| + | {{#menu: | ||
| + | * one | ||
| + | * two | ||
| + | ** two point one | ||
| + | ** two point two | ||
| + | ** two point three | ||
| + | * three | ||
| + | }} | ||
| + | </pre> | ||
| + | | | ||
| + | {{#menu: | ||
| + | * one | ||
| + | * two | ||
| + | ** two point one | ||
| + | ** two point two | ||
| + | ** two point three | ||
| + | * three | ||
| + | }} | ||
| + | |- | ||
| + | |valign="top"|Tree | ||
| + | | | ||
| + | <pre style="border:none;background:none;"> | ||
| + | {{#tree:root=Example Tree| | ||
| + | * one | ||
| + | * two | ||
| + | ** two point one | ||
| + | ** two point two | ||
| + | ** two point three | ||
| + | * three | ||
| + | }} | ||
| + | </pre> | ||
| + | | | ||
| + | {{#tree:root=Example Tree| | ||
| + | * one | ||
| + | * two | ||
| + | ** two point one | ||
| + | ** two point two | ||
| + | ** two point three | ||
| + | * three | ||
| + | }} | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |valign="top"|Definition list | ||
| + | | | ||
| + | <tt>;Definition</tt><br /> | ||
| + | <tt>:item 1</tt><br /> | ||
| + | <tt>:item 2</tt> | ||
| + | | | ||
| + | ;Definition | ||
| + | :item 1 | ||
| + | :item 2 | ||
| + | |- | ||
| + | |colspan="3" style="border-top:1px solid #d4d4d4;"| | ||
| + | |- | ||
| + | |Thumbnail image | ||
| + | | | ||
| + | <nowiki>[[Image:Udegawa.jpg|thumb|Caption text]]</nowiki> | ||
| + | | | ||
| + | [[Image:Udegawa.jpg|thumb|Caption text]] | ||
| + | |} | ||
| + | [[Category:MediaWiki workshop]] | ||
Версия 17:26, 12 февраля 2015
<br> |
Перевод строки |
| Description | You type | You get |
| Applies anywhere | ||
| Italicise text |
''italic'' |
italic |
| Bold text |
'''bold''' |
bold |
| Bold and italic |
'''''bold & italic''''' |
bold & italic |
Internal link (within this wiki)
|
[[name of page]] |
name of page
Note: red links mean |
| External link (to other websites) |
[http://www.example.com] |
|
| Redirect |
#redirect [[Target page]] |
1. redirect Target page |
| Signature |
~~~ |
|
| Escape wiki markup |
with ''markup'' |
with markup |
| Applies only at the beginning of the line | ||
| Headings of different sizes |
== level 1 == |
СодержаниеLevel 1Level 2Level 3Level 4 |
| Outline Numbered Headings |
# one |
1. one2. two2.1 two point one3. three |
| Bullet list |
* one |
|
| Menu |
{{#menu:
* one
* two
** two point one
** two point two
** two point three
* three
}}
|
{{#menu:
}} |
| Tree |
{{#tree:root=Example Tree|
* one
* two
** two point one
** two point two
** two point three
* three
}}
|
{{#tree:root=Example Tree|
}} |
| Definition list |
;Definition |
|
| Thumbnail image |
[[Image:Udegawa.jpg|thumb|Caption text]] |
Файл:Udegawa.jpg Caption text |