Difference between revisions of "Template:Datum"

From emcawiki
Jump to: navigation, search
 
(29 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Datum
 
{{Datum
 +
|Corpus=
 
|Corpus ID=
 
|Corpus ID=
 
|Vernacular title=
 
|Vernacular title=
Line 13: Line 14:
 
|Targeted languages=
 
|Targeted languages=
 
|Recording length=
 
|Recording length=
 +
|Data download URL=
 +
|Transcript PDF URL=
 +
|Media URL=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
</noinclude><includeonly>{| style="width: 40em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 +
|-
 +
! Corpus
 +
| [[Corpus::{{{Corpus|}}}]]
 
|-
 
|-
 
! Corpus ID
 
! Corpus ID
Line 45: Line 52:
 
! Recording length
 
! Recording length
 
| {{#arraymap:{{{Recording length|}}}|,|x|[[RecordingLength::x]]}}
 
| {{#arraymap:{{{Recording length|}}}|,|x|[[RecordingLength::x]]}}
 +
|-
 +
! Download other file formats
 +
| [[DataDownloadURL::{{{DataDownloadURL|}}}]]
 
|
 
|
  
 
|}
 
|}
  
{| style="width: 30em; height: 600px; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
{| style="width: 40em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:center;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">Recording</span>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">Recording</span>
 
|-
 
|-
! colspan="2" | {{#widget:Iframe
+
! colspan="2"| {{#widget:Iframe
|url=https://mfr.osf.io/render?url=https%3A%2F%2Fosf.io%2Fdownload%2F{{{OSFID}}}%2F%3Fdirect%3D%26mode%3Drender
+
|url=https://mfr.osf.io/render?url=https%3A%2F%2Fosf.io%2Fdownload%2F{{{MediaURL}}}%2F%3Fdirect%3D%26mode%3Drender
 
|border=0
 
|border=0
 
}}
 
}}
 +
[https://osf.io/download/{{{MediaURL}}}/ Download video file]
 
|}
 
|}
  
 
+
==Transcript==
 
{{#widget:Iframe
 
{{#widget:Iframe
|url=https://mfr.osf.io/render?url=https%3A%2F%2Fosf.io%2Fdownload%2F{{{OSFID}}}%2F%3Fdirect%3D%26mode%3Drender
+
|url=https://mfr.osf.io/render?url=https%3A%2F%2Fosf.io%2Fdownload%2F{{{TranscriptPDFURL}}}%2F%3Fdirect%3D%26mode%3Drender
 
|width=600
 
|width=600
 
|border=0
 
|border=0
 
}}
 
}}
 +
------
 +
[https://osf.io/download/{{{TranscriptPDFURL}}} Download transcript as txt] | [{{{DataDownloadURL}}} Download other file formats] (Word/PDF/CLAN etc.)
  
  

Latest revision as of 06:39, 21 January 2024

This is the "Datum" template. It should be called in the following format:

{{Datum
|Corpus=
|Corpus ID=
|Vernacular title=
|Date of incident=
|Location of incident=
|Geographic location=
|Context=
|Linguistic medium=
|Targeted languages=
|Recording length=
|Data download URL=
|Transcript PDF URL=
|Media URL=
}}

Edit the page to see the template text.