万维语录

主题:Manual of styles for interactive fiction

This is a draft, and describes common practice.

For more information on interactive fiction, see Interactive Fiction at Wikipedia

For an example page, see Frenetic Five.

  • Only output lines (descriptions of rooms, responses to commands, etc.) should be styled normally. If a game uses styles, you should preserve those styles when possible.
  • All lines in a quote should be indented with a leading :. Preserve blank lines by placing a <br/> on its own line (suitably indented).
  • Use [Explanation or context] lines when necessary. This includes quotes that are responses to a command; for example: [In response to a command to open the mailbox]. It is inadvisable to use the actual command from the game, since they may not be understandable to those who have not played the game before; summarise the command instead. You may exercise some variety in the construction of these lines.
  • Separate quotes with <hr width="50%"/>.

The following is the sample transcript from the Interactive Fiction page on Wikipedia, translated to this format:

[The player looks around]
You are in a big room with tall pillars. To your north reside the large doors into Wikiquote.

[Upon the player's attempt to go north]
The doors are locked. Wait, that makes no sense. Wikiquote is for everyone! Something must be done...

[The player searches his possessions]
You are carrying a soda, an umbrella, The Key to All The Information in the Universe, and a little plastic bottle cap.

[Unlocking the door with the key]
The door opens easily and noiselessly, and before you can walk through, there's a mad rush of people who enter the library and begin improving it.

***Your mission is complete!***

Would you like to restore a saved game, restart, or quit?

[The player quits]

本页面最后更新于2020-04-14 17:55,点击更新本页

本站的所有资料包括但不限于文字、图片等全部转载于维基语录(wikiquote.org),遵循 维基百科:CC BY-SA 3.0协议

万维语录为维基百科爱好者建立的公益网站,旨在为中国大陆网民提供优质内容,您还可以直接访问维基语录官方网站


顶部