Community Projects:WikiAdventure:Content Syntax Description

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

Contents

Generel Syntax Description

Stuff


Page Specific Syntax Description

Game List Page

View -- Edit


Description: This is a list of games available from within WikiAdventure.


Syntax:

'''<Games>'''

GAMES_DATA

'''</Games>'''


Games

Description: When you add your game to the list, it will be selectable from the games list. You should not add your game to the list until you are satisfied with the game and want everybody else to be able to play it. Until then you can run your game using the command line argument.


Syntax:

* [[GAME_PAGE|GAME_NAME]]<br>GAME_DESCRIPTION

GAME_PAGE is the Wiki link to the game.
GAME_NAME is the name of the game.
GAME_DESCRIPTION is a short description of the game.


Remarks: The GAME_DESCRIPTION text must be kept short and without new line symbols. Please add the game in relation to the existing sorted alphabetically.


Example:

GAME_PAGE        = Community_Projects:WikiAdventure:Games:Test Game
GAME_NAME        = The Testing Game
GAME_DESCRIPTION = This is a test game.
* [[Community_Projects:WikiAdventure:Games:Test Game|The Testing Game]]<br>This is a test game.


Example Display:



Game Page

Stuff

Game

Stuff

Fonts

Stuff

Images

Stuff

Locations

Stuff


Location Page

Stuff

Location

Stuff

Items

Stuff

Dialogs

Stuff


Guidelines

Stuff



Below is outlined the syntax for creating dialogs. Warning: This page is out of date, and most of the information on it is now invalid.


Syntax description for dialog blocks (most of this is for parsing purposes, but some is just cosmetric):

  • Dialog block
    • Each dialog block must start with the words "(start dialog)" and end with the words "(end dialog)", both in bold. These must not be part of the list.
  • Lists
    • Lists indenting must not be incremented more than one in relation to the previous.
  • Dialog text
    • Dialog text must not include "<br>" or "\n"-tag.
    • Dialog text must not include the words "(start dialog)" or "(end dialog)".
  • Scripts
    • Scripts must be written after the dialog text.
    • Each script must be have a "<br>"-tag before the script tags.
    • Scripts can span multiple lines by using the "<br>"-tag inside the script tags.
    • Scripts must be inclosed in script tags composed by a start and an end tag. These are "<SCRIPT_NAME>" and "</SCRIPT_NAME>", respectively.
    • Scripts are not checked for validity, you have to make sure the syntax is correct.


Back to the main WikiAdventure page