Macro-table/fr

From GeneWeb
Revision as of 01:46, 17 April 2016 by A2 (Talk | contribs) (top: ajout catégorie « Manuel »)

Jump to: navigation, search
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<title>
GeneWeb macros
</title>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!-- 
Insert the following line in the note of an individual :
<a href="%sm=SRC;v=macros">Macros table</a>
and place this whole page in file "bases/src/base/macros.txt"
-->

<a href="%s"><img src="images/up.png" width="24" height="29"></a>

<h2>Macros GeneWeb</h2>
<p>
The following table lists the macros available when personalising GeneWeb pages. <br>
The second colums provides the result of executing the marco in the current context.

<table border="1" width="100%" height="60">
<tr><td>  %a </td><td> %a</td><td>  </td></tr>
<tr><td>  %b </td><td> %b</td><td> Value of "body_prop" </td></tr>
<tr><td>  %c </td><td> %c</td><td> Number of queries for the welcome page </td></tr>
<tr><td>  %d </td><td> %d</td><td> Date of first visit </td></tr>
<tr><td>  %e </td><td> %e</td><td>  </td></tr>
<tr><td>  %f </td><td> %f</td><td> In server mode, base name followed by password. In CGI mode, name of the CGI command (ex: gwd.exe) </td></tr>
<tr><td>  %g </td><td> %g</td><td> In server mode, same as "f". In CGI mode, name of the command, followed by "?b=basename;" </td></tr>
<tr><td>  %h </td><td> %h</td><td> Contextual variables </td></tr>
<tr><td>  %i </td><td> %i</td><td>  </td></tr>
<tr><td>  %j </td><td> %j</td><td>  </td></tr>
<tr><td>  %k </td><td> %k</td><td>  </td></tr>
<tr><td>  %l </td><td> %l</td><td> Language </td></tr>
<tr><td>  %m </td><td> %m</td><td>  </td></tr>
<tr><td>  %n </td><td> %n</td><td> Number of persons in the base </td></tr>
<tr><td>  %o </td><td> %o</td><td>  </td></tr>
<tr><td>  %p </td><td> %p</td><td>  </td></tr>
<tr><td>  %q </td><td> %q</td><td> Number of queries </td></tr>
<tr><td>  %r </td><td> %rcss
   </td><td> Read file (ex: %rcss\n reads file css.txt) </td></tr>
<tr><td>  %s </td><td> %s</td><td> Value of %f followed by "?" and contextual variables (ex: "toto?lang=it;iz=8233;") </td></tr>
<tr><td>  %t </td><td> %t</td><td> Base name </td></tr>
<tr><td>  %u </td><td> %u</td><td> Person taken as Sosa ref </td></tr>
<tr><td>  %v </td><td> %v</td><td> GeneWeb version </td></tr>
<tr><td>  %w </td><td> %w</td><td> Link to previous page (with back arrow icon)</td></tr>
<tr><td>  %x </td><td> %x</td><td>  </td></tr>
<tr><td>  %y </td><td> %y</td><td>  </td></tr>
<tr><td>  %z </td><td> %z</td><td> There is a person as Sosa reference</td></tr>

<tr><td>  %If </td><td> %IfYes%E %INfNo%E </td><td> We are "Friend" or not</td></tr>
<tr><td>  %Iw </td><td> %IwYes%E %INwNo%E </td><td> We are "Wizard" or not</td></tr>
<tr><td>  %Ij </td><td> %IjYes%E %INjNo%E </td><td> Wizard_just-friend</td></tr>
<tr><td>  %Ic </td><td> %IcYes%E %INcNo%E </td><td> CGI mode</td></tr>
<tr><td>  %Ih </td><td> %IhYes%E %INhNo%E </td><td> There is a history file</td></tr>
<tr><td>  %Il </td><td> %IlYes%E %INlNo%E </td><td> Browser handles tables</td></tr>
<tr><td>  %In </td><td> %InYes%E %INnNo%E </td><td> There are base notes</td></tr>
<tr><td>  %It </td><td> %ItYes%E %INtNo%E </td><td> Search by title is on</td></tr>
<tr><td>  %Iz </td><td> %IzYes%E %INzNo%E </td><td> Search by Sosa is on (see %u)</td></tr>
<tr><td>  %Ia </td><td> %IaYes%E %INaNo%E </td><td> Global access restriction is on (see [[Access]])</td></tr>
<tr><td>  %IN </td><td>  </td><td> Opposite of following expression</td></tr>
<tr><td>  %I| </td><td>  </td><td> Logical "or" with following expression</td></tr>
<tr><td>  %I& </td><td>  </td><td> Logical "and" with following expression</td></tr>

</table>

</body>
</html>