Questions about ranch titles etc are probably better answered in this forum.
There are instructions about code tags in this FAQ and the Ranch Guide tells you how to use tags for different languages, different starting line numbers, etc. Scroll down to the very bottom of the page.
I think you will find about greenhorn, ranch hand, etc here.
If you find any of those things doesn't quite answer your question, please ask again.