aboutsummaryrefslogtreecommitdiff
blob: 03dd1d5c742e81c36c196f7f1ef30cab589172d0 (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
[[for temp in templates]]
<a name="link_[[temp['template_name']]]"></a>
<div id="template">
[[if "mod_layer" in temp]]
	Layer: [[mod_layer]]<br>
[[end]]
[[if "mod_name" in temp]]
	Module: [[mod_name]]<br>
[[end]]
<div id="codeblock">
[[exec i = 0]]
<b>[[temp['template_name']]]</b>(
	[[for arg in temp['template_parameters']]]
		[[if i != 0]]
			,
		[[end]]
		[[exec i = 1]]
		[[if arg['optional'] == 'yes']]
			[
		[[end]]
		[[arg['name']]]
		[[if arg['optional'] == 'yes']]
			]
		[[end]]
	[[end]]
	)<br>
</div>
<div id="description">
[[if temp['template_summary']]]
<h5>Summary</h5>
[[temp['template_summary']]]
[[end]]
[[if temp['template_desc']]]
<h5>Description</h5>
[[temp['template_desc']]]
[[end]]
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="65%">
<tr><th >Parameter:</th><th >Description:</th></tr>
[[for arg in temp['template_parameters']]]
<tr><td>
[[arg['name']]]
</td><td>
[[arg['desc']]]
</td></tr>
[[end]]
</table>
</div>
</div>
[[end]]