def METHOD_NAME(ycfg, module, explevel):
    """
    Convert HADDOCK3 YAML config to HADDOCK3 user config text.
    Does not consider expert levels.
    See :func:`yaml2cfg_text_with_explevels` instead.
    Parameters
    ----------
    ycfg : dict
        The dictionary representing the HADDOCK3 YAML configuration.
        This configuration should NOT have the expertise levels. It
        expectes the first level of keys to be the parameter name.
    """
    params = []
    exp_levels = {
        _el: i
        for i, _el in enumerate(config_expert_levels + ("all", _hidden_level))
        }
    exp_level_idx = exp_levels[explevel]
    for param_name, param in ycfg.items():
        # treats parameters that are subdictionaries of parameters
        if isinstance(param, Mapping) and "default" not in param:
            params.append("")  # give extra space
            if module is not None:
                curr_module = f"{module}.{param_name}"
            else:
                curr_module = param_name
            params.append(f"[{curr_module}]")
            _ = METHOD_NAME(param, module=curr_module, explevel=explevel)
            params.append(_)
        # treats normal parameters
        elif isinstance(param, Mapping):
            if exp_levels[param["explevel"]] > exp_level_idx:
                # ignore this parameter because is of an expert level
                # superior to the one request:
                continue
            comment = []
            for _comment, cvalue in param.items():
                if _comment in ("default", "explevel", "short", "long", "type"):
                    continue
                if cvalue == "":
                    continue
                comment.append(f"${_comment} {cvalue}")
            default_value = param["default"]
            # boolean values have to be lower for compatibility with toml cfg
            if isinstance(default_value, bool):
                default_value = str(default_value).lower()
                param_line = "{} = {}  # {}"
            else:
                param_line = "{} = {!r}  # {}"
            params.append(param_line.format(
                param_name,
                default_value,
                " / ".join(comment),
                ))
            if param["type"] == "list":
                params.append(os.linesep)
        else:
            # ignore some other parameters that are defined for sections.
            continue
    return os.linesep.join(params)