Template:Transcript

From PZwiki
Notebook.pngTemplate Documentation

This template is used to format transcripts. Most transcripts have been taken directly from the game files and converted into readable wiki entries.

Files
  • Radio and TV: media/radio/RadioData.xml
  • CD and VHS: media/lua/shared/Translate/EN/Recorded_Media_EN.txt
    • This is extracted and auto-generated from: media/lua/shared/RecordedMedia/recorded_media.lua

Will from The Indie Stone has stated the following regarding the state of media in the game: “I think it's likely that as other features go into the game I will be returning to improve it all” - so expect changes.

If you wish to use an open-source program to extract the XML file into (nearly) completed wiki entries, contact Thing II (talk).

Usage

Basic usage

{{Transcript
|text=
'''person1:''' blah blah blah
'''person2:''' blah blah blah
}}

Using timestamps and icon
Using timestamp and endstamp will create an anchor, so it can be used for anchor links, e.g. [[Template:Transcript#timestamp_5400]] or [[Template:Transcript#endstamp_5730]]. This is particularly useful for references to link to a particular transcript, especially for pages with multiple transcripts, such as radio channels.

{{Transcript
|timestamp=5400
|endstamp=5730
|icon=radio
|text=
'''person1:''' blah blah blah
'''person2:''' blah blah blah
}}

Using {{Transcript/row}}
This subtemplate is used to create "blocks" for each person/source, rather than repeating the person's name for each line, and keeping the indented styling. Each person's dialogue should be contained within a /row.

{{Transcript
|timestamp=5400
|endstamp=5730
|icon=radio
|text=
{{Transcript/row|person1|blah blah blah}}
{{Transcript/row|person2|blah blah blah}}
}}

Using {{mood}} and {{xp}}
These templates can be used alongside the {{tooltip}} to show the moodle effect and experience gained from listening to the dialogue.

{{Transcript
|timestamp=5400
|endstamp=5730
|icon=radio
|text=
{{Transcript/row|person1|{{tooltip|blah blah blah|Boredom {{mood|-1}}}}}}
{{Transcript/row|person2|{{tooltip|blah blah blah|Aiming {{xp|1}}}}
}}

Parameters

icon
The icon to be displayed. See the list of presets. Do not add File: as this is already added by the template.
text
The text of the transcript to be displayed.
date
Date for the beginning of the broadcast. Should be in ISO 8601 format (yyyy-mm-dd) so it changes based on user preference. Default format is mdy.
time_start
Time for the broadcast to start. Should be in 24-hour time.
time_end
Time for the broadcast to end. Should be in 24-hour time.
timestamp
Timestamp from the beginning of the broadcast. Displayed as a tooltip for time_start. This will also create an anchor, which can be linked to by prepending timestamp_, e.g. #timestamp_360.
endstamp
Timestamp for the end of the broadcast. Displayed as a tooltip for time_end. This will also create an anchor, which can be linked to by prepending endstamp_, e.g. #endstamp_360.

Icon presets

This is a list of preset icons. Input is case-insensitive. A custom icon can be used with |icon=Image.png.

  • radio = Radio.png
  • tv = Television.png
  • vhs = Cassette3.png
  • cd = Disc.png
  • novel = Novel1.png
  • book = Book.png
  • newspaper = Newspaper.png
  • map = Map.png
  • notebook = Notebook.png
  • paper = Paper.png
  • default = Paper.png

Examples

Without using {{Transcript/row}} and timestamp

Timestamp: 5400 – 5730

Radio.png

person1: This is Jackie Jaye on LBMW.
person2: And I'm Frank Hemingway.
person2: This news report will contain information many listeners will find shocking.
person1: We have verified survivor accounts and shocking images from inside the Exclusion Zone.
person2: There IS violence...
person2: ...terrible violence in there.
person2: In one image, circulated between civilians on the border-line...
person2: ... a man appears with...
person2: ... with his arm unattached...
person2: ... and apparently unconcerned at his severe injury.
person1: This morning's statement by the President...
person1: ... suggested that there was a receding chance of recovery.
person2: But still a chance.
person1: This new evidence would suggest this is...
person1: ... an exaggeration.
person2: We have pressed officials for an official response.
person2: Jackie Jaye and Frank Hemingway, keeping you informed.

Using {{Transcript/row}}, time/date and {{mood}}

Using {{Transcript/row}} to create "blocks" for each person, rather than repeating the person's name for each line, and keeping the indented styling.

Date: July 12, 1993
Time: 18:0023:30

Radio.png

Jackie:

This is Jackie Jaye on LBMW.

Frank:

And I'm Frank Hemingway.
This news report will contain information many listeners will find shocking.

Jackie:

We have verified survivor accounts and shocking images from inside the Exclusion Zone.

Frank:

There IS violence...
...terrible violence in there.
In one image, circulated between civilians on the border-line...
... a man appears with...
... with his arm unattached...
... and apparently unconcerned at his severe injury.

Jackie:

This morning's statement by the President...
... suggested that there was a receding chance of recovery.

Frank:

But still a chance.

Jackie:

This new evidence would suggest this is...
... an exaggeration.

Frank:

We have pressed officials for an official response.
Jackie Jaye and Frank Hemingway, keeping you informed.

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| date = Date
| time = Time
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Attribution

Editors can experiment in this template's sandbox.