<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>HelpOnDictionaries</title></articleinfo><para>The dictionary markup can be used to store key-value pairs like in a dictionary or glossary. It uses definition lists (see <ulink url="https://wiki.hcoop.net/HelpOnDictionaries/HelpOnLists#">HelpOnLists</ulink>). A dictionary page used by the system has to have a name ending with <code>Dict</code> (see <code>page_dict_regex</code> on the page <ulink url="https://wiki.hcoop.net/HelpOnDictionaries/HelpOnConfiguration#">HelpOnConfiguration</ulink>). </para><para>Dictionaries can be either shared or private (only you have read access to them under your homepage). </para><section><title>How does it look?</title><para>This is an example: </para><glosslist><glossentry><glossterm>var1</glossterm><glossdef><para>value1 </para></glossdef></glossentry><glossentry><glossterm>var2</glossterm><glossdef><para>value2 </para></glossdef></glossentry><glossentry><glossterm>var3</glossterm><glossdef><para>value3 </para></glossdef></glossentry></glosslist><para>And it looks like this in the page source: </para><screen><![CDATA[ var1:: value1
 var2:: value2
 var3:: value3]]></screen><itemizedlist><listitem override="none"><para><inlinemediaobject><imageobject><imagedata depth="16" fileref="https://wiki.hcoop.net/moin_static1911/moniker_bt/img/alert.png" width="16"/></imageobject><textobject><phrase>/!\</phrase></textobject></inlinemediaobject> The leading space and the space after '::' are important. </para></listitem></itemizedlist><para>See also <ulink url="https://wiki.hcoop.net/HelpOnDictionaries/HelpOnVariables#">HelpOnVariables</ulink> </para></section><section><title>Dictionaries for translations</title><para>Dictionaries can be used to translate user-specified words with auto-substitution<footnote><para>this is an alternative for the distributed PO-Files, which are used instead in MoinMaster wiki</para></footnote>. If you want to use that a dictionary has to be named in the form <emphasis>Language</emphasis>Dict (examples: GermanDict, FrenchDict, SpanishDict, etc.). </para><!--rule (<hr>) is not applicable to DocBook--></section></article>