Difference between revisions of "Text Replacement"

438 bytes removed ,  02:52, 18 July 2016
no edit summary
imported>Qazaaq
m
imported>Qazaaq
Line 3: Line 3:
The '''Text Replacement''' game system parses value tokens and formatting tags. This is used on a several forms like [[Book]]s and [[Terminal]]s.
The '''Text Replacement''' game system parses value tokens and formatting tags. This is used on a several forms like [[Book]]s and [[Terminal]]s.


 
==Tokens==
==Book Text==
Quest-associated books can contain tokens used for '''Text Replacement''' if you add a book alias to the quest and set "Uses Stored Text" flag on this alias.
The [[Book]] text field can be formatted with a variety of '''markup''' tags.
Quest-associated books can contain additional tags used for '''Text Replacement'''.
To associate book with the quest you need to add book alias to the quest and set "Uses Stored Text" flag on this alias.
 


==Markup==
==Markup==
Some text fields support a variety of '''Markup''' tags used with formatting.
Some text fields support a variety of '''Markup''' tags used with formatting.
===Example===
<source lang="text">
<!--This is the example for text markup-->
<font face='$HandwrittenFont' size='35'>Hello World!</font>
<b><i><u>This is bold, italic, and underlined.</u></i></b>
<BR>These are some colors I like.
<ul>
<li>Black</li>
<li>White</li>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ul></nowiki>
[pagebreak]
<!--A new page has starts here-->
<p align='center'>My center aligned text.
<p align='left'>My left aligned text.
</source>


===Syntax===
===Syntax===
Line 72: Line 87:
**** Tag: <code><img src='img://Textures/Interface/Books/Illuminated_Letters/X_letter.png'></code>
**** Tag: <code><img src='img://Textures/Interface/Books/Illuminated_Letters/X_letter.png'></code>
**** Description: Used for adding special illuminated letters at the beginning of books. (Replace the "X" with any letter or number.)
**** Description: Used for adding special illuminated letters at the beginning of books. (Replace the "X" with any letter or number.)
===Example===
<code>
<nowiki>&lt;!--This is the example for text markup--&gt;</nowiki><BR>
<nowiki><font face='$HandwrittenFont' size='35'>Hello World!</font></nowiki><BR>
<nowiki><b><i><u>This is bold, italic, and underlined.</u></i></b></nowiki><BR>
<nowiki><BR>These are some colors I like.</nowiki><BR>
<nowiki><ul></nowiki><BR>
<nowiki><li>Black</li></nowiki><BR>
<nowiki><li>White</li></nowiki><BR>
<nowiki><li>Red</li></nowiki><BR>
<nowiki><li>Green</li></nowiki><BR>
<nowiki><li>Blue</li></nowiki><BR>
<nowiki></ul></nowiki></nowiki><BR>
<nowiki>[pagebreak]</nowiki><BR>
<nowiki>&lt;!--A new page has starts here--&gt;</nowiki><BR>
<nowiki><p align='center'>My center aligned text.</nowiki><BR>
<nowiki><p align='left'>My left aligned text.</nowiki>
</code>


==Fonts==
==Fonts==
Anonymous user