[Doc] Update template with docfx v2.37.2
[platform/core/csapi/tizenfx.git] / docs / template / tizen / partials / class.tmpl.partial
1 {{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
2
3 {{>partials/class.header}}
4 {{#children}}
5 <h3 id="{{id}}">{{>partials/classSubtitle}}</h3>
6 {{#children}}
7 {{^_disableContribution}}
8 {{#docurl}}
9 <span class="small pull-right mobile-hide">
10   <span class="divider">|</span>
11   <a href="{{docurl}}">{{__global.improveThisDoc}}</a>
12 </span>{{/docurl}}
13 {{#sourceurl}}
14 <span class="small pull-right mobile-hide">
15   <a href="{{sourceurl}}">{{__global.viewSource}}</a>
16 </span>{{/sourceurl}}
17 {{/_disableContribution}}
18 {{#overload}}
19 <a id="{{id}}" data-uid="{{uid}}"></a>
20 {{/overload}}
21 <h4 id="{{id}}" data-uid="{{uid}}">{{name.0.value}}</h4>
22 <div class="markdown level1 summary">{{{summary}}}</div>
23 <div class="markdown level1 conceptual">{{{conceptual}}}</div>
24 <h5 class="decalaration">{{__global.declaration}}</h5>
25 {{#syntax}}
26 <div class="codewrapper">
27   <pre><code class="lang-{{_lang}} hljs">{{syntax.content.0.value}}</code></pre>
28 </div>
29 {{#parameters.0}}
30 <h5 class="parameters">{{__global.parameters}}</h5>
31 <table class="table table-bordered table-striped table-condensed">
32   <thead>
33     <tr>
34       <th>{{__global.type}}</th>
35       <th>{{__global.name}}</th>
36       <th>{{__global.description}}</th>
37     </tr>
38   </thead>
39   <tbody>
40 {{/parameters.0}}
41 {{#parameters}}
42     <tr>
43       <td>{{{type.specName.0.value}}}</td>
44       <td><span class="parametername">{{{id}}}</span></td>
45       <td>{{{description}}}</td>
46     </tr>
47 {{/parameters}}
48 {{#parameters.0}}
49   </tbody>
50 </table>
51 {{/parameters.0}}
52 {{#return}}
53 <h5 class="returns">{{__global.returns}}</h5>
54 <table class="table table-bordered table-striped table-condensed">
55   <thead>
56     <tr>
57       <th>{{__global.type}}</th>
58       <th>{{__global.description}}</th>
59     </tr>
60   </thead>
61   <tbody>
62     <tr>
63       <td>{{{type.specName.0.value}}}</td>
64       <td>{{{description}}}</td>
65     </tr>
66   </tbody>
67 </table>
68 {{/return}}
69 {{#typeParameters.0}}
70 <h5 class="typeParameters">{{__global.typeParameters}}</h5>
71 <table class="table table-bordered table-striped table-condensed">
72   <thead>
73     <tr>
74       <th>{{__global.name}}</th>
75       <th>{{__global.description}}</th>
76     </tr>
77   </thead>
78   <tbody>
79 {{/typeParameters.0}}
80 {{#typeParameters}}
81     <tr>
82       <td><span class="parametername">{{{id}}}</span></td>
83       <td>{{{description}}}</td>
84     </tr>
85 {{/typeParameters}}
86 {{#typeParameters.0}}
87   </tbody>
88 </table>
89 {{/typeParameters.0}}
90 {{#fieldValue}}
91 <h5 class="fieldValue">{{__global.fieldValue}}</h5>
92 <table class="table table-bordered table-striped table-condensed">
93   <thead>
94     <tr>
95       <th>{{__global.type}}</th>
96       <th>{{__global.description}}</th>
97     </tr>
98   </thead>
99   <tbody>
100     <tr>
101       <td>{{{type.specName.0.value}}}</td>
102       <td>{{{description}}}</td>
103     </tr>
104   </tbody>
105 </table>
106 {{/fieldValue}}
107 {{#propertyValue}}
108 <h5 class="propertyValue">{{__global.propertyValue}}</h5>
109 <table class="table table-bordered table-striped table-condensed">
110   <thead>
111     <tr>
112       <th>{{__global.type}}</th>
113       <th>{{__global.description}}</th>
114     </tr>
115   </thead>
116   <tbody>
117     <tr>
118       <td>{{{type.specName.0.value}}}</td>
119       <td>{{{description}}}</td>
120     </tr>
121   </tbody>
122 </table>
123 {{/propertyValue}}
124 {{#eventType}}
125 <h5 class="eventType">{{__global.eventType}}</h5>
126 <table class="table table-bordered table-striped table-condensed">
127   <thead>
128     <tr>
129       <th>{{__global.type}}</th>
130       <th>{{__global.description}}</th>
131     </tr>
132   </thead>
133   <tbody>
134     <tr>
135       <td>{{{type.specName.0.value}}}</td>
136       <td>{{{description}}}</td>
137     </tr>
138   </tbody>
139 </table>
140 {{/eventType}}
141 {{/syntax}}
142 {{#overridden}}
143 <h5 class="overrides">{{__global.overrides}}</h5>
144 <div><xref uid="{{uid}}" altProperty="fullName" displayProperty="nameWithType"/></div>
145 {{/overridden}}
146 {{#remarks}}
147 <h5 id="{{id}}_remarks">{{__global.remarks}}</h5>
148 <div class="markdown level1 remarks">{{{remarks}}}</div>
149 {{/remarks}}
150
151 {{#sinceTizen}}
152 <h5 id="{{id}}_sinceTizen" class="sinceTizen">{{__global.sinceTizen}}</h5>
153 <span class="level1 sinceTizen">{{{sinceTizen}}}</span>
154 {{/sinceTizen}}
155 {{#pre}}
156 <h5 id="{{id}}_pre" class="preconditions">{{__global.pre}}</h5>
157 <div class="markdown level1 preconditions">{{{pre}}}</div>
158 {{/pre}}
159 {{#post}}
160 <h5 id="{{id}}_post" class="postconditions">{{__global.post}}</h5>
161 <div class="markdown level1 postconditions">{{{post}}}</div>
162 {{/post}}
163 {{#privlevel}}
164 <h5 id="{{id}}_privlevel" class="privlevel">{{__global.privlevel}}</h5>
165 <span class="markdown level1 privlevel">{{{privlevel}}}</span>
166 {{/privlevel}}
167 {{#privilege}}
168 <h5 id="{{id}}_privilege" class="privilege">{{__global.privilege}}</h5>
169 <div class="markdown level1 privilege">{{{privilege}}}</div>
170 {{/privilege}}
171 {{#feature}}
172 <h5 id="{{id}}_feature" class="feature">{{__global.feature}}</h5>
173 <div class="markdown level1 feature">{{{feature}}}</div>
174 {{/feature}}
175
176 {{#example.0}}
177 <h5 id="{{id}}_examples">{{__global.examples}}</h5>
178 {{/example.0}}
179 {{#example}}
180 {{{.}}}
181 {{/example}}
182 {{#exceptions.0}}
183 <h5 class="exceptions">{{__global.exceptions}}</h5>
184 <table class="table table-bordered table-striped table-condensed">
185   <thead>
186     <tr>
187       <th>{{__global.type}}</th>
188       <th>{{__global.condition}}</th>
189     </tr>
190   </thead>
191   <tbody>
192 {{/exceptions.0}}
193 {{#exceptions}}
194     <tr>
195       <td>{{{type.specName.0.value}}}</td>
196       <td>{{{description}}}</td>
197     </tr>
198 {{/exceptions}}
199 {{#exceptions.0}}
200   </tbody>
201 </table>
202 {{/exceptions.0}}
203 {{#seealso.0}}
204 <h5 id="{{id}}_seealso">{{__global.seealso}}</h5>
205 <div class="seealso">
206 {{/seealso.0}}
207 {{#seealso}}
208   {{#isCref}}
209     <div>{{{type.specName.0.value}}}</div>
210   {{/isCref}}
211   {{^isCref}}
212     <div>{{{url}}}</div>
213   {{/isCref}}
214 {{/seealso}}
215 {{#seealso.0}}
216 </div>
217 {{/seealso.0}}
218 {{/children}}
219 {{/children}}
220 {{#implements.0}}
221 <h3 id="implements">{{__global.implements}}</h3>
222 {{/implements.0}}
223 {{#implements}}
224 <div>
225   {{#definition}}
226     <xref uid="{{definition}}" altProperty="fullName" displayProperty="nameWithType"/>
227   {{/definition}}
228   {{^definition}}
229     <xref uid="{{uid}}" altProperty="fullName" displayProperty="nameWithType"/>
230   {{/definition}}
231 </div>
232 {{/implements}}
233 {{#extensionMethods.0}}
234 <h3 id="extensionmethods">{{__global.extensionMethods}}</h3>
235 {{/extensionMethods.0}}
236 {{#extensionMethods}}
237 <div>
238   {{#definition}}
239     <xref uid="{{definition}}" altProperty="fullName" displayProperty="nameWithType"/>
240   {{/definition}}
241   {{^definition}}
242     <xref uid="{{uid}}" altProperty="fullName" displayProperty="nameWithType"/>
243   {{/definition}}
244 </div>
245 {{/extensionMethods}}
246 {{#seealso.0}}
247 <h3 id="seealso">{{__global.seealso}}</h3>
248 <div class="seealso">
249 {{/seealso.0}}
250 {{#seealso}}
251   {{#isCref}}
252     <div>{{{type.specName.0.value}}}</div>
253   {{/isCref}}
254   {{^isCref}}
255     <div>{{{url}}}</div>
256   {{/isCref}}
257 {{/seealso}}
258 {{#seealso.0}}
259 </div>
260 {{/seealso.0}}