You are completely free to copy someone else's code. (providing credit for that code is appreciated)
Using Page Layouts
The easiest way to use the page layouts is to copy the code into a text editor program and edit it there. With the game open in one window and the wiki page layout open in a window next to it, it is easy to flip from one to the other. I prefer to use Notepad.