====== show() ====== The function ''show()'' combines ''[[:en:create:functions:question]]'' and ''[[:en:create:functions:text]]'', but only for texts in the question catalogue, not under **Text Modules and Labels**. The function displays the corresponding element from the question catalogue, whereby the display parameters are passed as an array. ''void **show**(string|array //identifier//, [array //display options//])'' * //Identifier// * (string) The four-digit identifier is made up of the two-digit identifiers of the category and question or text. It is specified as a string (in inverted commas). * (array) If an array with several question IDs is specified, a [[:en:create:combine|combined question]] is displayed. * //Display options// -- Display options with the following keys __and__ placeholders. * //placeholder// for use in the question, as a string with a percent sign, e.g., ''%%'%offer%' => 'SoSci'%%''. * ''%%'items'%%'' (array) -- A list of items or item intervals, e.g., ''%%'items' => [1,2,'5-7',10]%%'', if an empty array is specified, the question will not be displayed. * ''%%'residuals'%%'' (array) -- Codes of the residual options to be displayed. * ''%%'className'%%'' (string) -- A CSS class to be used for the HTML element of the question. * ''%%'spacing'%%'' (int) -- Distance below the question (in pixels). * ''%%'gap'%%'' (int|string) -- Distance between the elements of a combined question. * Number (e.g. ''60'') -- Distance in pixels * ''%%'line'%%'' -- Separating line (distance 24 pixels) * ''%%'line+%%////%%'%%'' (e.g. ''%%'line+60'%%'') for a separator line with defined spacing * ''%%'title'%%'' (bool) -- Hide question title with ''false'': ''%%'%title%' => false%%''. * ''%%'explanation'%%'' (bool) -- Hide explanations with ''false'': ''%%'%explanation%' => false%%''. * ''%%'filter'%%'' (mixed) -- A question-specific filter, e.g. the codes from which a random generator may draw.