Content:HistoryStats/Variables: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(missing </table>)
m (code styling)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
| ;;
| ;;
}}<table class="wikitable">
}}<table class="wikitable">
<th scope="col"> {{L10n:Content/TableHeaders | Variable}} </th>
<tr>
<th scope="col"> {{L10n:Content/TableHeaders | Description}} </th>
  <th scope="col"> {{L10n:Content/TableHeaders | Variable}} </th>
<th scope="col"> {{L10n:Content/TableHeaders | Example}} </th>
  <th scope="col"> {{L10n:Content/TableHeaders | Description}} </th>
  <th scope="col"> {{L10n:Content/TableHeaders | Example}} </th>
</tr>
{{  #loop: i
{{  #loop: i
   | 0                    <!-- loops start value for {{#var:i}} -->
   | 0                    <!-- loops start value for {{#var:i}} -->
   | {{#arraysize:HistoryStatsVariables}}  <!-- number of loops -->
   | {{#arraysize:HistoryStatsVariables}}  <!-- number of loops -->
   | <tr>
   | <tr>
       <td> {{#arrayindex:HistoryStatsVariables | {{#var:i}} }} </td>
       <td> <tt>{{#arrayindex:HistoryStatsVariables | {{#var:i}} }}</tt> </td>
       <td> {{L10n:HistoryStats/Variables/Description | {{#arrayindex:HistoryStatsVariables | {{#var:i}} }} }} </td>
       <td> {{L10n:HistoryStats/Variables/Description | {{#arrayindex:HistoryStatsVariables | {{#var:i}} }} }} </td>
       <td> {{Content:HistoryStats/Variables/Examples | {{#arrayindex:HistoryStatsVariables | {{#var:i}} }} }} </td>
       <td> {{Content:HistoryStats/Variables/Examples | {{#arrayindex:HistoryStatsVariables | {{#var:i}} }} }} </td>

Latest revision as of 18:51, 13 December 2015

Variable Description Example
%profile_path% Where your profile is stored (including trailing backslash) С:\Soft\Miranda NG\Profiles\
%profile_name% The name of your profile
%miranda_path% Location of Miranda32(64).exe (including trailing backslash) С:\Soft\Miranda NG\
%nick% Your nick (see Own nick for statistics option in the Output settings)
%h% Hour in 12-hour format without leading zero 1-12
%hh% Hour in 12-hour format with leading zero 01-12
%H% Hour in 24-hour format without leading zero 0-23
%HH% Hour in 24-hour format with leading zero 00-23
%tt% am/pm symbol in lower case am/pm
%TT% am/pm symbol in upper case AM/PM
%m% Minute without leading zero 0-59
%mm% Minute with leading zero 00-59
%s% Second without leading zero 0-59
%ss% Second with leading zero 00-59
%yy% Two-digit year without century 06
%yyyy% Four-digit year including century 2006
%M% Month without leading zero 1-12
%MM% Month with leading zero 01-12
%MMM% Abbreviated month name Jan, Feb, etc.
%MMMM% Full month name January, February, etc.
%d% Day without leading zero 1-31
%dd% Day with leading zero 01-31
%ww% Abbreviated day of week Mo, Tu, We, etc.
%www% Abbreviated day of week Mon, Tue, Wed, etc.
%wwww% Full day of week Monday, Tuesday, Wednesday
%% A single percent sign  %