Line 40: | Line 40: | ||
Columns can be named, otherwise they are referred by the sequential numeration 0 to n | Columns can be named, otherwise they are referred by the sequential numeration 0 to n | ||
==== Settings ==== | ==== Settings ==== | ||
− | * Text: | + | * Text: (general form: xxx:xxx:xxx) |
* # store a data in a cell | * # store a data in a cell | ||
* # read the contents in a cell | * # read the contents in a cell | ||
Line 95: | Line 95: | ||
''' ''imgurl'' ''' displays an image linking to an URL. | ''' ''imgurl'' ''' displays an image linking to an URL. | ||
====Settings==== | ====Settings==== | ||
− | *text: | + | *text: (general form: xxx xxx xxx). 2 kinds of data: |
*# URL of the image, mandatory: clickable image; | *# URL of the image, mandatory: clickable image; | ||
*# Display name of the URL when mouse goes over the image. Preceded by the underscore character ("_"), it is a text that will be translated. It remains enclosed by brackets "{}" if it is not translated. | *# Display name of the URL when mouse goes over the image. Preceded by the underscore character ("_"), it is a text that will be translated. It remains enclosed by brackets "{}" if it is not translated. | ||
Line 210: | Line 210: | ||
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
====Paramètres==== | ====Paramètres==== | ||
− | *texte: | + | *texte: (general form: xxx|xxx|xxx, and internal xxx_xxx_xxx). |
*attribut: significatif si texte est nul | *attribut: significatif si texte est nul | ||
** | ** | ||
Line 218: | Line 218: | ||
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
====Paramètres==== | ====Paramètres==== | ||
− | *text: | + | *text: (general form xxx|xxx|xxx) |
*attribute: None. | *attribute: None. | ||
====Exemples==== | ====Exemples==== | ||
Line 235: | Line 235: | ||
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
====Paramètres==== | ====Paramètres==== | ||
− | * | + | *Text: (general form xxx|xxx|xxx) |
*attribut: significatif si texte est nul | *attribut: significatif si texte est nul | ||
** | ** | ||
Line 279: | Line 279: | ||
''' ''playerinfos'' ''' gives some informations concerning the player. | ''' ''playerinfos'' ''' gives some informations concerning the player. | ||
====Settings==== | ====Settings==== | ||
− | *'''text''': | + | *'''text''': (general form: xxx|xxx|xxx) . One of the next keys: 'name', 'fullname', 'id', 'guild', 'guild_id', 'pvp_points', 'money', 'cid', 'gender' or 'api'. |
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
** <small>next fields up to 2: values of that key if needed for api.</small> | ** <small>next fields up to 2: values of that key if needed for api.</small> | ||
Line 331: | Line 331: | ||
<div style="margin:0em; padding:0em;border: none;background:yellow;"> | <div style="margin:0em; padding:0em;border: none;background:yellow;"> | ||
====Paramètres==== | ====Paramètres==== | ||
− | *texte: | + | *texte: (general form: xxx:xxx:xxx) |
*attribut: significatif si texte est nul | *attribut: significatif si texte est nul | ||
** | ** |
WIP
in Arbeit -
work in progress -
trabajo en curso -
travaux en cours -
незавершенное
User guide for Ark, short for Ryzom Arkitect.
For historical reasons, those manuals refers very often, almost always, to A.R.C.C.. This is due to the fact that the full documentation has been started with the initial name, ARCC, meaning Advanced Ryzom Content Creator.
date displays date in "human". See also time.
db store or read a value in a DB. DB is of different kind of rows sets. For instance, "player" DB will memorize the name of the player in column 0; ARCC DB, will memorize an internal number,... Columns can be named, otherwise they are referred by the sequential numeration 0 to n
div is the equivalent of the HTML bloc <div>. That container can divide the page in sections containing the style and other attributes of a HTML bloc.
displays:
Empty function!
img displays an image. Something is wrong because, I (Bepock) obtain always a " title="" /> after the image. Use [imgurl] instead: it works fine.
displays:
imgurl displays an image linking to an URL.
displays:
lua passes the text to the Ryzom Lua interpreter.
scripturl cats action, action number and extension to be send to the server.
Launched from script 2088:
session is the simplest way to memorize data during the session, i.e. the connection. It offers also quicker answer, because it is a temporary memory not stored in the DB server.
It can be use also in some condition as a temporary array, when each Rows are named, because that is the internal behaviour of Session.
timer displays time in format "hh:mm:ss".
url is the standard way to pass an URL. That URL visually is formatted as usual in Ryzom.
WIP
in Arbeit -
work in progress -
trabajo en curso -
travaux en cours -
незавершенное
A.R.C.C. » TESTS » Bepock » UserGuide » NewEvent » NewEvent » BBCODE: stage weGPlayerInfos_BBCodeTest)
trad displays one of the translations associated to a keyword if it exist in the language of the user (See also the "trad tool" of ARK).
@process randint(0, 100)
playerinfos gives some informations concerning the player.
if ($attr[0] == "#") action semble être un des parametres important... àtester $name = ryzom_get_param(substr($attr, 1)); else $name = $attr; $db = ryDB::getInstance('webig'); $player_infos = $db->querySingle('players', array('name' => strtolower($name), 'deleted' => 0, 'shard' => ryzom_get_param('shard', _user()->shardid))); p($player_infos); if ($player_infos) { $text = explode('|', $text); switch ($text[0]) { case 'id': return $player_infos['id']; case 'cid': return $player_infos['cid']; case 'api': return ryzom_player_value($player_infos['id'], $text[1], '$text[2]');
http://app.ryzom.com/app_forum/index.php?page=topic/view/21035/1#1 http://app.ryzom.com/app_ryzhome/index.php?from_index=1
[*][scriptinfos]id[/scriptinfos] [*][scriptinfos]stage[/scriptinfos] [*][scriptinfos]is_valid_url[/scriptinfos]
Alpha : | ([db=TestDB]0:0[/db]+2000)/4000 | |||
Beta : | [db=TestDB]1:0[/db]/4000+60 | |||
Gamma : | [db=TestDB]2:0[/db]/4000 | |||
Delta : | [db=TestDB]3:0[/db]/4000 |
[list=1] [*]now:[func]now[/func] [*]rand %:[func=rand]0|100[/func] [*]calc:[math](10*2)[/math] [*]session DATE:[session=DATE][func]now[/func][/session] [*]DATE:[session]DATE[/session] [*]date:[date]DATE[/date] [*]rand*DATE:[math][func=rand]0|100[/func]*[session]DATE[/session][/math] [*]rand*DATE:[math]([func=rand]0|100[/func]*[session]DATE[/session])%100[/math] [*] [/list]
[list] [*]session DATE:[session=DATE][func]now[/func][/session] [*]DATE:[session]DATE[/session] [*]date:[date]DATE[/date]
[*]1 [date shard=atys][/date] [*]2 [date=atys][/date] [*]3 [date shard][/date] [*]4 [date][/date] [*]5 [date]1407426669[/date] [session=DATE][func]now[/func]+1000[/session] [*]6 [time][session]DATE[/session][/time] [*] [*]Samedi 8 Novembre 12:00:00 UTC (dans 3 mois) [*]17h - Tria, Pluvia 15, 3e CA 2580 [*][time]2014-11-08 12:00[/time] [*]1:[date shard=atys]2014-11-08 12:00[/date] [*]2:[date=atys]2014-11-08 12:00[/date] [*]3:[date shard]2014-11-08 12:00[/date] [*]4:[date]2014-11-08 12:00[/date] [*] [*]1:[date shard=atys]2014-11-08 12:00[/date] [*]2:[date=atys]2014-11-08 12:00[/date] [*]3:[date shard]2014-11-08 12:00[/date] [*]4:[date]2014-11-08 12:00[/date] [*] [*]1:[shard=atys]2014-11-08 12:00[/shard] [*]2: [*]3:[shard]2014-11-08 12:00[/shard] [*]4:[date]2014-11-08 12:00[/date] [*] [*]1:[date shard=atys=2014-11-08 12:00][/date] [*]2:[date=atys=2014-11-08 12:00][/date] [*]3:[date shard=2014-11-08 12:00][/date] [*]4:[date=2014-11-08 12:00][/date] [*] [*] [*] [*] [*] [*] [*] [*] [/list]
liste des item .ps et .sitem?
players dans les db permet de différencier et mémoriser chaque players ! il doir en etre de meme pour guilde etc...
⇒