summaryrefslogtreecommitdiff
path: root/modules/help_mod_components.tpl
blob: 1cf53bfa8cfc32f8eb06a3153057e7f73e318516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<p class="note">
	{tr}Display images from the stock gallery. If <kbd>maxlen</kbd> is set, the image's title is shown, and truncated to the specified number of letters. If <kbd class="param">description</kbd> is set, the image's description is shown and can be truncated by setting <kbd>maxlendesc</kbd>. <kbd>recent_users</kbd> will display the most recent image from the most recent users.{/tr}
	<br />
	<span class="example">{tr}Example:{/tr} <kbd>sort_mode=hits&amp;maxlen=111&amp;description=yes&amp;maxlendesc=222</kbd></span>
</p>

<dl>
	<dt class="param"><kbd>sort_mode</kbd></dt>
	<dd><em>{tr}String{/tr}</em></dd>
	<dd><abbr title="{tr}default{/tr}" class="default">random</abbr>, created, hits</dd>

	<dt class="param"><kbd>maxlen</kbd></dt>
	<dd><em>{tr}Boolean{/tr}</em></dd>

	<dt class="param"><kbd>description</kbd></dt>
	<dd><em>{tr}Boolean{/tr}</em></dd>

	<dt class="param"><kbd>maxlendesc</kbd></dt>
	<dd><em>{tr}Numeric{/tr}</em></dd>

	<dt class="param"><kbd>recent_users</kbd></dt>
	<dd><em>{tr}Boolean{/tr}</em></dd>
</dl>