Editing
Wiki RPG: Markup
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{| border="1" cellspacing="0" | '''Type of Page''' || '''What you type''' || '''What you see in the Wiki''' || '''What happens in the game''' |- | Normal || <pre>'''print 2 + 3'''</pre> || '''print 2 + 3''' || <u>displays</u>: 5 |- | Normal || <pre>'''print 2d6'''</pre> || '''print 2d6''' || <u>displays</u>: A random number generated by rolling two six-sided dice and adding the results (i.e. it will be between 2 and 12). |- | Normal || <pre>'''print name'''</pre> || '''print name''' || <u>displays:</u> the value of the variable ''name'' |- | Normal || <pre>'''input name'''</pre> || '''input name''' || <u>displays:</u> a textbox <br /> => What the player typed will be stored in the variable ''name'' |- | Normal || <pre>'''select race from ['human', 'elf', 'dwarf']'''</pre> || '''select race from ['human', 'elf', 'dwarf']''' || <u>displays:</u> a drop down selection with ''human'', ''elf'' and ''dwarf'' <br /> => What the player selected will be stored in the variable ''race'' |- | Normal || <pre>'''set gold = 10'''</pre> || '''set gold = 10''' || sets the variable ''gold'' to the value ''10'' <br /> <u>displays:</u> ''nothing'' |- | Normal || <pre>[[Wiki RPG: Foo Game: Room with Image|Room with Image]]</pre> || [[Wiki RPG: Foo Game: Room with Image|Room with Image]] || The player character goes to the ''Room with Image'' <br /> <u>displays:</u> [[Wiki RPG: Foo Game: Room with Image|Room with Image]] |- | Normal || <pre>'''no template'''</pre> || '''no template''' || this page will ''not'' show a template page at the end <br /> <u>displays:</u> ''nothing'' |- | Template || <pre>'''template'''</pre> || '''template''' || Identifies this page as a ''template'' page ('''template''' must be the first text of the page) <br /> <u>displays:</u> ''nothing'' (but the template page itself will be shown on every ''normal'' or ''dialog'' page that has no ''no template'') |- | Template || <pre>'''print name'''</pre> || '''print name''' || <u>displays:</u> the value of the variable ''name'' |- | Dialog || <pre>'''dialog'''</pre> || '''dialog''' || Identifies this page as a ''NPC'' or ''dialog'' page ('''dialog''' must be the first text of the page) <br /> <u>displays:</u> ''nothing'' |- | Dialog || <pre>blah blah ''answer to blah blah''</pre> || blah blah ''answer to blah blah'' || <u>displays:</u> A link where the player can choose to say 'blah blah' - to this the NPC will respond with 'answer to blah blah' |- | Dialog || <pre>'''end topic'''</pre> || '''end topic''' || If the player chooses to say a line with ''end topic'', the current state of the dialog will move one level up in the dialog tree |- | Dialog || <pre>'''end dialog'''</pre> || '''end dialog''' || If the player chooses to say a line with ''end dialog'', the dialog will stop immediately |- | Dialog ||<pre>'''if knows_problem == "yes" foo ''bar'' '''</pre> || '''if knows_problem == "yes"''' foo ''bar'' || The player can say 'foo' only if the variable ''knows_problem'' is equal to ''"yes"'' |- | Dialog || <pre>'''set gold = 10'''</pre> || '''set gold = 10''' || sets the variable ''gold'' to the value ''10'' |- | Item || <pre>'''item'''</pre> || '''item''' || Identifies this page as an ''item'' page ('''item''' must be the first text of the page) <br /> <u>displays:</u> ''nothing'' |- | Item || <pre>; examine : This book looks nice</pre> || <dl><dt> examine </dt><dd>This book looks nice</dd></dl> || ''examine'' is the action that will be called by default when the player is on a normal page and clicks on a link to an item. <br /> <u>displays:</u> A popup window with 'This book looks nice' |- | Item || <pre>; read : Once upon a time...</pre> || <dl><dt> read </dt><dd>Once upon a time...</dd></dl> || ''read'' will appear as one possible action in the game menu. If this action is performed on the book, then: <br /> <u>displays:</u> A popup window with 'Once upon a time...' |- | Item || <pre>; use with [[Wiki RPG: Fire|fire]] : Oops!</pre> || <dl><dt> use with [[Wiki RPG: Fire|fire]] </dt><dd>Oops!</dd></dl> || If the action ''use book with fire'' is performed, then: <u>displays:</u> A popup window with 'Oops! (not available yet)' |} Back to [[Wiki RPG]].
Summary:
Please note that all contributions to RPGnet may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RPGnet:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
RPGnet
Main Page
Major Projects
Categories
Recent changes
Random page
Help
Tools
What links here
Related changes
Special pages
Page information