4a6dd7d50fa1bc172e8f6a4638e75ae20314c399
[idea/community.git] / resources-en / src / fileTemplates / includes / File Header.java.html
1 <html>
2 <body>
3 <table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
4   <tr>
5     <td><font face="verdana" size="-1">This is a built-in template. It contains a code fragment that can be included into file templates
6       (<i>Templates</i> tab) with the help of the <b>#parse</b> directive.<br>
7       The template is editable. Along with static text, code and comments, you can also use predefined variables
8       that will then be expanded like macros into the corresponding values.</font><br>
9     </td>
10   </tr>
11 </table>
12 <table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
13   <tr>
14     <td colspan="3"><font face="verdana" size="-1">Predefined variables will take the following values:</font></td>
15   </tr>
16   <tr>
17     <td valign="top"><nobr><font face="verdana" size="-2"><b>${PACKAGE_NAME}</b></font></nobr></td>
18     <td width="10">&nbsp;</td>
19     <td width="100%" valign="top"><font face="verdana" size="-1">name of the package in which the new file is created</font></td>
20   </tr>
21   <tr>
22     <td valign="top"><nobr><font face="verdana" size="-2"><b>${USER}</b></font></nobr></td>
23     <td width="10">&nbsp;</td>
24     <td width="100%" valign="top"><font face="verdana" size="-1">current user system login name</font></td>
25   </tr>
26   <tr>
27     <td valign="top"><nobr><font face="verdana" size="-2"><b>${DATE}</b></font></nobr></td>
28     <td width="10">&nbsp;</td>
29     <td width="100%" valign="top"><font face="verdana" size="-1">current system date</font></td>
30   </tr>
31   <tr>
32     <td valign="top"><nobr><font face="verdana" size="-2"><b>${TIME}</b></font></nobr></td>
33     <td width="10">&nbsp;</td>
34     <td width="100%" valign="top"><font face="verdana" size="-1">current system time</font></td>
35   </tr>
36   <tr>
37     <td valign="top"><nobr><font face="verdana" size="-2"><b>${YEAR}</b></font></nobr></td>
38     <td width="10">&nbsp;</td>
39     <td width="100%" valign="top"><font face="verdana" size="-1">current year</font></td>
40   </tr>
41   <tr>
42     <td valign="top"><nobr><font face="verdana" size="-2"><b>${MONTH}</b></font></nobr></td>
43     <td width="10">&nbsp;</td>
44     <td width="100%" valign="top"><font face="verdana" size="-1">current month</font></td>
45   </tr>
46   <tr>
47     <td valign="top"><nobr><font face="verdana" size="-2"><b>${MONTH_NAME_SHORT}</b></font></nobr></td>
48     <td width="10">&nbsp;</td>
49     <td width="100%" valign="top"><font face="verdana" size="-1">first 3 letters of the current month name. Example: Jan, Feb, etc.</font></td>
50   </tr>
51   <tr>
52     <td valign="top"><nobr><font face="verdana" size="-2"><b>${MONTH_NAME_FULL}</b></font></nobr></td>
53     <td width="10">&nbsp;</td>
54     <td width="100%" valign="top"><font face="verdana" size="-1">full name of the current month. Example: January, February, etc.</font></td>
55   </tr>
56   <tr>
57     <td valign="top"><nobr><font face="verdana" size="-2"><b>${DAY}</b></font></nobr></td>
58     <td width="10">&nbsp;</td>
59     <td width="100%" valign="top"><font face="verdana" size="-1">current day of the month</font></td>
60   </tr>
61   <tr>
62     <td valign="top"><nobr><font face="verdana" size="-2"><b>${HOUR}</b></font></nobr></td>
63     <td width="10">&nbsp;</td>
64     <td width="100%" valign="top"><font face="verdana" size="-1">current hour</font></td>
65   </tr>
66   <tr>
67     <td valign="top"><nobr><font face="verdana" size="-2"><b>${MINUTE}</b></font></nobr></td>
68     <td width="10">&nbsp;</td>
69     <td width="100%" valign="top"><font face="verdana" size="-1">current minute</font></td>
70   </tr>
71   <tr>
72     <td valign="top"><nobr><font face="verdana" size="-2"><b>${PROJECT_NAME}</b></font></nobr></td>
73     <td width="10">&nbsp;</td>
74     <td width="100%" valign="top"><font face="verdana" size="-1">the name of the current project</font></td>
75   </tr>
76 </table>
77 </body>
78 </html>