Text
- See WikiMedia Help:Wikitext
Effect |
Result |
Typed
|
italics |
some italic text |
some ''italic'' text
|
bold |
some bold text |
some '''bold''' text
|
bold italics |
some bold & italic text |
some '''''bold & italic''''' text
|
color |
some colored text |
some <font color="red">colored</font> text
|
big |
some big text |
some <big="red">big</big> text
|
small |
some small text |
some <font size="-1">small</font> text
|
another small |
some small text |
some <sub>small</sub> text
|
Tables
- See WikiMedia Help:Table
An example table
First header
|
Second header
|
upper left
|
|
right side
|
lower left
|
lower middle
|
A table in a table
|
|
Two XO logos
|
|
{| border="1" cellpadding="5" cellspacing="0" align="center" style="float:right"
|+'''An [http://meta.wikimedia.org/wiki/Help:Table example table]'''
|-
! style="background:#efefef;" | First header
! colspan="2" style="background:#ffdead;" | Second header
|-
| upper left
|
| rowspan=2 style="border-bottom:3px solid grey;" valign="top" | right side
|-
| style="border-bottom:3px solid grey;" | lower left
| style="border-bottom:3px solid grey;" | lower middle
|-
| colspan="3" align="center" |
{| border="0"
|+''A table in a table''
|-
| align="center" width="150px" | [[Image:Pic Xo.jpg|100px]]
| align="center" width="150px" | [[Image:Pic Xo.jpg]]
|-
| align="center" colspan="2" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;" | Two XO logos
|}
|}
DIVs
- See WikiMedia Help:HTML in wikitext
<div style="margin:2px; border:1px solid orange; background:lightgray; padding:5px; font-size:66%; width:90%; margin-left:auto; margin-right: auto; text-align:center; " >
Some text should figure here....</div>
Some text should figure here....
<div style="margin:5px; border:7px solid orange; background:#fda; padding:11px; font-size:133%; width:60%; margin-left:auto; margin-right: auto; " >
Some other text is here...
</div>
Some other text is here...
Parser functions & others
- see http://meta.wikimedia.org/wiki/Help:Parser_function
- http://meta.wikimedia.org/wiki/ParserFunctions
wiki-text | result | note |
{{ lc:AbCdEf }} |
abcdef |
gives abcdef. |
{{ #language:da }} |
dansk |
gives Dansk |
{{ #expr: (30 + 7) * 7 }} |
259 |
= 259 |
{{ #ifeq: +07 | 007 | 1 | 0 }} |
1 |
gives 1 |
{{ #ifeq: "+07" | "007" | 1 | 0 }} |
0 |
gives 0 |
{{ #if: {{{parameter|}}} | Parameter is defined. | Parameter is undefined, or empty }} |
Parameter is undefined, or empty |
|
{{ #ifexist: Bugs|Foo|RFC 3092 }} |
RFC 3092 |
gives RFC 3092, because Bugs doesn't exist |
{{ #switch: A | a=lower | A=UPPER }} |
UPPER |
gives UPPER |
{{ #time:D, j M Y H:i:s {{#time:+H:i|+0 hours }} }} |
Sun, 22 Dec 2024 17:46:44 +17:46 |
|