Plugin Directory

Changeset 2131945


Ignore:
Timestamp:
08/01/2019 07:56:09 AM (7 years ago)
Author:
calj
Message:

readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calj/trunk/readme.txt

    r2131936 r2131945  
    3131The `caljshabbat` shortcode accepts several directives, which you can arrange the way you want in your pages.
    3232
    33 * `[caljshabbat val="city.name"]`
    34   Prints the name of the location for which you are showing the times. You may configure the city on the CalJ API configuration page.
     33* Print the name of the current week's Parasha.
     34Available languages are: `en`, `fr`, `he`, `ru`.
    3535
    36 * `[caljshabbat val="shabbat.parasha"]`
    37   Prints the name of the current week's Parasha.
     36  `[caljshabbat val="shabbat.parasha" lang="he"]`
    3837
    39 * `[caljshabbat val="shabbat.parasha" lang="he"]`
    40   Prints the name of the current week's Parasha in Hebrew.
    41   Available languages are: `en`, `fr`, `he`, `ru`.
    4238
    43 * `[caljshabbat val="shabbat.begins"]`
    44   Prints the candle-lighting time for the forthcoming Shabbat, in 24-hour format (example: `18:41`).
     39* Print the candle-lighting time for the forthcoming Shabbat, in 24-hour format (example: `18:41`).
    4540
    46 * `[caljshabbat val="shabbat.beginsHour12"]`
    47   Prints the hour of candle-lighting time, in 12-hour format (example: `6`).
     41  `[caljshabbat val="shabbat.begins"]`
    4842
    49 * `[caljshabbat val="shabbat.beginsHour24"]`
    50   Prints the hour of candle-lighting time, in 12-hour format (example: `18`).
    5143
    52 * `[caljshabbat val="shabbat.beginsMinute"]`
    53   Prints the minute of candle-lighting time (example: `41`).
     44* Print the hour of candle-lighting time, in 12-hour format (example: `6`).
    5445
    55 * `[caljshabbat val="shabbat.ends"]`
    56   Prints the end of shabbat, in 24-hour format.
     46  `[caljshabbat val="shabbat.beginsHour12"]`
     47
     48
     49* Print the hour of candle-lighting time, in 24-hour format (example: `18`).
     50
     51  `[caljshabbat val="shabbat.beginsHour24"]`
     52
     53
     54* Print the minute of candle-lighting time (example: `41`).
     55
     56  `[caljshabbat val="shabbat.beginsMinute"]`
     57
     58
     59* Print the end of shabbat, in 24-hour format.
    5760  Note that you can use `endsHour12`, `endsHour24` and `endsMinute` too.
    5861
    59 * `[caljshabbat val="shabbat.day"]`
    60   Prints the day of month (secular) of Shabbat.
     62  `[caljshabbat val="shabbat.ends"]`
    6163
    62 * `[caljshabbat val="shabbat.month"]`
    63   Prints the month number (secular) of Shabbat.
    6464
    65 * `[caljshabbat val="shabbat.monthName" lang="fr"]`
    66   Prints the name of the secular month of Saturday, in specified language (example: `août`).
    67   Available languages are: `en`, `fr`, `he`, `ru`.
     65* Print the day of month (secular) of Shabbat.
    6866
    69 * `[caljshabbat val="shabbat.year"]`
    70   Prints the year (secular) of Shabbat.
     67  `[caljshabbat val="shabbat.day"]`
    7168
    72 * `[caljshabbat val="shabbat.fridayDay"]`
    73   Prints the day of month (secular) of Friday.
    7469
    75 * `[caljshabbat val="shabbat.fridayMonth"]`
    76   Prints the month number (secular) of Friday.
     70* Prints the month number (secular) of Shabbat.
    7771
    78 * `[caljshabbat val="shabbat.fridayMonthName" lang="en"]`
    79   Prints the name of the secular month of Friday, in specified language (example: `July`).
    80   Available languages are: `en`, `fr`, `he`, `ru`.
     72  `[caljshabbat val="shabbat.month"]`
    8173
    82 * `[caljshabbat val="shabbat.fridayYear"]`
    83   Prints the year (secular) of Friday.
    8474
    85 * `[caljshabbat val="shabbat.jday"]`
    86   Prints the day of month (Jewish) of Shabbat.
     75* Print the name of the secular month of Saturday, in specified language (example: `août`).
    8776
    88 * `[caljshabbat val="shabbat.jmonthName"]`
    89   Prints the name of the Jewish month of Shabbat.
     77  `[caljshabbat val="shabbat.monthName" lang="fr"]`
    9078
    91 * `[caljshabbat val="shabbat.jmonthName" lang="ru"]`
    92   Prints the name of the Jewish month of Shabbat in Russian.
    93   Available languages are: `en`, `fr`, `he`, `ru`.
    9479
    95 * `[caljshabbat val="shabbat.jyear"]`
    96   Prints the Jewish year of Shabbat.
     80* Print the year (secular) of Shabbat.
    9781
    98 * `[caljshabbat val="dafyomi.string"]`
    99   Prints the Daf Yomi of the current day.
     82  `[caljshabbat val="shabbat.year"]`
     83
     84
     85* Print the day of month (secular) of Friday.
     86
     87  `[caljshabbat val="shabbat.fridayDay"]`
     88
     89
     90* Print the month number (secular) of Friday.
     91
     92  `[caljshabbat val="shabbat.fridayMonth"]`
     93
     94
     95* Print the name of the secular month of Friday, in specified language (example: `July`).
     96
     97  `[caljshabbat val="shabbat.fridayMonthName" lang="en"]`
     98
     99
     100* Print the year (secular) of Friday.
     101
     102  `[caljshabbat val="shabbat.fridayYear"]`
     103
     104
     105* Print the day of month (Jewish) of Shabbat.
     106
     107  `[caljshabbat val="shabbat.jday"]`
     108
     109
     110* Print the name of the Jewish month of Shabbat.
     111
     112  `[caljshabbat val="shabbat.jmonthName"]`
     113
     114
     115* Print the name of the Jewish month of Shabbat in specified language.
     116
     117  `[caljshabbat val="shabbat.jmonthName" lang="ru"]`
     118
     119
     120* Print the Jewish year of Shabbat.
     121
     122  `[caljshabbat val="shabbat.jyear"]`
     123
     124
     125* Print the Daf Yomi of the current day.
     126
     127  `[caljshabbat val="dafyomi.string"]`
     128
    100129
    101130= With multiple cities =
     
    104133display the times for a selected city by its code:
    105134
    106 `[caljshabbat city="Montreal" val="shabbat.begins"]`
     135  `[caljshabbat city="Montreal" val="shabbat.begins"]`
    107136
    108137
Note: See TracChangeset for help on using the changeset viewer.