Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Meta Content Framework
(section)
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!
== MCF format == An MCF file consists of one or more blocks, each corresponding to an entity. A block looks like this:<syntaxhighlight lang="text" line="1"> Node: <identifier> <property>: <value>, <value> </syntaxhighlight>The identifier is a unique identifier for that entity (more on the scope of the identifier below) and is used to refer to that entity. The following lines each specify a property and one or more values, separated by commas. Each value can be a reference to another entity (via its identifier), a string (enclosed by double quotes) or a number. For example:<syntaxhighlight lang="text" line="1"> Node: Test1 typeOf: TestNode child: Test2, Test3 name: "I am a test node" itemCode: 42 Node: Test2 typeOf: TestNode sibling: Test3 name: "I am another test node in a test world" Node: Test3 typeOf: TestNode sibling: Test2 name: "Just another test node in a test world" </syntaxhighlight>NOTE: * The identifier must not include a comma (<code>,</code>) and must not be enclosed within double quotes. * A common parsing failure is due to odd number of unescaped double quotes in text. For instance, <code>"foo bar" baz"</code> needs to be <code>"foo bar\" baz"</code>. * Commas within double quotes are not considered as value separators. * Every entity has at least one property: <code>typeOf</code>.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)