Wikia

FiM++ Community Wiki

Changes: Format Definition String

Edit

Back to page

(Definition: ...)
(Better intro paragraph wording)
 
Line 1: Line 1:
A '''Format Definition String''', commonly shortened to '''FDS''', is the common way to translate [[Operators|operator]] or statement general formatting schemes.
+
A '''Format Definition String''', commonly shortened to '''FDS''', is the meta-language we use to help define FiM++. It's used both on this wiki and [https://docs.google.com/document/d/1gU-ZROmZu0Xitw_pfC1ktCDvJH5rM85TxxQf5pg_xmg/ the Google Document specification].
   
 
== Definition ==
 
== Definition ==

Latest revision as of 17:36, October 29, 2014

A Format Definition String, commonly shortened to FDS, is the meta-language we use to help define FiM++. It's used both on this wiki and the Google Document specification.

Definition Edit

The simplest part of a FDS is commonly called a phrase.

Phrases can be selected from a list: this behaviour applies when phrases are separated by slashes and put between square brackets (e.g. [phrase 1/phrase 2/...]). The use of an ellipsis (... or ) indicates that this pattern can be repeated indefinitely.

Definitions, though, are more flexible, and can be generalized.

The statement <solidus> represents the forward slash (/), and is used to avoid confusion with the phrase selector separator.

This wiki and FDS Edit

This wiki has a predefined template for code, which visually separates phrases.

It has the form {{tag|<token>|<type>}}.

The template also defines the phrase type type and literal as different.

Around Wikia's network

Random Wiki