CINXE.COM

Macros in GeneWeb - GeneWeb

<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"/> <title>Macros in GeneWeb - GeneWeb</title> <script>document.documentElement.className="client-js";RLCONF={"wgBreakFrames":!1,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"d543ae317e6e22172f69d153","wgCSPNonce":!1,"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":!1,"wgNamespaceNumber":0,"wgPageName":"macros","wgTitle":"macros","wgCurRevisionId":3826,"wgRevisionId":3826,"wgArticleId":241,"wgIsArticle":!0,"wgIsRedirect":!1,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Manual"],"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"macros","wgRelevantArticleId":241,"wgIsProbablyEditable":!1,"wgRelevantPageIsProbablyEditable":!1,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"}, "wgEditSubmitButtonLabelPublish":!1};RLSTATE={"site.styles":"ready","noscript":"ready","user.styles":"ready","user":"ready","user.options":"loading","skins.vector.styles.legacy":"ready","mediawiki.toc.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready"};RLPAGEMODULES=["site","mediawiki.page.startup","mediawiki.page.ready","mediawiki.toc","skins.vector.legacy.js","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.implement("user.options@1hzgi",function($,jQuery,require,module){/*@nomin*/mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); });});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.toc.styles%7Cskins.vector.styles.legacy&amp;only=styles&amp;skin=vector"/> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""/> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector"/> <meta name="generator" content="MediaWiki 1.35.13"/> <link rel="shortcut icon" href="/w/favicon.ico"/> <link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="GeneWeb (en)"/> <link rel="EditURI" type="application/rsd+xml" href="https://geneweb.tuxfamily.org/w/api.php?action=rsd"/> <link rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"/> <link rel="alternate" type="application/atom+xml" title="GeneWeb Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"/> <!--[if lt IE 9]><script src="/w/resources/lib/html5shiv/html5shiv.js"></script><![endif]--> </head> <body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-macros rootpage-macros skin-vector action-view skin-vector-legacy"> <div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"> <a id="top"></a> <div id="siteNotice" class="mw-body-content"></div> <div class="mw-indicators mw-body-content"> </div> <h1 id="firstHeading" class="firstHeading" lang="en">Macros in GeneWeb</h1> <div id="bodyContent" class="mw-body-content"> <div id="siteSub" class="noprint">From GeneWeb</div> <div id="contentSub"></div> <div id="contentSub2"></div> <div id="jump-to-nav"></div> <a class="mw-jump-link" href="#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="#searchInput">Jump to search</a> <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="nmbox" style="border:0px solid #AAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.5em"> <tbody><tr style="background:#EEF3E2"> <th class="mbox-image" style="white-space:nowrap; padding:4px 2px; border-right :1px solid #aaa"><a href="/wiki/File:150px-Geographylogo_svg.png" class="image"><img alt="150px-Geographylogo svg.png" src="https://download.tuxfamily.org/geneweb/wiki/images/thumb/8/8a/150px-Geographylogo_svg.png/25px-150px-Geographylogo_svg.png" decoding="async" width="25" height="25" srcset="https://download.tuxfamily.org/geneweb/wiki/images/thumb/8/8a/150px-Geographylogo_svg.png/38px-150px-Geographylogo_svg.png 1.5x, https://download.tuxfamily.org/geneweb/wiki/images/thumb/8/8a/150px-Geographylogo_svg.png/50px-150px-Geographylogo_svg.png 2x" /></a> <b><a href="/wiki/GeneWeb:Language_policy" title="GeneWeb:Language policy">Language:</a></b>&#160;</th> <td class="mbox-text" style="background:#F6F9ED;">&#160;<b><a class="mw-selflink selflink">English</a></b>&#160;• <bdi lang="fr"><a href="/wiki/macros/fr" title="macros/fr">français</a></bdi><span class="autonym"></span><span class="autonym"></span></td> </tr></tbody></table> <p>GeneWeb text present in notes are not pure HTML and may contain variables. </p><p>Some are historically called <b>macros</b>. These are letters prefixed by <code>%</code>, for instance <code>%s</code> or <code>%x</code>. GeneWeb replaces these macros by their values depending on the context of the base: name of the base, language, number of persons in the base, etc... </p><p>Other variables, bracketed by <code>[</code> and <code>]</code> trigger the <b>translation</b> process of GeneWeb according to the current language, and use for this translation the lexicon data. The <a href="/wiki/lexicon" title="lexicon">lexicon</a> page describes in details this translation process. </p><p><br /> </p> <div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div class="toctitle" lang="en" dir="ltr"><h2 id="mw-toc-heading">Contents</h2><span class="toctogglespan"><label class="toctogglelabel" for="toctogglecheckbox"></label></span></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Description_of_the_macros"><span class="tocnumber">1</span> <span class="toctext">Description of the macros</span></a> <ul> <li class="toclevel-2 tocsection-2"><a href="#Base"><span class="tocnumber">1.1</span> <span class="toctext">Base</span></a></li> <li class="toclevel-2 tocsection-3"><a href="#Numbers"><span class="tocnumber">1.2</span> <span class="toctext">Numbers</span></a></li> <li class="toclevel-2 tocsection-4"><a href="#Conditionnals"><span class="tocnumber">1.3</span> <span class="toctext">Conditionnals</span></a></li> <li class="toclevel-2 tocsection-5"><a href="#Various"><span class="tocnumber">1.4</span> <span class="toctext">Various</span></a></li> <li class="toclevel-2 tocsection-6"><a href="#Contextual_variables"><span class="tocnumber">1.5</span> <span class="toctext">Contextual variables</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-7"><a href="#Frequently_used_macros"><span class="tocnumber">2</span> <span class="toctext">Frequently used macros</span></a></li> <li class="toclevel-1 tocsection-8"><a href="#List_of_macros"><span class="tocnumber">3</span> <span class="toctext">List of macros</span></a></li> </ul> </div> <h2><span class="mw-headline" id="Description_of_the_macros">Description of the macros</span></h2> <h3><span class="mw-headline" id="Base">Base</span></h3> <ul><li><b>%t</b>&#160;: name of the base</li> <li><b>%f</b>&#160;: in server mode (stand alone machine), name of the base, possibly followed by a token (en <code>toto_xyzzy</code>); in CGI mode the launch command (ex: <code>gwd.exe</code></li> <li><b>%g</b>&#160;: in server mode, same as "<b>%f</b>"; in CGI mode, name of the launch command followed by <code>?b=</code>, the name of the base and a semi-colon <code>;</code> (ex: <code>gwd.exe?b=toto;</code>)</li> <li><b>%s</b>&#160;: value of "<b>%f</b>" followed by a question-mark <code>?</code> and the contextual variables (see below) (ex: <code>toto?lang=it;iz=8233;</code>)</li></ul> <h3><span class="mw-headline" id="Numbers">Numbers</span></h3> <ul><li><b>%n</b>&#160;: number of persons in the base.</li> <li><b>%c</b>&#160;: numbers of visits to the welcome page</li> <li><b>%q</b>&#160;: number of visits to the site (one page = one visit)</li> <li><b>%d</b>&#160;: date of the first visit.</li></ul> <h3><span class="mw-headline" id="Conditionnals">Conditionnals</span></h3> <p>Conditionnals begin by "<b>%I</b>" followed by a boolean expression and terminate with "<b>%E</b>". Text between these two delimiters is displayed only if the boolean expression evaluates as true: </p> <ul><li><b>f</b>&#160;: visitor is registered as friend</li> <li><b>w</b>&#160;: visitor is registered as wizard</li> <li><b>j</b>&#160;: wizard_just_friend has been activated (see <code>wizard_just_friend</code> in <a href="/wiki/configuration" title="configuration">a.gwf</a></li> <li><b>c</b>&#160;: the server is in CGI mode</li> <li><b>h</b>&#160;: a modifications history file exists</li> <li><b>l</b>&#160;: the web browser does not handle tables</li> <li><b>n</b>&#160;: a notes file exists for this base</li> <li><b>t</b>&#160;: a search by nobility title has been launched</li> <li><b>z</b>&#160;: there exists a sosa reference person (see "<b>%u</b>")</li> <li><b>a</b>&#160;: access to the base is globally restricted</li> <li><b>N</b>&#160;: negation of what follows</li> <li><b>|</b>&#160;: logical "or" between the two following expressions (not e1&amp;e2, but &amp;e1e2!!)</li> <li><b>&amp;</b>&#160;: logical "and" between the two following expressions <dl><dd>Examples:</dd> <dd>display some text if a search by nobility title is active: : <code>%It...%E</code></dd> <dd>display some text if visitor is not "wizard" nor "friend": : <code>%I&amp;NwNf...%E</code></dd></dl></li></ul> <h3><span class="mw-headline" id="Various">Various</span></h3> <ul><li><b>%r</b> followed by text: include a file names text.txt. The file must be at the same location as the file containing the "%r"</li> <li><b>%b</b>&#160;: value of the "body_prop" variable found in <code>base.gwf</code>.</li> <li><b>%h</b>&#160;: contextual variables (see below), in the form "&lt;input type=hidden name=var value=val&gt;".</li> <li><b>%l</b>&#160;: language.</li> <li><b>%u</b>&#160;: person taken as sosa reference (i.e. sosa 1)</li> <li><b>%%</b>&#160;: a single "<b>%</b>".</li> <li><b>%[</b>&#160;: a single "<b>[</b>".</li> <li><b>%]</b>&#160;: a single "<b>]</b>".</li></ul> <h3><span class="mw-headline" id="Contextual_variables">Contextual variables</span></h3> <p>Some variables have a lasting influence on GeneWeb across multiple requests. As opposed to the other requests parameters, once activated (by selecting an option through the GUI, or by direct typing in the URL window) the appear in all successive requests unless explicitly removed. </p> <ul><li>lang</li> <li>templ</li> <li>pz, nz, ocz, iz (first_name, last-name, occurence, index of a sosa reference)</li> <li>list to be completed ...</li></ul> <h2><span class="mw-headline" id="Frequently_used_macros">Frequently used macros</span></h2> <ul><li><b>%b</b> typically inserted in the <code>&lt;body&gt;</code> HTML tag as in <code>&lt;body%b&gt;</code></li> <li><b>%s</b> which you will use for any of your href links</li></ul> <p>Examples in "celebres.txt": </p> <pre> See my cousin &lt;a href="%sp=louis;n=de+bourbon;oc=5"&gt; Louis XIV&lt;/a&gt; and my &lt;a href="%sem=R;ep=jean;en=dupont;m=NG;n=louis+xiv;t=PN"&gt; relationship&lt;/a&gt; with him. </pre> <h2><span class="mw-headline" id="List_of_macros">List of macros</span></h2> <p>Available macros in the context of <code>m=SRC</code> files&#160;: This table can be generated by inserting a <code>m=SRC</code> call to some HTML/GeneWeb code in the note section of somebody in your base. The corresponding code is <a href="/wiki/Macro-table/fr" title="Macro-table/fr">here</a> </p><p>The third column provides the result of execution in a specific context </p> <table class="wikitable" style="border-width: 3px; text-align:left;"> <tbody><tr> <th>Macro</th> <th>Example use</th> <th>Result</th> <th>What it does </th></tr> <tr> <td>%a</td> <td>%a</td> <td></td> <td>Displays name of sosa reference (See %Iz below) </td></tr> <tr> <td>%b</td> <td>%b</td> <td></td> <td>Value of "body_prop" (in base.gwf) </td></tr> <tr> <td>%c</td> <td>%c</td> <td>42</td> <td>Number of queries for the welcome page </td></tr> <tr> <td>%d</td> <td>%d</td> <td>10 décembre 2018</td> <td>Date of first visit </td></tr> <tr> <td>%D</td> <td>%D</td> <td>10/12/2018</td> <td>Date of first visit </td></tr> <tr> <td>%e</td> <td>%e</td> <td>UTF-8</td> <td>Character set </td></tr> <tr> <td>%f</td> <td>%f</td> <td>HenriT_w</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>HenriT_w?</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></td> <td>A list of var=value for each hidden url variable </td></tr> <tr> <td>%i</td> <td>%i</td> <td>#2f6400</td> <td>Highlight color </td></tr> <tr> <td>%j</td> <td>%j</td> <td></td> <td>Include hed.txt file </td></tr> <tr> <td>%k</td> <td>%k</td> <td>geneweb?</td> <td>Value of the action parameter of a http GET/PUT command </td></tr> <tr> <td>%l</td> <td>%l</td> <td>fr</td> <td>Language </td></tr> <tr> <td>%L</td> <td>%L</td> <td>left</td> <td>Left (style: used in align="%L") </td></tr> <tr> <td>%m</td> <td>%m</td> <td>30</td> <td>Value of latest_event (in base.gwf) </td></tr> <tr> <td>%n</td> <td>%n</td> <td>8879</td> <td>Number of persons in the base </td></tr> <tr> <td>%N</td> <td>%N</td> <td>: titre</td> <td>Content of base_notes_title (.gwf) </td></tr> <tr> <td>%o</td> <td>%o</td> <td>images</td> <td>Value of %image_prefix; (see doc for image_prefix details (to be completed)) </td></tr> <tr> <td>%p</td> <td>%p</td> <td>%p</td> <td>noop </td></tr> <tr> <td>%P</td> <td>%P</td> <td></td> <td>next (%Pc) </td></tr> <tr> <td>%q</td> <td>%q</td> <td>285</td> <td>Number of queries </td></tr> <tr> <td>%r</td> <td>%rfile</td> <td>test for macros</td> <td>Reads file bases/src/base/test.txt) (file must be followed by "end of line") </td></tr> <tr> <td>%R</td> <td>%R</td> <td>right</td> <td>Right (style: used in align="%R") </td></tr> <tr> <td>%s</td> <td>%s</td> <td>HenriT_w?</td> <td>Value of %f followed by "?" and contextual variables (ex: "toto?lang=it;iz=8233;")<br /> Typical use: &lt;a href="%sp=first_name&amp;n=surname"&gt;Link to person First_name Surname&lt;/a&gt; </td></tr> <tr> <td>%t</td> <td>%t</td> <td>HenriT</td> <td>Base name </td></tr> <tr> <td>%T</td> <td>%T</td> <td></td> <td>Value of %doctype; (Given that doctype translates into &lt;-- .... --&gt;,<br />nothing is visible in the result column. Look at the sources to verify) </td></tr> <tr> <td>%u</td> <td>%ufr;</td> <td>français</td> <td>returns "Français" if lang=fr, and "French" if lang=en (dont forget the&#160;;) </td></tr> <tr> <td>%U</td> <td>%U</td> <td>: hg</td> <td>User name </td></tr> <tr> <td>%v</td> <td>%v</td> <td>7.00-exp</td> <td>Returns GeneWeb version number </td></tr> <tr> <td>%v</td> <td>%vtext;</td> <td>xxxx</td> <td>Specific to the NOTES context: returns the value of bvar.var_text </td></tr> <tr> <td>%V</td> <td>%Vvar;</td> <td>oui</td> <td>Value of bvar.var (in base.gwf) example %Vtest; </td></tr> <tr> <td>%w</td> <td>%w</td> <td></td> <td>Link to previous page (with back arrow icon) </td></tr> <tr> <td>%x</td> <td>%x</td> <td>%x</td> <td>noop </td></tr> <tr> <td>%X</td> <td>%Xvar;</td> <td>macros</td> <td>Value of evar.var (in URL) example %Xv; </td></tr> <tr> <td>%y</td> <td>%y</td> <td>%y</td> <td>noop </td></tr> <tr> <td>%/</td> <td>%/</td> <td></td> <td>if doctype = "html-4.01" then "" else "/" (used to terminate html tags as in &lt;br%/&gt; -&gt; <br /> </td></tr> <tr> <td>%%</td> <td>%%</td> <td>%</td> <td>% </td></tr> <tr> <td>%Ia</td> <td>%IaYes%E %INaNo%E</td> <td>No</td> <td>auth_file exists. Global access restriction is on (see <a href="/wiki/Access" class="mw-redirect" title="Access">Access</a>) </td></tr> <tr> <td>%Ic</td> <td>%IcYes%E %INcNo%E</td> <td>No</td> <td>Cannot handle passwords </td></tr> <tr> <td>%If</td> <td>%IfYes%E %INfNo%E</td> <td>No</td> <td>We are "Friend" </td></tr> <tr> <td>%Ih</td> <td>%IhYes%E %INhNo%E</td> <td>Yes</td> <td>There is a history file </td></tr> <tr> <td>%Ij</td> <td>%IjYes%E %INjNo%E</td> <td>No</td> <td>Wizard_just_friend is active </td></tr> <tr> <td>%Il</td> <td>%IlYes%E %INlNo%E</td> <td>No</td> <td>Browser handles tables </td></tr> <tr> <td>%Im</td> <td>%ImYes%E %INmNo%E</td> <td>Yes</td> <td>notes_links &lt;&gt; [] </td></tr> <tr> <td>%In</td> <td>%InYes%E %INnNo%E</td> <td>Yes</td> <td>There is a base note file </td></tr> <tr> <td>%Io</td> <td>%IoYes%E %INoNo%E</td> <td>Yes</td> <td>Notes dir exists </td></tr> <tr> <td>%Ip</td> <td>%Iptest;Yes%E %INptest;No%E</td> <td>Yes</td> <td>Base env variable &lt;&gt; "" (var terminated by&#160;;) </td></tr> <tr> <td>%Is</td> <td>%IsYes%E %INsNo%E</td> <td>Yes</td> <td>Base env variable &lt;&gt; "no" </td></tr> <tr> <td>%Iw</td> <td>%IwYes%E %INwNo%E</td> <td>Yes</td> <td>We are "Wizard" </td></tr> <tr> <td>%Iz</td> <td>%IzYes%E %INzNo%E</td> <td>No</td> <td>Sosa ref exists </td></tr> <tr> <td></td> <td></td> <td colspan="2">Expressions are limited to the following macros&#160;: a c f j l m n o p s w z which return True or False </td></tr> <tr> <td>%It</td> <td>%ItYes%E %INtNo%E</td> <td>!!!!!t!!!!!Yes&#160;!!!!!t!!!!!</td> <td>Bad macro (twice) (prints&#160;!!!!x!!!!, returns True) </td></tr> <tr> <td>%IN</td> <td>%IN[expression]</td> <td></td> <td>Inverts the result of [expression] (See %If thru %Iz for usage examples) </td></tr> <tr> <td>%I&#124;</td> <td>%I&#124;fwfrd or wiz%E</td> <td>frd or wiz</td> <td>Logical "or" of the two following expressions ("f" and "w" in the example) (the command character "&#124;" is a vertical bar) </td></tr> <tr> <td>%I&amp;</td> <td>%I&amp;whwizard and history file%E</td> <td>wizard and history file</td> <td>Logical "and" with two following expressions ("w" and "h" in the example) </td></tr> </tbody></table> <p><br /> </p> <p><br /></p><div style="margin:0 auto 1em; clear:both; width:90%; background-color:#f7f9ff; border:1px solid #8888aa; padding:3px;"> <p><big><b>GeneWeb Manual</b></big> </p> <div class="floatright"><a href="/wiki/File:Rembrandt_Old_Man_Reading_a_Book.jpg" class="image"><img alt="Rembrandt Old Man Reading a Book.jpg" src="https://download.tuxfamily.org/geneweb/wiki/images/thumb/a/ae/Rembrandt_Old_Man_Reading_a_Book.jpg/210px-Rembrandt_Old_Man_Reading_a_Book.jpg" decoding="async" width="210" height="293" srcset="https://download.tuxfamily.org/geneweb/wiki/images/thumb/a/ae/Rembrandt_Old_Man_Reading_a_Book.jpg/315px-Rembrandt_Old_Man_Reading_a_Book.jpg 1.5x, https://download.tuxfamily.org/geneweb/wiki/images/thumb/a/ae/Rembrandt_Old_Man_Reading_a_Book.jpg/420px-Rembrandt_Old_Man_Reading_a_Book.jpg 2x" /></a></div> <ul><li><a href="/wiki/Download" class="mw-redirect" title="Download">Download</a> and install GeneWeb program under <a href="/wiki/Linux" title="Linux">GNU/Linux</a>, <a href="/wiki/OSX" title="OSX">Mac OS X</a>, <a href="/wiki/Windows" title="Windows">Microsoft Windows</a>, <a href="/wiki/FreeBSD" title="FreeBSD">FreeBSD</a>; on Mac OS X, Linux or Windows <a href="/wiki/Docker" title="Docker">using Docker</a>; or in <a href="/wiki/CGI" title="CGI">CGI mode behind a web server</a>.</li> <li>Understand <a href="/wiki/gwd" title="gwd">GeneWeb server</a>, <a href="/wiki/namesake" title="namesake">homonym</a>, <a href="/wiki/consang" title="consang">consanguinity</a>.</li></ul> <p><b>Use and manage genealogical databases</b> </p> <ul><li>Import Gedcom <code>.ged</code> or <a href="/wiki/GWformat" class="mw-redirect" title="GWformat">GeneWeb <code>.gw</code></a> files with <a href="/wiki/gwsetup" title="gwsetup">gwsetup</a> or in <a href="/wiki/man" title="man">command-line</a>.</li> <li><a href="/wiki/Update" class="mw-redirect" title="Update">Update datas</a> (add/remove individuals and families), <a href="/wiki/Fusion" class="mw-redirect" title="Fusion">merge duplicates</a>, type <a href="/wiki/date" title="date">dates</a>.</li> <li>Use <a href="/wiki/wikitext" title="wikitext">wikitext syntax</a>, <a class="mw-selflink selflink">macros</a>, <a href="/wiki/shortcuts" title="shortcuts">keyboard shortcuts</a>.</li> <li><a href="/wiki/Clean" class="mw-redirect" title="Clean">Clean</a>, <a href="/wiki/recover" title="recover">recover</a>, <a href="/wiki/rename" title="rename">rename</a>, <a href="/wiki/save" title="save">save</a>, <a href="/wiki/archive" title="archive">archive</a> a database.</li> <li><a href="/wiki/Merge" class="mw-redirect" title="Merge">Merge</a> and <a href="/wiki/Divide" class="mw-redirect" title="Divide">split</a> multiples databases.</li></ul> <p><b>Technical annex</b> </p> <ul><li>Personalize <a href="/wiki/CSS" title="CSS">CSS</a>, <a href="/wiki/header/fr" title="header/fr">header and trailer</a>, <a href="/wiki/templates" title="templates">templates</a>, <a href="/wiki/lexicon" title="lexicon">lexicon</a> and <a href="/wiki/declension" title="declension">declension</a>.</li> <li><a href="/wiki/configuration" title="configuration">Configuration file <code>.gwf</code></a> (for <a href="/wiki/templm" title="templm">templm</a>), <a href="/wiki/wiznotes" title="wiznotes">wizard notes</a>, <a href="/wiki/password" title="password">passwords for friends/wizards</a> and <a href="/wiki/access" title="access">access restrictions</a> to databases.</li> <li>Add <a href="/wiki/image" title="image">images</a> in notes, further remarks for <a href="/wiki/expert" title="expert">experts</a>.</li></ul> </div> <!-- NewPP limit report Cached time: 20241126153456 Cache expiry: 86400 Dynamic content: false Complications: [] CPU time usage: 0.280 seconds Real time usage: 0.401 seconds Preprocessor visited node count: 2167/1000000 Post‐expand include size: 4328/2097152 bytes Template argument size: 3403/2097152 bytes Highest expansion depth: 21/40 Expensive parser function count: 69/100 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 0/5000000 bytes --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 174.710 1 -total 93.76% 163.808 1 Template:languages 74.87% 130.813 1 Template:nmbox 41.98% 73.335 138 Template:languages/lang 22.28% 38.926 1 Template:Languages/Title 12.95% 22.625 1 Template:LangSwitch 7.18% 12.550 1 Template:dir 4.91% 8.580 2 Template:GetFallback 4.13% 7.224 5 Template:Uselang 3.00% 5.244 1 Template:manual --> <!-- Saved in parser cache with key geneweb_mw2:pcache:idhash:241-0!canonical and timestamp 20241126153456 and revision id 3826 --> </div></div><div class="printfooter">Retrieved from "<a dir="ltr" href="https://geneweb.tuxfamily.org/w/index.php?title=macros&amp;oldid=3826">https://geneweb.tuxfamily.org/w/index.php?title=macros&amp;oldid=3826</a>"</div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="/wiki/Category:Manual" title="Category:Manual">Manual</a></li></ul></div></div> </div> </div> <div id="mw-navigation"> <h2>Navigation menu</h2> <div id="mw-head"> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-personal" class="vector-menu" aria-labelledby="p-personal-label" role="navigation" > <h3 id="p-personal-label"> <span>Personal tools</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="pt-createaccount"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=macros" title="You are encouraged to create an account and log in; however, it is not mandatory">Create account</a></li><li id="pt-login"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=macros" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li></ul> </div> </nav> <div id="left-navigation"> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-namespaces" class="vector-menu vector-menu-tabs vectorTabs" aria-labelledby="p-namespaces-label" role="navigation" > <h3 id="p-namespaces-label"> <span>Namespaces</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="ca-nstab-main" class="selected"><a href="/wiki/macros" title="View the content page [c]" accesskey="c">Page</a></li><li id="ca-talk" class="new"><a href="/w/index.php?title=Talk:macros&amp;action=edit&amp;redlink=1" rel="discussion" title="Discussion about the content page (page does not exist) [t]" accesskey="t">Discussion</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-variants" class="vector-menu-empty emptyPortlet vector-menu vector-menu-dropdown vectorMenu" aria-labelledby="p-variants-label" role="navigation" > <input type="checkbox" class="vector-menu-checkbox vectorMenuCheckbox" aria-labelledby="p-variants-label" /> <h3 id="p-variants-label"> <span>Variants</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="menu vector-menu-content-list"></ul> </div> </nav> </div> <div id="right-navigation"> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-views" class="vector-menu vector-menu-tabs vectorTabs" aria-labelledby="p-views-label" role="navigation" > <h3 id="p-views-label"> <span>Views</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="ca-view" class="collapsible selected"><a href="/wiki/macros">Read</a></li><li id="ca-viewsource" class="collapsible"><a href="/w/index.php?title=macros&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></li><li id="ca-history" class="collapsible"><a href="/w/index.php?title=macros&amp;action=history" title="Past revisions of this page [h]" accesskey="h">View history</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-cactions" class="vector-menu-empty emptyPortlet vector-menu vector-menu-dropdown vectorMenu" aria-labelledby="p-cactions-label" role="navigation" > <input type="checkbox" class="vector-menu-checkbox vectorMenuCheckbox" aria-labelledby="p-cactions-label" /> <h3 id="p-cactions-label"> <span>More</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="menu vector-menu-content-list"></ul> </div> </nav> <div id="p-search" role="search"> <h3 > <label for="searchInput">Search</label> </h3> <form action="/w/index.php" id="searchform"> <div id="simpleSearch"> <input type="search" name="search" placeholder="Search GeneWeb" title="Search GeneWeb [f]" accesskey="f" id="searchInput"/> <input type="hidden" name="title" value="Special:Search"> <input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton mw-fallbackSearchButton"/> <input type="submit" name="go" value="Go" title="Go to a page with this exact name if it exists" id="searchButton" class="searchButton"/> </div> </form> </div> </div> </div> <div id="mw-panel"> <div id="p-logo" role="banner"> <a title="Visit the main page" class="mw-wiki-logo" href="/wiki/GeneWeb"></a> </div> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-GeneWeb" class="vector-menu vector-menu-portal portal portal-first" aria-labelledby="p-GeneWeb-label" role="navigation" > <h3 id="p-GeneWeb-label"> <span>GeneWeb</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="n-News"><a href="/wiki/news">News</a></li><li id="n-Download"><a href="/wiki/Download">Download</a></li><li id="n-Contribute"><a href="/wiki/contribute">Contribute</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-Support" class="vector-menu vector-menu-portal portal" aria-labelledby="p-Support-label" role="navigation" > <h3 id="p-Support-label"> <span>Support</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="n-Demo-7.1-beta"><a href="https://demo.geneweb.tuxfamily.org/gw71/" rel="nofollow" target="_blank">Demo 7.1 beta</a></li><li id="n-Live-test-master"><a href="https://colab.research.google.com/github/geneweb/geneweb/blob/master/geneweb_colab.ipynb" rel="nofollow" target="_blank">Live test master</a></li><li id="n-Manual"><a href="/wiki/manual">Manual</a></li><li id="n-FAQ"><a href="/wiki/FAQ">FAQ</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-Development" class="vector-menu vector-menu-portal portal" aria-labelledby="p-Development-label" role="navigation" > <h3 id="p-Development-label"> <span>Development</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="n-Issues"><a href="https://github.com/geneweb/geneweb/issues" rel="nofollow" target="_blank">Issues</a></li><li id="n-Sources"><a href="https://github.com/geneweb/geneweb" rel="nofollow" target="_blank">Sources</a></li><li id="n-Changelog"><a href="/wiki/changelog">Changelog</a></li><li id="n-Roadmap"><a href="/wiki/TODO">Roadmap</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-Wiki" class="vector-menu vector-menu-portal portal" aria-labelledby="p-Wiki-label" role="navigation" > <h3 id="p-Wiki-label"> <span>Wiki</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="n-All-Pages"><a href="/wiki/Special:AllPages">All Pages</a></li><li id="n-recentchanges"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li><li id="n-help"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" target="_blank" title="The place to find out">Help</a></li></ul> </div> </nav> <!-- Please do not use role attribute as CSS selector, it is deprecated. --> <nav id="p-tb" class="vector-menu vector-menu-portal portal" aria-labelledby="p-tb-label" role="navigation" > <h3 id="p-tb-label"> <span>Tools</span> </h3> <!-- Please do not use the .body class, it is deprecated. --> <div class="body vector-menu-content"> <!-- Please do not use the .menu class, it is deprecated. --> <ul class="vector-menu-content-list"><li id="t-whatlinkshere"><a href="/wiki/Special:WhatLinksHere/macros" title="A list of all wiki pages that link here [j]" accesskey="j">What links here</a></li><li id="t-recentchangeslinked"><a href="/wiki/Special:RecentChangesLinked/macros" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li><li id="t-specialpages"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q">Special pages</a></li><li id="t-print"><a href="javascript:print();" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li><li id="t-permalink"><a href="/w/index.php?title=macros&amp;oldid=3826" title="Permanent link to this revision of the page">Permanent link</a></li><li id="t-info"><a href="/w/index.php?title=macros&amp;action=info" title="More information about this page">Page information</a></li></ul> </div> </nav> </div> </div> <footer id="footer" class="mw-footer" role="contentinfo" > <ul id="footer-info" > <li id="footer-info-lastmod"> This page was last edited on 9 November 2020, at 16:35.</li> <li id="footer-info-copyright">Content is available under <a class="external" rel="nofollow" href="http://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0 License</a> unless otherwise noted.</li> </ul> <ul id="footer-places" > <li id="footer-places-privacy"><a href="/wiki/GeneWeb:Privacy_policy" title="GeneWeb:Privacy policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/GeneWeb:About" title="GeneWeb:About">About GeneWeb</a></li> <li id="footer-places-disclaimer"><a href="/wiki/GeneWeb:General_disclaimer" title="GeneWeb:General disclaimer">Disclaimers</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="http://creativecommons.org/licenses/by-sa/3.0/" target="_blank"><img src="/w/resources/assets/licenses/cc-by-sa.png" alt="CC BY-SA 3.0 License" width="88" height="31" loading="lazy"/></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" target="_blank"><img src="/w/resources/assets/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" srcset="/w/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /w/resources/assets/poweredby_mediawiki_176x62.png 2x" width="88" height="31" loading="lazy"/></a></li> </ul> <div style="clear: both;"></div> </footer> <script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.280","walltime":"0.401","ppvisitednodes":{"value":2167,"limit":1000000},"postexpandincludesize":{"value":4328,"limit":2097152},"templateargumentsize":{"value":3403,"limit":2097152},"expansiondepth":{"value":21,"limit":40},"expensivefunctioncount":{"value":69,"limit":100},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"timingprofile":["100.00% 174.710 1 -total"," 93.76% 163.808 1 Template:languages"," 74.87% 130.813 1 Template:nmbox"," 41.98% 73.335 138 Template:languages/lang"," 22.28% 38.926 1 Template:Languages/Title"," 12.95% 22.625 1 Template:LangSwitch"," 7.18% 12.550 1 Template:dir"," 4.91% 8.580 2 Template:GetFallback"," 4.13% 7.224 5 Template:Uselang"," 3.00% 5.244 1 Template:manual"]},"cachereport":{"timestamp":"20241126153456","ttl":86400,"transientcontent":false}}});mw.config.set({"wgBackendResponseTime":2097});});</script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10