Difference between revisions of "Stardate"
From Contao Community Documentation
m |
m |
||
(2 intermediate revisions by one user not shown) | |||
Line 4: | Line 4: | ||
With insert tags you can choose, according to which method of calculation and whether the return should take place as text or an image.<br /> | With insert tags you can choose, according to which method of calculation and whether the return should take place as text or an image.<br /> | ||
The image at right shows all types of calculation than image, at 2010-02-17 03:30 PM. | The image at right shows all types of calculation than image, at 2010-02-17 03:30 PM. | ||
+ | |||
+ | {{Hint|This page is no longer updated by the developer. | ||
+ | The current manual for the extension Stardate (Contao 4) can be found here: [http://docs.contao.ninja/en/stardate.html docs.contao.ninja]}} | ||
{{ExtInfo | {{ExtInfo | ||
Line 46: | Line 49: | ||
Output in the form: YYMM.DD, YY is YYYY-1900<br /> | Output in the form: YYMM.DD, YY is YYYY-1900<br /> | ||
Text:<br /> | Text:<br /> | ||
− | < | + | <source lang="text"> |
{{stardate::TODAY}} | {{stardate::TODAY}} | ||
− | {{cache_stardate:TODAY}} | + | {{cache_stardate::TODAY}} |
− | </ | + | </source> |
Image:<br /> | Image:<br /> | ||
− | < | + | <source lang="text"> |
{{stardate::TODAYGT}} | {{stardate::TODAYGT}} | ||
{{stardate::TODAYGT::gttagname}} | {{stardate::TODAYGT::gttagname}} | ||
{{cache_stardate::TODAYGT::gttagname}} | {{cache_stardate::TODAYGT::gttagname}} | ||
− | </ | + | </source> |
Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | ||
<br /><br /> | <br /><br /> | ||
Line 61: | Line 64: | ||
[[File:Module_stardate_fs.jpg|left|Stardate]]Source: trekguide.com<br />Output as a positive number for today. Stardate 00000.0 begins on 7/14/1946 6:00 PM<br /> | [[File:Module_stardate_fs.jpg|left|Stardate]]Source: trekguide.com<br />Output as a positive number for today. Stardate 00000.0 begins on 7/14/1946 6:00 PM<br /> | ||
Text:<br /> | Text:<br /> | ||
− | < | + | <source lang="text"> |
{{stardate::FS}} | {{stardate::FS}} | ||
− | {{cache_stardate:FS}} | + | {{cache_stardate::FS}} |
− | </ | + | </source> |
Image:<br /> | Image:<br /> | ||
− | < | + | <source lang="text"> |
{{stardate::FSGT}} | {{stardate::FSGT}} | ||
{{stardate::FSGT::gttagname}} | {{stardate::FSGT::gttagname}} | ||
{{cache_stardate::FSGT::gttagname}} | {{cache_stardate::FSGT::gttagname}} | ||
− | </ | + | </source> |
Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | ||
<br /><br /> | <br /><br /> | ||
Line 76: | Line 79: | ||
[[File:Module_stardate_tk.jpg|left|Stardate]]Source: TrekConnection.com<br />Output as a positive number for today.<br /> | [[File:Module_stardate_tk.jpg|left|Stardate]]Source: TrekConnection.com<br />Output as a positive number for today.<br /> | ||
Text:<br /> | Text:<br /> | ||
− | < | + | <source lang="text"> |
{{stardate::TK}} | {{stardate::TK}} | ||
− | {{cache_stardate:TK}} | + | {{cache_stardate::TK}} |
− | </ | + | </source> |
Image:<br /> | Image:<br /> | ||
− | < | + | <source lang="text"> |
{{stardate::TKGT}} | {{stardate::TKGT}} | ||
{{stardate::TKGT::gttagname}} | {{stardate::TKGT::gttagname}} | ||
{{cache_stardate::TKGT::gttagname}} | {{cache_stardate::TKGT::gttagname}} | ||
− | </ | + | </source> |
Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | ||
<br /><br /> | <br /><br /> | ||
Line 91: | Line 94: | ||
[[File:Module_stardate_stxi.jpg|left|Stardate]]Source: trekguide.com<br />Output as a positive number for today. Output in the form: YYYY.xx , YYYY is the current year, xx the 100th Part of the year.<br /> | [[File:Module_stardate_stxi.jpg|left|Stardate]]Source: trekguide.com<br />Output as a positive number for today. Output in the form: YYYY.xx , YYYY is the current year, xx the 100th Part of the year.<br /> | ||
Text: | Text: | ||
− | < | + | <source lang="text"> |
{{stardate::XI}} | {{stardate::XI}} | ||
− | {{cache_stardate:XI}} | + | {{cache_stardate::XI}} |
− | </ | + | </source> |
Image: | Image: | ||
− | < | + | <source lang="text"> |
{{stardate::XIGT}} | {{stardate::XIGT}} | ||
{{stardate::XIGT::gttagname}} | {{stardate::XIGT::gttagname}} | ||
{{cache_stardate::XIGT::gttagname}} | {{cache_stardate::XIGT::gttagname}} | ||
− | </ | + | </source> |
Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | ||
<br /><br /> | <br /><br /> | ||
Line 107: | Line 110: | ||
[[File:Module_stardate_tng1.jpg|left|Stardate]]Source: lcars.org.uk<br />Output as a negative number for today. Stardate 00000.0 begins on 0/01/2323 00:00 AM<br /> | [[File:Module_stardate_tng1.jpg|left|Stardate]]Source: lcars.org.uk<br />Output as a negative number for today. Stardate 00000.0 begins on 0/01/2323 00:00 AM<br /> | ||
Text: | Text: | ||
− | < | + | <source lang="text"> |
{{stardate::TNG2323}} | {{stardate::TNG2323}} | ||
− | {{cache_stardate:TNG2323}} | + | {{cache_stardate::TNG2323}} |
− | </ | + | </source> |
Image: | Image: | ||
− | < | + | <source lang="text"> |
{{stardate::TNG2323GT}} | {{stardate::TNG2323GT}} | ||
{{stardate::TNG2323GT::gttagname}} | {{stardate::TNG2323GT::gttagname}} | ||
{{cache_stardate::TNG2323GT::gttagname}} | {{cache_stardate::TNG2323GT::gttagname}} | ||
− | </ | + | </source> |
Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | ||
<br /><br /> | <br /><br /> | ||
Line 123: | Line 126: | ||
[[File:Module_stardate_tng2.jpg|left|Stardate]]Source: trekguide.com<br />Output as a negative number for today. Stardate 00000.0 begins on 05/25/2322 00:00 AM<br /> | [[File:Module_stardate_tng2.jpg|left|Stardate]]Source: trekguide.com<br />Output as a negative number for today. Stardate 00000.0 begins on 05/25/2322 00:00 AM<br /> | ||
Text: | Text: | ||
− | < | + | <source lang="text"> |
{{stardate::TNG2322}} | {{stardate::TNG2322}} | ||
− | {{cache_stardate:TNG2322}} | + | {{cache_stardate::TNG2322}} |
− | </ | + | </source> |
Image: | Image: | ||
− | < | + | <source lang="text"> |
{{stardate::TNG2322GT}} | {{stardate::TNG2322GT}} | ||
{{stardate::TNG2322GT::gttagname}} | {{stardate::TNG2322GT::gttagname}} | ||
{{cache_stardate::TNG2322GT::gttagname}} | {{cache_stardate::TNG2322GT::gttagname}} | ||
− | </ | + | </source> |
Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | ||
<br /><br /> | <br /><br /> | ||
Line 139: | Line 142: | ||
[[File:Module_stardate_tos.jpg|left|Stardate]]Source: trekguide.com<br />Output as a negative number for today. Stardate 00000.0 begins on 05/01/2265 00:00 AM<br /> | [[File:Module_stardate_tos.jpg|left|Stardate]]Source: trekguide.com<br />Output as a negative number for today. Stardate 00000.0 begins on 05/01/2265 00:00 AM<br /> | ||
Text: | Text: | ||
− | < | + | <source lang="text"> |
{{stardate::TOS}} | {{stardate::TOS}} | ||
− | {{cache_stardate:TOS}} | + | {{cache_stardate::TOS}} |
− | </ | + | </source> |
Image: | Image: | ||
− | < | + | <source lang="text"> |
{{stardate::TOSGT}} | {{stardate::TOSGT}} | ||
{{stardate::TOSGT::gttagname}} | {{stardate::TOSGT::gttagname}} | ||
{{cache_stardate::TOSGT::gttagname}} | {{cache_stardate::TOSGT::gttagname}} | ||
− | </ | + | </source> |
Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | Where "[[Stardate#Determination_the_.22gttagname.22|gttagname]]" the name chosen in [[GraphicalText]] module. If no declaration, "Stardate" used as the default. | ||
<br /><br /> | <br /><br /> |
Latest revision as of 23:11, 11 May 2019
I'm not a native English speaker. Please correct my mistakes.
The module generates over insert-tags, the Star Trek® Stardate.With insert tags you can choose, according to which method of calculation and whether the return should take place as text or an image.
The image at right shows all types of calculation than image, at 2010-02-17 03:30 PM.
Hint: | This page is no longer updated by the developer.
The current manual for the extension Stardate (Contao 4) can be found here: docs.contao.ninja |
Extension-Overview | |
---|---|
Name of the developer | Glen Langer (BugBuster) |
Developer Website | http://www.contao.glen-langer.de |
Version of the extension | 0.1.0 |
Compatibility with Contao Version | from 2.9 |
Compatibility with TYPOlight Version | 2.8.0 - 2.8.4 |
Link to Extension Repository | http://www.contao.org/extension-list/view/stardate.html |
Donate the developer | Cappuccino |
Link to Tracker | http://dev.typolight-forge.org/projects/stardate/issues |
Depending of ff. Extension | GraphicalText (optional) |
Comment | German demo on www.ncc1969.de |
Contents
Forum
Questions about the Stardate module will be answered in forum: Forum
Errors and requests can be reported in the Issue Tracker.
Installation
The installation of the module occurs about the extension Repository in back end of Contao.
A manual installation is possible. Download the ZIP file from Extension Repository, unzip and transfer it.
A directory should have been created "/system/modules/stardate".
Then call /contao/install.php - Perform Update Database.
( /typolight/install.php in older TYPOlight installations )
Use in the frontend
The module used insert-tags. It can be selected the type (text / image), whether the generated values into the page cache (if activated) or newly generated each time. Both are controlled by corresponding parameters.
Insert-Tag Overview
The names have been formed on the source or the series.
Stardate Today
Source: trekguide.comOutput as a positive number for today.
Output in the form: YYMM.DD, YY is YYYY-1900
Text:
{{stardate::TODAY}} {{cache_stardate::TODAY}}
Image:
{{stardate::TODAYGT}} {{stardate::TODAYGT::gttagname}} {{cache_stardate::TODAYGT::gttagname}}
Where "gttagname" the name chosen in GraphicalText module. If no declaration, "Stardate" used as the default.
Fictional Stardate Today
Source: trekguide.comOutput as a positive number for today. Stardate 00000.0 begins on 7/14/1946 6:00 PM
Text:
{{stardate::FS}} {{cache_stardate::FS}}
Image:
{{stardate::FSGT}} {{stardate::FSGT::gttagname}} {{cache_stardate::FSGT::gttagname}}
Where "gttagname" the name chosen in GraphicalText module. If no declaration, "Stardate" used as the default.
Fictional Stardate TK
Source: TrekConnection.comOutput as a positive number for today.
Text:
{{stardate::TK}} {{cache_stardate::TK}}
Image:
{{stardate::TKGT}} {{stardate::TKGT::gttagname}} {{cache_stardate::TKGT::gttagname}}
Where "gttagname" the name chosen in GraphicalText module. If no declaration, "Stardate" used as the default.
Stardate of Star Trek XI
Source: trekguide.comOutput as a positive number for today. Output in the form: YYYY.xx , YYYY is the current year, xx the 100th Part of the year.
Text:
{{stardate::XI}} {{cache_stardate::XI}}
Image:
{{stardate::XIGT}} {{stardate::XIGT::gttagname}} {{cache_stardate::XIGT::gttagname}}
Where "gttagname" the name chosen in GraphicalText module. If no declaration, "Stardate" used as the default.
Stardate TNG (1)
Source: lcars.org.ukOutput as a negative number for today. Stardate 00000.0 begins on 0/01/2323 00:00 AM
Text:
{{stardate::TNG2323}} {{cache_stardate::TNG2323}}
Image:
{{stardate::TNG2323GT}} {{stardate::TNG2323GT::gttagname}} {{cache_stardate::TNG2323GT::gttagname}}
Where "gttagname" the name chosen in GraphicalText module. If no declaration, "Stardate" used as the default.
Stardate TNG (2)
Source: trekguide.comOutput as a negative number for today. Stardate 00000.0 begins on 05/25/2322 00:00 AM
Text:
{{stardate::TNG2322}} {{cache_stardate::TNG2322}}
Image:
{{stardate::TNG2322GT}} {{stardate::TNG2322GT::gttagname}} {{cache_stardate::TNG2322GT::gttagname}}
Where "gttagname" the name chosen in GraphicalText module. If no declaration, "Stardate" used as the default.
Stardate TOS
Source: trekguide.comOutput as a negative number for today. Stardate 00000.0 begins on 05/01/2265 00:00 AM
Text:
{{stardate::TOS}} {{cache_stardate::TOS}}
Image:
{{stardate::TOSGT}} {{stardate::TOSGT::gttagname}} {{cache_stardate::TOSGT::gttagname}}
Where "gttagname" the name chosen in GraphicalText module. If no declaration, "Stardate" used as the default.
Determination the "gttagname"
The "gttagname" is the "Tag" name as it was created in the back end module in the graphical text. The overview is the name in the first column in edit mode the field "Tag".
--BugBuster 00:38, 26 September 2010 (CEST)