User:RJCraig/Useful Code

From Wikipedia, the free encyclopedia

Code for unsigned comments:

{{subst:unsigned2|date|UserNameOrIP}}

User contributions:

[[Special:Contributions/UserNameOrIP|UserNameOrIP]]

Speed tracking a page of one's own for deletion:

{{db-author}}

Vandalism warning:

Thank you for experimenting with Wikipedia. Your test worked, and it has been [[Help:Reverting|reverted]] or removed. Please use [[Wikipedia:Sandbox|the sandbox]] for any other tests you want to do. Take a look at the [[Wikipedia:Welcome, newcomers|welcome page]] if you would like to learn more about contributing to our encyclopedia.<!-- Template:Test (first level warning) --> ~~~~

Reference code:

<ref>AUTHORNAME: "BOOKNAME", page XX. PUBLISHER, YYYY</ref>

Table code:

{| border="1" cellpadding="5" cellspacing="0"
|-
! Column 1 || Column 2 || Column 3
|-
| rowspan="2"| A
| colspan="2" align="center"| B
|-
| C <!-- column 1 occupied by cell A -->
| D 
|-
| E
| rowspan="2" colspan="2" align="center"| F
|- 
| G <!-- column 2+3 occupied by cell F -->
|- 
| colspan="3" align="center"| H
|}
gives:
Column 1 Column 2 Column 3
A B
C D
E F
G
H