Annotation of loncom/html/adm/help/tex/Authoring_Responseparam_Parameter.tex, revision 1.3

1.1       bowersj2    1: \label{Authoring_Responseparam_Parameter}
                      2: 
                      3: 
1.2       vandui11    4: If \textbf{responseparam} appears, it should be inside of a response
                      5: tag. It defines an externally adjustable parameter for the question,
                      6: which the question can then use to allow other users to customize the problem
                      7: for their courses without changing the source code of the problem.
1.1       bowersj2    8: Possible attributes are:
                      9: 
                     10: \begin{itemize}
                     11: \item \textbf{default}\index{default}: required. Specifies a default value
                     12: for the parameter.
1.2       vandui11   13: \item \textbf{name}\index{name}: required. Specifies an internal name for
                     14: the parameter. 
                     15: \item \textbf{type}\index{type}: required. Specifies the type of parameter:
                     16: \textbf{tolerance}, \textbf{int}, \textbf{float}, \textbf{string},
1.3     ! damieng    17: or \textbf{date}. Additional constraints for the type can be specified by
        !            18: adding an underscore and the constraint name to the type, for instance
        !            19: \texttt{int\_pos} means \textit{strictly positive integer}.
1.2       vandui11   20: \item \textbf{description}\index{description}: string describing the
                     21: parameter. This is what is used to talk about a parameter outside
                     22: of a problem.
1.1       bowersj2   23: \end{itemize}
                     24: \textbf{parameter} is exactly the same as \textbf{responseparam},
                     25: but should appear outside of a response tag.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>