Difference between revisions of "Datalinks syntax"
m |
m |
||
Line 1: | Line 1: | ||
− | <poem>Syntax for use in datalinks | + | <poem>Syntax for use in datalinks: |
<nowiki> | <nowiki> | ||
− | + | Lines beginning with “;” are comments in the files and are not displayed. | |
− | ^^ | + | For display text, lines should be 200 characters long or less to avoid being cut-off by the graphical frame. |
− | { | + | Carriage returns are ignored, rather lines beginning with “^” begin on new lines. |
− | $LINK< | + | Lines beginning with “^^” are centered. |
+ | |||
+ | Text bracketed in “{” and “}” characters highlights the enclosed text by changing its color (from #749c38 to #b8c060 at default gamma settings). | ||
+ | |||
+ | Data link article titles are listed at the head of help(x).txt and concept(x).txt with the articles below listed below sequentially and numbered: “#CONCEPT33”. Links from one article to another are called using the text “$LINK<some text here=33>” where “some text here” is the text to be displayed and “33” is the number of the article. | ||
+ | |||
+ | Starting point for various classes of concept/help file section: | ||
Conceptsx | Conceptsx | ||
#CONCEPT: 0 (e.g. $LINK<Mineral=42>) | #CONCEPT: 0 (e.g. $LINK<Mineral=42>) |
Revision as of 14:59, 4 March 2013
Syntax for use in datalinks:
Lines beginning with “;” are comments in the files and are not displayed.
For display text, lines should be 200 characters long or less to avoid being cut-off by the graphical frame.
Carriage returns are ignored, rather lines beginning with “^” begin on new lines.
Lines beginning with “^^” are centered.
Text bracketed in “{” and “}” characters highlights the enclosed text by changing its color (from #749c38 to #b8c060 at default gamma settings).
Data link article titles are listed at the head of help(x).txt and concept(x).txt with the articles below listed below sequentially and numbered: “#CONCEPT33”. Links from one article to another are called using the text “$LINK<some text here=33>” where “some text here” is the text to be displayed and “33” is the number of the article.
Starting point for various classes of concept/help file section:
Conceptsx
#CONCEPT: 0 (e.g. $LINK<Mineral=42>)
#ADVCONCEPT: 1000 (e.g. $LINK<Commerce (Advanced)=10003>, $LINK<Advanced Morale=10017>)
----
Helpx
#UNITDESC: 3000 (e.g. $LINK<probe teams=30006>)
#CHASSISDESC: 4000 (e.g. $LINK<Missile=40008>)
#REACTORDESC: 5000 (e.g. $LINK<reactor technology=50001>)
#WEAPONDESC: 6000 (e.g. $LINK<Tectonic Missiles=60024>)
#ARMORDESC: 7000 (e.g. $LINK<Resonance 3 Armor=70011>)
#ABILDESC: 8000 (e.g. $LINK<Algorithmic Enhancement=80028>)
#HELPTERRALAND: 9000 (e.g. $LINK<farm=90000>)
#HELPFAC: 10000 (e.g. $LINK<Tachyon Field=100005>)
#HELPPROJ: 11000 (e.g. $LINK<The Hunter-Seeker Algorithm=110085>)
#HELPSOC: 12000 (e.g. $LINK<Cybernetic Society=120017>)
#HELPEFFECT: 13000 (e.g. $LINK<GROWTH=130006>)
----
Other
Technologies: 14000 (e.g. $LINK<Advanced Ecological Engineering=140062>)
Factions: 15000 (e.g. $LINK<factions=150001>)