joomla/mod_wkparams/mod_wkhello.xml

<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.6.0" client="site" method="upgrade">
 
    <name>wk hello Module with params</name>
    <!-- The following elements are optional and free of formatting constraints -->
    <creationDate>April 2017</creationDate>
    <author>Walter Keller</author>
    <authorEmail>wa@wlkl.ch</authorEmail>
    <authorUrl>http://www.wlkl.ch</authorUrl>
    <copyright>Copyright Info</copyright>
    <license>License Info</license>
    <!--  The version string is recorded in the components table -->
    <version>0.0.1</version>
    <!-- The description is optional and defaults to the name -->
    <description>wkParams paramters in config</description>
 
<!--    <update> --> <!-- Runs on update; New since J2.5 -->
<!--        <schemas>
            <schemapath type="mysql">sql/updates/mysql</schemapath>
        </schemas>
    </update>
--> 
    <!-- Site Main File Copy Section -->
    <files>
        <filename>mod_wkhello.xml</filename>
        <filename module="mod_wkhello">mod_wkhello.php</filename>
        <filename>index.html</filename>
    </files>
 
<!--    <administration>
    </administration>
-->
    <config>
        <fields name="params">
            <fieldset name="basic">
                <field
                    name="par1"
                    type="text"
                    label="par1Label"
                    description="par1Descrition"
                    extension="com_wkhello"
                    multiple="false"
                    size="30"
                    default="par1Def"
                    />
            </fieldset>
        </fields>
    </config>
</extension>