Help:Editing: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 19: | Line 19: | ||
*[[wikipedia:Wikipedia:User_Page_Design_Center|Wikipedia:User_Page_Design_Center]] |
*[[wikipedia:Wikipedia:User_Page_Design_Center|Wikipedia:User_Page_Design_Center]] |
||
**[[wikipedia:Wikipedia:User_Page_Design_Center/Style|Wikipedia:User_Page_Design_Center/Style]] |
**[[wikipedia:Wikipedia:User_Page_Design_Center/Style|Wikipedia:User_Page_Design_Center/Style]] |
||
== Hint and Tips == |
|||
{| {{Prettytable}} |
|||
|- |
|||
|Width="50%"|Use <tt><nowiki><div style="padding-left:...;"></nowiki></tt> to indend easily a '''pre''', '''source''' or '''blockquote''' block: |
|||
<source lang="html4strict"> |
|||
* Look at my indented block: |
|||
<div style="padding-left:2em;"><pre> |
|||
Some PRE text |
|||
... some more ... |
|||
Let's finish here |
|||
</pre></div> |
|||
</source> |
|||
|Width="50%"| |
|||
* Look at my indented block: |
|||
<div style="padding-left:2em;"><pre> |
|||
Some PRE text |
|||
... some more ... |
|||
Let's finish here |
|||
</pre></div> |
|||
|} |
|||
== Frequently Used == |
== Frequently Used == |
Revision as of 10:42, 18 November 2008
External Links
MediaWiki
MediaWiki - Meta
- Help Contents
- Editing
- Advanced editing | Editing FAQ | Edit toolbar | Export | Import | Shortcuts
- Style & formatting
- Wikitext examples | Reference card | HTML in wikitext | List | Table | Sorting | CSS
From Wikipedia
Hint and Tips
Use <div style="padding-left:...;"> to indend easily a pre, source or blockquote block:
* Look at my indented block:
<div style="padding-left:2em;"><pre>
Some PRE text
... some more ...
Let's finish here
</pre></div>
|
Some PRE text ... some more ... Let's finish here |
Frequently Used
Description | You type | You get |
anywhere | ||
Arrows entities |
⇒ ⇐ ⇓ ⇑ ⇔ → ↓ ↑ ← ↔ |
⇒ ⇐ ⇓ ⇑ ⇔ → ↓ ↑ ← ↔ |
only at the beginning of the line | ||
Definition list |
;Definition |
|
HTML Tags
Description | You type | You get |
Font color | You can use <font color="red">colors</font> | You can use colors |
Tables
Basic syntax for table is
{| [opt-table-attr] |- [opt-line-attr] |[opt-cell-attr |]Orange |[opt-cell-attr |]Apple |- [opt-line-attr |[opt-cell-attr |] |[opt-cell-attr |]Pie |- [opt-line-attr |[opt-cell-attr |]Butter |[opt-cell-attr]| Ice cream |}
Table can be easily formatted using templates like:
{| {{Prettytable}} |- |{{Hl2}}|First |Second |- |Third |{{Hl2}}|Fourth |} |
| ||||
Or better yet, using CSS (eg. see MediaWiki:Common.css) class wikitable
{| class="wikitable" |- !First |Second |- |Third !Fourth |} |
|