Template:Text adventure
Jump to navigation
Jump to search
[edit] []
Template documentation
| This template uses TemplateStyles |
Example
Here is a link to an example text adventure.
Usage
You use it to make text adventure games. Here is a very simple example of what it looks like.
{{text adventure}} <!-- For the WhatLinksHere page -->
{{#switch:{{Get}} <!-- This is **necessary**, otherwise it won't work -->
|0 =
{{text adventure
|title = Example Adventure!
|image = example.png
|text = This is the text that shows up underneath the image.
{{text adventure choice|1|This is a choice. The number represents the "page" you go to.}}
{{text adventure choice|2|This is another choice. Aren't you special.}}
}}
|1 =
{{text adventure
|image = example.png
|text = This is another page. You should've ended up here by clicking one of the choices.
}}
|2 =
{{text adventure
|image = example.png
|text = Aren't you special?
}}
}} <!-- Don't forget to close your tags -->
Images
By default, images will be 640px in width. It is strongly recommended that you use the {{notorphan}} template on the file summary of the images you may use, or else they might get deleted.