User

Difference between revisions of "Titodutta/sandbox1"

< User:Titodutta

(test)
(removing translation tags (Draft page))
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<languages/>
+
== Code 1 ==
<indicator name="stats"></indicator>
+
{{Colored box
{{#SUBTITLE:
+
| background-content-color =
<translate>  
+
| background-title-color = #36C
<!--T:13-->
+
| icon =
LinguaLibre Alpha release was announced on August 2018. By April 2019, 100,000 audios in 46 languages were available thanks to 128 variously active speakers. In January 2020, 200,000 audios in 82 languages thanks to 268 different speakers. In September 2020, the platform reached 300,000 recordings in 91 languages (357 speakers).
+
| title = Welcome to Lingua Libre, {{{user}}} !
</translate>
+
| title-color = #FFF
 +
| link =
 +
| link-color =
 +
| view-text =
 +
| content = [[File:Lingualibre-logo.svg|right|200px|link=|alt=Logo of Lingua Libre]]
 +
'''Lingua Libre''' is a project which aims to build a collaborative multilingual audiovisual corpus under free licence in order to expand knowledge about languages and help online language communities to develop. </br> '''You''' can help us!<br>
 +
 
 +
<small>You can visit [[Special:MyLanguage/LinguaLibre:About|this page]] if you want to learn more about the project.</small>
 +
<div style="display: flex; flex-direction: row; flex-wrap: wrap;"><!-- START OF CENTRAL FRAME -->
 +
<div style="display: flex; flex-direction: column; flex: 1 3 25em;"><!-- START OF LEFT FRAME -->
 +
{{Colored box
 +
| background-content-color =
 +
| background-title-color = #884DA7
 +
| icon =
 +
| title = Before starting
 +
| title-color = white
 +
| link =
 +
| link-color =
 +
| view-text =
 +
| content =
 +
<small>You can create [[Special:MyPage|your User page]] by clicking on it. We recommand that you integrate the babel template onto it. It is very useful to indicate to others the languages you speak, and to facilitate finding other persons speaking your languages. If you are not familiar with [[w:Help:Wikitext|wikicode]], you can go to [[User:WikiLucas00/User_Page_Demo|this demo User page]], click on modify (in order to access the code behind it), copy the content and paste it onto [[Special:MyPage|your user page]] before adapting it to your information. You can then publish your User page!</small>
 
}}
 
}}
 +
{{Colored box
 +
| background-content-color =
 +
| background-title-color = #00FF00
 +
| icon =
 +
| title = Do you need help?
 +
| title-color = white
 +
| link =
 +
| link-color =
 +
| view-text =
 +
| content =
 +
<small>You can visit [[Special:MyLanguage/Help:Main|this page]] where you will find advice for beginning your contributions on Lingua Libre. If you did not find the answer to your question, please ask it in the [[LinguaLibre:Chat_room|Chat room]].</small>
 +
}}
 +
</div><!-- END OF LEFT FRAME -->
 +
<div style="display: flex; flex-direction: column; flex: 3 1 25em;"><!-- START OF RIGHT FRAME -->
 +
{{Colored box
 +
| background-content-color =
 +
| background-title-color = #36C
 +
| icon =
 +
| title = Where to start?
 +
| title-color = #FFF
 +
| link =
 +
| link-color =
 +
| view-text =
 +
| content =
 +
* <small>Follow the steps of the [[Special:RecordWizard|Record Wizard]]</small>
 +
* <small>Think of the words you want to record. You may enter them one by one (live list), use an existing category from a Wiktionary or Wikipedia project, or [[Special:MyLanguage/Help:Create_your_own_lists|create your own list]].</small>
 +
}}
 +
{{Colored box
 +
| background-content-color =
 +
| background-title-color = orange
 +
| icon =
 +
| title = Good practice
 +
| title-color = #FFF
 +
| link =
 +
| link-color =
 +
| view-text =
 +
| content =
 +
* <small>Try to avoid background noises during the recording</small>
 +
* <small>Please listen to the pronunciations before uploading them</small>
 +
* <small>Consider using an external microphone</small>
 +
}}
 +
</div><!-- END OF RIGHT FRAME -->
 +
</div><!-- END OF CENTRAL FRAME -->
 +
Best regards! <nowiki>~~~~</nowiki>
 +
}}
 +
== Code 2 ==
  
