Difference between revisions of "Stardate"

From Contao Community Documentation

m
m (Insert-Tag Overview)
Line 46: Line 46:
 
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 />
<pre>
+
<source lang="text">
 
  {{stardate::TODAY}}
 
  {{stardate::TODAY}}
 
  {{cache_stardate:TODAY}}
 
  {{cache_stardate:TODAY}}
</pre>
+
</source>
 
Image:<br />
 
Image:<br />
<pre>
+
<source lang="text">
 
  {{stardate::TODAYGT}}
 
  {{stardate::TODAYGT}}
 
  {{stardate::TODAYGT::gttagname}}
 
  {{stardate::TODAYGT::gttagname}}
 
  {{cache_stardate::TODAYGT::gttagname}}
 
  {{cache_stardate::TODAYGT::gttagname}}
</pre>
+
</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 61:
 
[[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 />
<pre>
+
<source lang="text">
 
  {{stardate::FS}}
 
  {{stardate::FS}}
 
  {{cache_stardate:FS}}
 
  {{cache_stardate:FS}}
</pre>
+
</source>
 
Image:<br />
 
Image:<br />
<pre>
+
<source lang="text">
 
  {{stardate::FSGT}}
 
  {{stardate::FSGT}}
 
  {{stardate::FSGT::gttagname}}
 
  {{stardate::FSGT::gttagname}}
 
  {{cache_stardate::FSGT::gttagname}}
 
  {{cache_stardate::FSGT::gttagname}}
</pre>
+
</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 76:
 
[[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 />
<pre>
+
<source lang="text">
 
  {{stardate::TK}}
 
  {{stardate::TK}}
 
  {{cache_stardate:TK}}
 
  {{cache_stardate:TK}}
</pre>
+
</source>
 
Image:<br />
 
Image:<br />
<pre>
+
<source lang="text">
 
  {{stardate::TKGT}}
 
  {{stardate::TKGT}}
 
  {{stardate::TKGT::gttagname}}
 
  {{stardate::TKGT::gttagname}}
 
  {{cache_stardate::TKGT::gttagname}}
 
  {{cache_stardate::TKGT::gttagname}}
</pre>
+
</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 91:
 
[[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:
<pre>
+
<source lang="text">
 
  {{stardate::XI}}
 
  {{stardate::XI}}
 
  {{cache_stardate:XI}}
 
  {{cache_stardate:XI}}
</pre>
+
</source>
 
Image:
 
Image:
<pre>
+
<source lang="text">
 
  {{stardate::XIGT}}
 
  {{stardate::XIGT}}
 
  {{stardate::XIGT::gttagname}}
 
  {{stardate::XIGT::gttagname}}
 
  {{cache_stardate::XIGT::gttagname}}
 
  {{cache_stardate::XIGT::gttagname}}
</pre>
+
</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 107:
 
[[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:
<pre>
+
<source lang="text">
 
  {{stardate::TNG2323}}
 
  {{stardate::TNG2323}}
 
  {{cache_stardate:TNG2323}}
 
  {{cache_stardate:TNG2323}}
</pre>
+
</source>
 
Image:
 
Image:
<pre>
+
<source lang="text">
 
  {{stardate::TNG2323GT}}
 
  {{stardate::TNG2323GT}}
 
  {{stardate::TNG2323GT::gttagname}}
 
  {{stardate::TNG2323GT::gttagname}}
 
  {{cache_stardate::TNG2323GT::gttagname}}
 
  {{cache_stardate::TNG2323GT::gttagname}}
</pre>
+
</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 123:
 
[[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:
<pre>
+
<source lang="text">
 
  {{stardate::TNG2322}}
 
  {{stardate::TNG2322}}
 
  {{cache_stardate:TNG2322}}
 
  {{cache_stardate:TNG2322}}
</pre>
+
</source>
 
Image:
 
Image:
<pre>
+
<source lang="text">
 
  {{stardate::TNG2322GT}}
 
  {{stardate::TNG2322GT}}
 
  {{stardate::TNG2322GT::gttagname}}
 
  {{stardate::TNG2322GT::gttagname}}
 
  {{cache_stardate::TNG2322GT::gttagname}}
 
  {{cache_stardate::TNG2322GT::gttagname}}
</pre>
+
</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 139:
 
[[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:
<pre>
+
<source lang="text">
 
  {{stardate::TOS}}
 
  {{stardate::TOS}}
 
  {{cache_stardate:TOS}}
 
  {{cache_stardate:TOS}}
</pre>
+
</source>
 
Image:
 
Image:
<pre>
+
<source lang="text">
 
  {{stardate::TOSGT}}
 
  {{stardate::TOSGT}}
 
  {{stardate::TOSGT::gttagname}}
 
  {{stardate::TOSGT::gttagname}}
 
  {{cache_stardate::TOSGT::gttagname}}
 
  {{cache_stardate::TOSGT::gttagname}}
</pre>
+
</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 />

Revision as of 13:52, 2 October 2010

I'm not a native English speaker. Please correct my mistakes.

Stardate
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.


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


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

Stardate
Source: trekguide.com
Output 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

Stardate
Source: trekguide.com
Output 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

Stardate
Source: TrekConnection.com
Output 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

Stardate
Source: trekguide.com
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.

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)

Stardate
Source: lcars.org.uk
Output 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)

Stardate
Source: trekguide.com
Output 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

Stardate
Source: trekguide.com
Output 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".
gttagname


--BugBuster 00:38, 26 September 2010 (CEST)

Views
Personal tools

Contao Community Documentation

In other languages
Navigation
Discover
Understand
Enhance
Miscellaneous
Tools