Difference between revisions of "Stardate"
From Contao Community Documentation
(→Insert-Tag Overview) |
m |
||
(9 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
'''''I'm not a native English speaker. Please correct my mistakes.''''' | '''''I'm not a native English speaker. Please correct my mistakes.''''' | ||
− | + | ||
[[File:Module_stardate_all.jpg|right|Stardate]]The module generates over insert-tags, the Star Trek<sup style="font-size: 0.9em;">®</sup> Stardate. | [[File:Module_stardate_all.jpg|right|Stardate]]The module generates over insert-tags, the Star Trek<sup style="font-size: 0.9em;">®</sup> 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.<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 /> | ||
+ | ==Fictional Stardate Today== | ||
+ | [[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 /> | ||
+ | <source lang="text"> | ||
+ | {{stardate::FS}} | ||
+ | {{cache_stardate::FS}} | ||
+ | </source> | ||
+ | Image:<br /> | ||
+ | <source lang="text"> | ||
+ | {{stardate::FSGT}} | ||
+ | {{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. | ||
+ | <br /><br /> | ||
+ | ==Fictional Stardate TK== | ||
+ | [[File:Module_stardate_tk.jpg|left|Stardate]]Source: TrekConnection.com<br />Output as a positive number for today.<br /> | ||
+ | Text:<br /> | ||
+ | <source lang="text"> | ||
+ | {{stardate::TK}} | ||
+ | {{cache_stardate::TK}} | ||
+ | </source> | ||
+ | Image:<br /> | ||
+ | <source lang="text"> | ||
+ | {{stardate::TKGT}} | ||
+ | {{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. | ||
+ | <br /><br /> | ||
+ | ==Stardate of Star Trek XI== | ||
+ | [[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: | ||
+ | <source lang="text"> | ||
+ | {{stardate::XI}} | ||
+ | {{cache_stardate::XI}} | ||
+ | </source> | ||
+ | Image: | ||
+ | <source lang="text"> | ||
+ | {{stardate::XIGT}} | ||
+ | {{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. | ||
+ | <br /><br /> | ||
+ | |||
+ | ==Stardate TNG (1)== | ||
+ | [[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: | ||
+ | <source lang="text"> | ||
+ | {{stardate::TNG2323}} | ||
+ | {{cache_stardate::TNG2323}} | ||
+ | </source> | ||
+ | Image: | ||
+ | <source lang="text"> | ||
+ | {{stardate::TNG2323GT}} | ||
+ | {{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. | ||
+ | <br /><br /> | ||
+ | |||
+ | ==Stardate TNG (2)== | ||
+ | [[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: | ||
+ | <source lang="text"> | ||
+ | {{stardate::TNG2322}} | ||
+ | {{cache_stardate::TNG2322}} | ||
+ | </source> | ||
+ | Image: | ||
+ | <source lang="text"> | ||
+ | {{stardate::TNG2322GT}} | ||
+ | {{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. | ||
+ | <br /><br /> | ||
+ | |||
+ | ==Stardate TOS== | ||
+ | [[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: | ||
+ | <source lang="text"> | ||
+ | {{stardate::TOS}} | ||
+ | {{cache_stardate::TOS}} | ||
+ | </source> | ||
+ | Image: | ||
+ | <source lang="text"> | ||
+ | {{stardate::TOSGT}} | ||
+ | {{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. | ||
+ | <br /><br /> | ||
+ | |||
+ | =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".<br /> | ||
+ | [[File:Module_stardate_gttagname.jpg|gttagname]] | ||
+ | <br /><br /> | ||
+ | ---- | ||
+ | --[[User:BugBuster|BugBuster]] 00:38, 26 September 2010 (CEST) |
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)