<translate>
+
{{Colored box
== Global stats == <!--T:4-->
+
| background-content-color =  
 +
| background-title-color = #36C
 +
| icon =  
 +
| title = Welcome to Lingua Libre, Titodutta!
 +
| title-color = #FFF
 +
| link =
 +
| link-color =
 +
| view-text =
 +
| content = [[File:Lingualibre-logo.svg|right|200px|link=|alt=Logo of Lingua Libre]]
 +
'''Lingua Libre''' is a project which aims to build a collaborative multilingual audiovisual corpus under free licence in order to expand knowledge about languages and help online language communities to develop. </br> '''You''' can help us!<br>
  
<!--T:5-->
+
<small>You can visit [[Special:MyLanguage/LinguaLibre:About|this page]] if you want to learn more about the project.</small>
<query records="Records" speakers="Speakers" languages="Languages">
+
<div style="display: flex; flex-direction: row; flex-wrap: wrap;"><!-- START OF CENTRAL FRAME -->
SELECT
+
<div style="display: flex; flex-direction: column; flex: 1 3 25em;"><!-- START OF LEFT FRAME -->
(COUNT(DISTINCT ?record) AS ?records)
+
{{Colored box
(COUNT(DISTINCT ?speaker) AS ?speakers)
+
| background-content-color =
(COUNT(DISTINCT ?language) AS ?languages)
+
| background-title-color = #884DA7
WHERE {
+
| icon =
  ?record prop:P2 entity:Q2 .
+
| title = Before starting
  ?record prop:P5 ?speaker .
+
| title-color = white
  ?record prop:P4 ?language .
+
| link =
}
+
| link-color =
</query>
+
| view-text =
 
+
| content =
== Monthly activity == <!--T:25-->
+
<small>You can create [[Special:MyPage|your User page]] by clicking on it. We recommand that you integrate the babel template onto it. It is very useful to indicate to others the languages you speak, and to facilitate finding other persons speaking your languages. If you are not familiar with [[w:Help:Wikitext|wikicode]], you can go to [[User:WikiLucas00/User_Page_Demo|this demo User page]], click on modify (in order to access the code behind it), copy the content and paste it onto [[Special:MyPage|your user page]] before adapting it to your information. You can then publish your User page!</small>
 
+
}}
<!--T:26-->
+
{{Colored box
<query yearmonth="Date" records="New records" speakers="Active speakers" languages="Active languages">
+
| background-content-color =
SELECT
+
| background-title-color = #00FF00
?yearmonth
+
| icon =
(COUNT(DISTINCT ?record) AS ?records)
+
| title = Do you need help?
(COUNT(DISTINCT ?speaker) AS ?speakers)
+
| title-color = white
(COUNT(DISTINCT ?language) AS ?languages)
+
| link =
WHERE {
+
| link-color =
  ?record prop:P2 entity:Q2 .
+
| view-text =
  ?record prop:P6 ?date .
+
| content =
  ?record prop:P5 ?speaker .
+
<small>You can visit [[Special:MyLanguage/Help:Main|this page]] where you will find advice for beginning your contributions on Lingua Libre. If you did not find the answer to your question, please ask it in the [[LinguaLibre:Chat_room|Chat room]].</small>
  ?record prop:P4 ?language .
+
}}
  BIND( SUBSTR(str(?date), 0, 8) as ?yearmonth )
+
</div><!-- END OF LEFT FRAME -->
}
+
<div style="display: flex; flex-direction: column; flex: 3 1 25em;"><!-- START OF RIGHT FRAME -->
GROUP BY ?yearmonth
+
{{Colored box
ORDER BY ?yearmonth
+
| background-content-color =
</query>
+
| background-title-color = #36C
 
+
| icon =
== Number of records per languages == <!--T:1-->
+
| title = Where to start?
 
+
| title-color = #FFF
<!--T:6-->
+
| link =
<!-- NEEDED IMPROVEMENT FOR READABILITY : -->
+
| link-color =
<!-- * add column with language name in English, ex: bn,enench, Cantonese -->
+
| view-text =
<!-- * add column with iso3 code, ex: bn,ena, yue -->
+
| content =  
<query _pagination="10" language="Item (Language Qid)" code="ISO 639-3 code" nb="Number of records">
+
* <small>Follow the steps of the [[Special:RecordWizard|Record Wizard]]</small>
select ?language ?languageLabel ?code (COUNT(DISTINCT ?record) as ?nb)
+
* <small>Think of the words you want to record. You may enter them one by one (live list), use an existing category from a Wiktionary or Wikipedia project, or [[Special:MyLanguage/Help:Create_your_own_lists|create your own list]].</small>
where {
+
}}
  ?record prop:P2 entity:Q2 .
+
{{Colored box
  ?record prop:P4 ?language .
+
| background-content-color =
  OPTIONAL { ?language prop:P13 ?code }
+
| background-title-color = orange
  OPTIONAL { ?language rdfs:label ?languageLabel . FILTER (lang(?languageLabel) = "bn,en"). }
+
| icon =
}
+
| title = Good practice
GROUP BY ?language ?languageLabel ?code
+
| title-color = #FFF
ORDER BY DESC(?nb)
+
| link =
</query>
+
| link-color =
 
+
| view-text =
== The most prolific speakers == <!--T:2-->
+
| content =
 
+
* <small>Try to avoid background noises during the recording</small>
<!--T:8-->
+
* <small>Please listen to the pronunciations before uploading them</small>
<query _pagination="10" locutor="Item (locutor Qid)" locutorLabel="Speaker" nb="Number of records" languages="Spoken languages">
+
* <small>Consider using an external microphone</small>
    select ?locutor ?locutorLabel (COUNT(?record) as ?nb)
+
}}
    where {
+
</div><!-- END OF RIGHT FRAME -->
        ?record prop:P2 entity:Q2 .
+
</div><!-- END OF CENTRAL FRAME -->
        ?record prop:P5 ?locutor .
+
Best regards! [[User:Titodutta|টিটো দত্ত (Titodutta)]] ([[User talk:Titodutta|কথা]]) 10:02, 16 November 2020 (UTC)
        ?record prop:P4 ?lang .
+
}}
        #extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?record prop:P4 entity:[EXTRA] .
 
        SERVICE wikibase:label {
 
            bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
 
            ?locutor rdfs:label ?locutorLabel .
 
        }
 
    }
 
    GROUP BY ?locutor ?locutorLabel
 
    ORDER BY DESC(?nb)
 
    LIMIT 50
 
