How to Make Your Own Random Generator

Начните с самого начала
                                        

Photobucket is an option, but, like DeviantArt, there isn't a way around that one image per window rule.

The only sites that I can think of where you can use as many images as you want on a single page, without it being a thumbnail nor having it being a still image, are You-Fic.net, but you'd need to upload the images on Photobucket or some other image hosting site with a direct image url first, and Wattpad, which allows you to upload the images straight from your desktop. You-Fic is an awesome site where you can have free range in customization, but you'd have to know an intermediate amount of HTML and CSS, of which I'm not going to explain. I'll explain a micro-bit about it in the second method, but it's definitely not going to be enough on You-Fic.  It's great that Wattpad allows you to easily upload your own images without any fuss, but I'm not too crazy about it's lack of features when it comes to text, especially when I need to explain physical traits that not many people would know of.

Now onto my personal favorite method:

Orteil Dashnet's Random Generators:

For this method, all you need is a word document such as Notepad, Microsoft Word, or LibreOffice. It would also help if you have an account on a website that hosts text files such as Pastebin (http://pastebin.com/) because, while you can make pastes as a guest, once you save it anonymously, you can't edit it. Of course there are other sites you can use, but I personally prefer Pastebin. You also don't have to register at Orteil Dashnet (http://orteil.dashnet.org/randomgen/?do=create), but if you ever want advice, I highly recommend registering so you can ask your questions in the forums.

I always say that simplicity is better, so I haven't explored everything you can do with this method, but I do know enough to help get you started and to give you extra tips (or point out the tips as explained on Orteil's FAQ that I kept missing). That being said, even with these simple tricks, you can be as detailed in your generator as you want without frustrating people that use your generators. Sure, you can't color the background or choose a different font, but I prefer detailed results over aesthetics; however if your aesthetics are strictly black and white with simple HTML tricks to make it look nicer, then you're golden, my friend.

Speaking of HTML, you'll also need to know a little of that, but don't start hyperventilating, because Orteil only accepts a few of the most basic tags, of which, I'll explain. First, on your word document, I should teach you how to format your generator.

At the top of your generator you should have:

$name :
$author :
$description :
$picture :
$amount :
$button :

This is the heading of your random generator where the title, the creator, summary etc. will be. The "$picture :" is purely optional, but if you want to use it, the maximum image dimension is 128x128px and the url used should look something like "http://.../pic.png". The "amount" refers to the default number of results the generator will produce; however, on the site itself, anyone can change the number (although even if you put "100" only up to fifty results will come up). "Button" refers to what the button on the site will say. It automatically says "Push!" but you can make it say anything. There might be a character limit, but I'm not sure because I keep it only one word.

As an example of one of my own generators, this would look like:

$name : Random Character Personality Generator
$author : HatedLove6
$description : This combines a few of my generators that comes up with a basic personality—the Meyer-Briggs personality, Moral Alignment Type, Love Attitude Style, Pearson-Marr archetypes, and Attachment Style.
$amount : 1
$button : Push!

Which you can see how this will look here: http://orteil.dashnet.org/randomgen/?gen=z4JDSGwS

Next, make your categories and lists. The categories are signaled by the dollar sign, just like your headings' name, author, description, picture, amount, and button. In many of my generators, I often abbreviate my categories, but you can do anything, even stick to numbers if you want. Above the amount is "View Source," so go ahead and click on that, and you'll see what the document looks like without it being converted into the generator.

How to Make Your Own Random GeneratorМесто, где живут истории. Откройте их для себя