Jump to content

User:Eitch/Wikitext

From Wikipedia, the free encyclopedia

Tables

[edit]

This

{| border="0"
|+ The table's caption
! Column heading 1 !! Column heading 2 !! Column heading 3
|-
! Row heading 1
| Cell 2 || Cell 3
|-
! Row heading A
|Cell B ||Cell C
|}

will look like this

The table's caption
Column heading 1 Column heading 2 Column heading 3
Row heading 1 Cell 2 Cell 3
Row heading A Cell B Cell C


Boxes

[edit]

This

<blockquote style="border: 1px solid blue; padding: 1em;">
text in the box
<pre>text in the inner box</pre>

will look like this

text in the box

text in the inner box

Images

[edit]

References

[edit]

In the text: for websites

<ref>
{{cite web
| last = 
| first = 
| authorlink = 
| coauthors = 
| year = 
| url = 
| title = 
| format = 
| work = 
| publisher = 
| accessdate = 
}}
</ref>

(note that the accessdate and accessyear are automatically turned into intra-wikipedia links, and the title is automatically turned into a link to the url listed - other pieces can be square-bracketted as usual)

for books

<ref>
{{cite book
| author =
| title =
| publisher =
| year =
| id =
}}
</ref>

(here, only the isbn id is automatically a link - anything else must be square-bracketted)

At the end (for example, after a ==References==)

<references/>

As seen here.[1]

References

  1. ^ "Wikipedia". Retrieved April 6, 2006.

Userboxes

[edit]

These I lifted from Wikipedia:Userboxes:

A userbox is a small box that looks like this.
Userboxes can come in many different styles.
Boxes can have one or two sideboxes.

As with the Babel box, there is a box to group userboxes together. Just make a list of userboxes with {{Userboxtop|box-name}} at the top and {{Userboxbottom}} at the bottom.