</query>
 
 
 
</translate>
 
__NOTOC__
 

Latest revision as of 10:45, 10 August 2021

Code 1

Welcome to Lingua Libre, {{{user}}} !
Logo of Lingua Libre

Lingua Libre is a project which aims to build a collaborative multilingual audiovisual corpus under free licence in order to expand knowledge about languages and help online language communities to develop.
You can help us!

You can visit this page if you want to learn more about the project.

Before starting

You can create your User page by clicking on it. We recommand that you integrate the babel template onto it. It is very useful to indicate to others the languages you speak, and to facilitate finding other persons speaking your languages. If you are not familiar with wikicode, you can go to this demo User page, click on modify (in order to access the code behind it), copy the content and paste it onto your user page before adapting it to your information. You can then publish your User page!

Do you need help?

You can visit this page where you will find advice for beginning your contributions on Lingua Libre. If you did not find the answer to your question, please ask it in the Chat room.

Where to start?
  • Follow the steps of the Record Wizard
  • Think of the words you want to record. You may enter them one by one (live list), use an existing category from a Wiktionary or Wikipedia project, or create your own list.
Good practice
  • Try to avoid background noises during the recording
  • Please listen to the pronunciations before uploading them
  • Consider using an external microphone

Best regards! ~~~~

Code 2

Welcome to Lingua Libre, Titodutta!
Logo of Lingua Libre

Lingua Libre is a project which aims to build a collaborative multilingual audiovisual corpus under free licence in order to expand knowledge about languages and help online language communities to develop.
You can help us!

You can visit this page if you want to learn more about the project.

Before starting

You can create your User page by clicking on it. We recommand that you integrate the babel template onto it. It is very useful to indicate to others the languages you speak, and to facilitate finding other persons speaking your languages. If you are not familiar with wikicode, you can go to this demo User page, click on modify (in order to access the code behind it), copy the content and paste it onto your user page before adapting it to your information. You can then publish your User page!

Do you need help?

You can visit this page where you will find advice for beginning your contributions on Lingua Libre. If you did not find the answer to your question, please ask it in the Chat room.

Where to start?
  • Follow the steps of the Record Wizard
  • Think of the words you want to record. You may enter them one by one (live list), use an existing category from a Wiktionary or Wikipedia project, or create your own list.
Good practice
  • Try to avoid background noises during the recording
  • Please listen to the pronunciations before uploading them
  • Consider using an external microphone

Best regards! টিটো দত্ত (Titodutta) (কথা) 10:02, 16 November 2020 (UTC)