Difference between revisions of "Template:Datum"

From emcawiki
Jump to: navigation, search
 
(56 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 10: Line 11:
 
|Geographic location=
 
|Geographic location=
 
|Context=
 
|Context=
 +
|Linguistic medium=
 
|Targeted languages=
 
|Targeted languages=
 
|Recording length=
 
|Recording length=
|Ethnographic notes=
+
|Data download URL=
|Selected sources=
+
|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 37: Line 43:
 
! Context
 
! Context
 
| [[Context::{{{Context|}}}]]
 
| [[Context::{{{Context|}}}]]
 +
|-
 +
! Linguistic medium
 +
| {{#arraymap:{{{Linguistic medium|}}}|,|x|[[LinguisticMedium::x]]}}
 
|-
 
|-
 
! Targeted languages
 
! Targeted languages
Line 44: Line 53:
 
| {{#arraymap:{{{Recording length|}}}|,|x|[[RecordingLength::x]]}}
 
| {{#arraymap:{{{Recording length|}}}|,|x|[[RecordingLength::x]]}}
 
|-
 
|-
! Ethnographic notes
+
! Download other file formats
| [[EthnographicNotes::{{{Ethnographic notes|}}}]]
+
| [[DataDownloadURL::{{{DataDownloadURL|}}}]]
 +
|
 +
 
 +
|}
 +
 
 +
{| 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>
 
|-
 
|-
! Selected sources
+
! colspan="2"| {{#widget:Iframe
| {{#arraymap:{{{Selected sources|}}}|,|x|[[SelectedSources::x]]}}
+
|url=https://mfr.osf.io/render?url=https%3A%2F%2Fosf.io%2Fdownload%2F{{{MediaURL}}}%2F%3Fdirect%3D%26mode%3Drender
 +
|border=0
 +
}}
 +
[https://osf.io/download/{{{MediaURL}}}/ Download video file]
 +
|}
 +
 
 +
==Transcript==
 +
{{#widget:Iframe
 +
|url=https://mfr.osf.io/render?url=https%3A%2F%2Fosf.io%2Fdownload%2F{{{TranscriptPDFURL}}}%2F%3Fdirect%3D%26mode%3Drender
 +
|width=600
 +
|border=0
 +
}}
 +
------
 +
[https://osf.io/download/{{{TranscriptPDFURL}}} Download transcript as txt] | [{{{DataDownloadURL}}} Download other file formats] (Word/PDF/CLAN etc.)
 +
 
  
|}
 
  
 
[[Category:Datum]]
 
[[Category:Datum]]
 
</includeonly>
 
</includeonly>

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.