User:Eitch/Wikitext
From Wikipedia, the free encyclopedia
Contents |
[edit] Tables
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
| Column heading 1 | Column heading 2 | Column heading 3 |
|---|---|---|
| Row heading 1 | Cell 2 | Cell 3 |
| Row heading A | Cell B | Cell C |
[edit] Boxes
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
[edit] Images
[edit] References
In the text: for websites
<ref>
{{cite web
| last =
| first =
| authorlink =
| coauthors =
| year =
| url =
| title =
| format =
| work =
| publisher =
| accessdate =
| accessyear =
}}
</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
[edit] Userboxes
These I lifted from Wikipedia:Userboxes:
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.

