Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Vidlink: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
Created page with "<noinclude> This template creates a link to a timestamped video on battlestarpegasus.com, including the timestamp in the link text, always in HH:MM:SS format. == Usage == <code><nowiki>{{vidlink|title|id|timestamp}}</nowiki></code> === Parameters === * '''title''': The text to display for the link (before the timestamp). * '''id''': The video ID (e.g., <code>yc16QzGMj</code>). * '''timestamp''': The timestamp in seconds (e.g., <code>100</code>). == Example == <code><n..."
 
Joe Beaudoin Jr. (talk | contribs)
No edit summary
 
Line 14: Line 14:


This will produce:
This will produce:
[[https://battlestarpegasus.com/view?m=yc16QzGMj&t=100 Awesome Video Moment]] (00:01:40)
[https://battlestarpegasus.com/view?m=yc16QzGMj&t=100 Awesome Video Moment] (00:01:40)


<code><nowiki>{{vidlink|Long Video Segment|someOtherID|3665}}</nowiki></code>
<code><nowiki>{{vidlink|Long Video Segment|someOtherID|3665}}</nowiki></code>


This will produce:
This will produce:
[[https://battlestarpegasus.com/view?m=someOtherID&t=3665 Long Video Segment]] (01:01:05)
[https://battlestarpegasus.com/view?m=someOtherID&t=3665 Long Video Segment] (01:01:05)
</noinclude><includeonly>[https://battlestarpegasus.com/view?m={{{2}}}&t={{{3}}} {{{1}}}] ({{#time:H:i:s|@{{{3}}}}})</includeonly>
</noinclude><includeonly>[https://battlestarpegasus.com/view?m={{{2}}}&t={{{3}}} {{{1}}}] ({{#time:H:i:s|@{{{3}}}}})</includeonly>

Latest revision as of 17:09, 20 July 2025

This template creates a link to a timestamped video on battlestarpegasus.com, including the timestamp in the link text, always in HH:MM:SS format.

{{vidlink|title|id|timestamp}}

Parameters

edit source
  • title: The text to display for the link (before the timestamp).
  • id: The video ID (e.g., yc16QzGMj).
  • timestamp: The timestamp in seconds (e.g., 100).

{{vidlink|Awesome Video Moment|yc16QzGMj|100}}

This will produce: Awesome Video Moment (00:01:40)

{{vidlink|Long Video Segment|someOtherID|3665}}

This will produce: Long Video Segment (01:01:05)