Template: Transcript

From LibrePlanet
Jump to: navigation, search
(Example: Try styling)
(Add intro)
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Format the transcript of a speech or video in a readable way.
 
Format the transcript of a speech or video in a readable way.
  
It's used in conjunction with the [[Template:Video]] and the [[Template:Well]] for better results.
+
It's used in conjunction with the [[Template:VideoWebM]] and the [[Template:Well]] for better results.
  
 
== Usage ==
 
== Usage ==
  
 
<nowiki>
 
<nowiki>
{{Transcript|
+
{{Transcript|insert introduction here, with links if any|
  
Insert text of the speech here, including {{Well|highlighted sentence}} and {{Video|URL of video|Caption of video}} if you have that.
+
Insert text of the speech here, including {{Well|highlighted sentence}} and {{VideoWebM|URL of video|Caption of video}} if you have that.
  
 
You may use any number of Wells and Videos for your speech (e.g. different versions of the video, and several highlighted sentences.)
 
You may use any number of Wells and Videos for your speech (e.g. different versions of the video, and several highlighted sentences.)
Line 22: Line 22:
 
The above example will look like:
 
The above example will look like:
  
{{Transcript|
+
{{Transcript|insert introduction here, with links if any|
  
Insert text of the speech here, including {{Well|highlighted sentence}} and {{Video|URL of video|Caption of video}} if you have that.
+
Insert text of the speech here, including highlighted sentence {{Well|highlighted sentence}} and video {{VideoWebM|URL of video|Caption of video}} if you have that.
  
 
You may use any number of Wells and Videos for your speech (e.g. different versions of the video, and several highlighted sentences.)
 
You may use any number of Wells and Videos for your speech (e.g. different versions of the video, and several highlighted sentences.)
Line 31: Line 31:
  
 
</noinclude>
 
</noinclude>
<includeonly><nowiki><style><![CDATA[ /* TODO: move that to the site's stylesheet */
+
<includeonly><div class="transcript" style="font-family: sans-serif; font-size: larger"><div style="border:2px solid grey; padding: 1em; margin-bottom: 2em;">{{{1}}}</div>{{{2}}}</div></includeonly>
 
 
div.transcript { font-family: sans-serif; font-size: larger }
 
div.transcript p { max-width: 30em; }
 
 
 
]]></style></nowiki><div class="transcript">{{{$1}}}</div></includeonly>
 

Latest revision as of 15:56, 2 October 2013

Purpose

Format the transcript of a speech or video in a readable way.

It's used in conjunction with the Template:VideoWebM and the Template:Well for better results.

Usage

{{Transcript|insert introduction here, with links if any| Insert text of the speech here, including {{Well|highlighted sentence}} and {{VideoWebM|URL of video|Caption of video}} if you have that. You may use any number of Wells and Videos for your speech (e.g. different versions of the video, and several highlighted sentences.) Once the speech is done, don't forget to close the tag with }}

Example

The above example will look like:


insert introduction here, with links if any
Insert text of the speech here, including highlighted sentence
highlighted sentence
and video
<video controls="controls">

<source src="URL of video" type='video/webm; codecs="vp8, vorbis"' />

</video>

Caption of video

if you have that.

You may use any number of Wells and Videos for your speech (e.g. different versions of the video, and several highlighted sentences.)

Once the speech is done, don't forget to close the tag with