Difference between revisions of "Template:Infobox country languages/doc"

From blackwiki
Jump to navigation Jump to search
imported>16@r
m (misspelling)
imported>Vanisaac
m (→‎Tracking category: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(27 intermediate revisions by 21 users not shown)
Line 1: Line 1:
{{Template doc page}}
+
{{Documentation subpage}}
<!--
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
+
 
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
+
This template is an infobox intended to be used on articles named "Languages of X country"
-->
+
 
This template is an infobox intended to be used on articles named "Languages of X"
 
 
==Usage==
 
==Usage==
<pre>
+
All parameters are optional, except <kbd>country</kbd>.
{{Languages of
+
{{Parameter names example| country | image | image size | caption | official | semi-official | national | unofficial | main | indigenous | regional | vernacular | minority | immigrant | foreign | sign | keyboard | keyboard image | source
| country   = REQUIRED
+
}}
| image     =  
+
<pre style=overflow:auto; white-space:pre;>
| caption   =  
+
{{Infobox country languages
| official   =  
+
|country       =  
| unofficial =  
+
|image         =
| main       =  
+
|image size    =  
| regional   =  
+
|caption       =  
| indigenous =  
+
|official       =  
| minority   =  
+
|semi-official  =
| immigrant =  
+
|national      =
| foreign   =  
+
|unofficial     =  
| sign       =  
+
|main           =
| keyboard   =  
+
|indigenous    =  
| keyboard image =  
+
|regional       =  
 +
|vernacular    =  
 +
|minority       =  
 +
|immigrant     =  
 +
|foreign       =  
 +
|sign           =  
 +
|keyboard       =  
 +
|keyboard image =
 +
|source        =  
 
}}
 
}}
</pre>
+
</pre>{{-}}
Excepted country, all parameters are optional, but at least one language parameter should be filled in (for example official or unofficial).
 
  
 
==Example==
 
==Example==
 
+
{{Infobox country languages
{{Languages of
+
|country = France
| country   = France<small><ref>http://ec.europa.eu/public_opinion/archives/ebs/ebs_243_en.pdf</ref></small>
+
|official = French
| official = [[French language|French]]
+
|regional = Alsatian, Basque, Breton, Catalan, Corsican, Flemish, Franco-Provençal, Occitan, Oïl languages
| regional = [[Alsatian language|Alsatian]]; [[Basque language|Basque]]; [[Breton language|Breton]]; [[Catalan language|Catalan]]; [[Corsican language|Corsican]]; [[West Flemish language|Flemish]]; [[Franco-Provençal language|Franco-Provençal]]; [[Occitan language|Occitan]]; [[Oïl languages]] (except French)
+
|minority = Maghrebi Arabic, Portuguese, Italian, Spanish
| minority = <!--Please don't put too many languages here--> [[Maghrebi Arabic]]; [[Portuguese language|Portuguese]]; [[Italian language|Italian]]; [[Spanish language|Spanish]]
+
|foreign = {{ubl|English{{right|36%}}|Spanish{{right|13%}}|German{{right|8%}}}}
| foreign   = [[English language|English]] (36%) <br> [[Spanish language|Spanish]] (13%) <br> [[German language|German]] (8%)
+
|sign     = French Sign Language
| sign     = [[French Sign Language]]
 
 
}}
 
}}
 
+
<pre style=overflow:auto; white-space:pre;>
<pre style="overflow:auto;">
+
{{Infobox country languages
{{Languages of
+
|country = France
| country   = France<small><ref>http://ec.europa.eu/public_opinion/archives/ebs/ebs_243_en.pdf</ref></small>
+
|official = French
| official = [[French language|French]]
+
|regional = Alsatian, Basque, Breton, Catalan, Corsican, Flemish, Franco-Provençal, Occitan, Oïl languages
| regional = [[Alsatian language|Alsatian]]; [[Basque language|Basque]]; [[Breton language|Breton]]; [[Catalan language|Catalan]]; [[Corsican language|Corsican]]; [[West Flemish language|Flemish]]; [[Franco-Provençal language|Franco-Provençal]]; [[Occitan language|Occitan]]; [[Oïl languages]] (except French)
+
|minority = Maghrebi Arabic, Portuguese, Italian, Spanish
| minority = <!--Please don't put too many languages here--> [[Maghrebi Arabic]]; [[Portuguese language|Portuguese]]; [[Italian language|Italian]]; [[Spanish language|Spanish]]
+
|foreign = {{ubl|English{{right|36%}}|Spanish{{right|13%}}|German{{right|8%}}}}
| foreign   = [[English language|English]] (36%) <br> [[Spanish language|Spanish]] (13%) <br> [[German language|German]] (8%)
+
|sign     = French Sign Language
| sign     = [[French Sign Language]]
 
 
}}
 
}}
</pre>
+
</pre>{{-}}
{{-}}
 
 
 
== References ==
 
 
 
<references/>
 
 
 
==See also==
 
*[[Wikipedia:WikiProject Linguistics]]
 
 
 
<includeonly>
 
 
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
 
 
 
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
  
 +
== Tracking category ==
 +
* {{clc|Pages using Infobox country languages with unknown parameters}}
  
</includeonly>
+
<includeonly>{{Sandbox other||
 +
<!--Categories below this line, please; interwikis at Wikidata-->
 +
[[Category:Country infobox templates|Languages]]
 +
[[Category:Language infobox templates|Country languages]]
 +
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Latest revision as of 18:31, 25 April 2020

This template is an infobox intended to be used on articles named "Languages of X country"

Usage

All parameters are optional, except country. Template:Parameter names example

{{Infobox country languages
 |country        = 
 |image          = 
 |image size     = 
 |caption        = 
 |official       = 
 |semi-official  = 
 |national       = 
 |unofficial     = 
 |main           = 
 |indigenous     = 
 |regional       = 
 |vernacular     = 
 |minority       = 
 |immigrant      = 
 |foreign        = 
 |sign           = 
 |keyboard       = 
 |keyboard image = 
 |source         = 
}}

Example

Languages of France
OfficialFrench
RegionalAlsatian, Basque, Breton, Catalan, Corsican, Flemish, Franco-Provençal, Occitan, Oïl languages
MinorityMaghrebi Arabic, Portuguese, Italian, Spanish
ForeignTemplate:Ubl
SignedFrench Sign Language
{{Infobox country languages
 |country  = France
 |official = French
 |regional = Alsatian, Basque, Breton, Catalan, Corsican, Flemish, Franco-Provençal, Occitan, Oïl languages
 |minority = Maghrebi Arabic, Portuguese, Italian, Spanish
 |foreign  = {{ubl|English{{right|36%}}|Spanish{{right|13%}}|German{{right|8%}}}}
 |sign     = French Sign Language
}}

Tracking category