aboutsummaryrefslogtreecommitdiff
path: root/help.html
blob: 74a0b56bdd40262a34dd5ac482d07e054281b58b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<h2>kch42_gravatar</h2>

<p>This Plugin gives you an STE tag, which will return the <a href="http://www.gravatar.com">Gravatar</a> of the person, who written a comment.</p>
<p>This tag is: <code>&lt;ste:kch42_gravatar /&gt;</code>.</p>

<h3>How to use this tag</h3>

<p>The tag will return a HTML <code>&lt;img /&gt;</code> tag.</p>

<p>The tag will accept these parameters:</p>

<p>
	<table>
		<thead>
			<tr>
				<th>Parameter name</th>
				<th>Mandatory?</th>
				<th>Default value</th>
				<th>Description</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td><code>comment</code></td>
				<td><strong>Yes</strong></td>
				<td>&nbsp;</td>
				<td>Name of a variable that contains information about a comment (usually generated by <code>&lt;ste:article_comments /&gt;</code>)</td>
			</tr>
			<tr>
				<td><code>size</code></td>
				<td>No</td>
				<td>80</td>
				<td>Size of image in pixels.</td>
			</tr>
			<tr>
				<td><code>default</code></td>
				<td>No</td>
				<td>identicon</td>
				<td>The default image, if no Gravatar is available. Can be a URL to an image or one of <a href="http://gravatar.com/site/implement/images/#default-image">Gravatar's default values</a>.</td>
			</tr>
			<tr>
				<td><code>rating</code></td>
				<td>No</td>
				<td>g</td>
				<td>One of <a href="http://gravatar.com/site/implement/images/#rating">Gravatar's rating values</a>.</td>
			</tr>
			<tr>
				<td><code>style</code></td>
				<td>No</td>
				<td>&nbsp;</td>
				<td>Additional (CSS) styles for the image.</td>
			</tr>
		</tbody>
	</table>
</p>