page_text
This table holds the text for readable items like books, as well as readable gameobjects like statue plaques.
The text will be rendered in the ItemTextFrame, which supports SimpleHTML and UI escape sequences.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| ID | int | unsigned | PRI | NO | 0 | ||
| Text | longtext | NO | |||||
| NextPageID | int | unsigned | NO | 0 | |||
| VerifiedBuild | int | signed | NO | 0 |
Description of fields
ID
The ID of the text in the page. This number is unique to every text entry.
Text
The actual text. The message in this field will be shown as the text on a page.
You can use certain placeholders that will be filled in in-game:
$B: line break$N: the players name$r/$R: player race; using lower casercasts the name to lowercase$c/$C: player class; using lower caseccasts the name to lowercase$Gmale:female[:reference];: male and female can be replaced with any synonym you want and one will be chosen depending on the reference.
:reference is optional and can ber(the players race),c(the players class) or if omitted the players chosen gender.$4022W: references a worldstate and will be replaced with it's current value. (here BATTLEFIELD_WG_WORLD_STATE_DEFENDED_H (4022) is chosen as an example)$tmale:female;/$Tmale:female;: the players PVP rank. If unranked one of the strings is selected based on the players chosen gender. Using lower casetcasts the string to lowercase.
NextPageID
The ID of the next page's text entry.
VerifiedBuild
This field is used by the TrinityDB Team to determine whether a template has been verified from WDB files.
If value is 0 then it has not been parsed yet.
If value is above 0 then it has been parsed with WDB files from that specific client build.
If value is -1 then it is just a place holder until proper data are found on WDBs.
If value is -Client Build then it was parsed with WDB files from that specific client build and manually edited later for some special necessity.
