Revision as of 05:16, 20 February 2014 editWbm1058 (talk | contribs)Autopatrolled, Administrators265,445 edits not sending a parameter to template:ISO 15924 direction will transclude an {{error}}← Previous edit | Revision as of 14:31, 22 March 2014 edit undoSardanaphalus (talk | contribs)119,752 edits label formatting (linewrapping), proportional units (em rather than px)Next edit → | ||
Line 1: | Line 1: | ||
{{Infobox | |||
{{ infobox | |||
| |
| bodystyle = {{{bodystyle|}}} | ||
|abjad |] | |||
|consonantary |] = palegreen | |||
|alphabet |] = lightblue | |||
|abugida |] = navajowhite | |||
|syllabary |] = pink | |||
|semisyllabary|] = magenta | |||
|manual |] = paleturquoise | |||
|pictographic |] = palegoldenrod | |||
|ideographic |] = gold | |||
|logographic |]|] = mistyrose | |||
|stenography |] | |||
|shorthand |] = {{#switch:{{LC:{{{SHtype|}}}}} | |||
|abjadi |] = palegreen | |||
|consonantal |] = palegreen | |||
|alphabetic |] = lightblue | |||
|abugida |] = navajowhite | |||
|syllabic |] = pink | |||
|semisyllabic |] = magenta | |||
|undeciphered = gainsboro | |||
|alternative = khaki | |||
|#default = turquoise | |||
}} | |||
|undeciphered = gainsboro | |||
|alternative = khaki | |||
|tactile = white; font-variant:small-caps | |||
|#default = white | |||
}}; color:{{#switch:{{lc:{{{SHform|}}}}} | |||
|cursive |printed = #303030 | |||
|stenographic = #405000 | |||
|geometric = #005020 | |||
|semi-script = #600000 | |||
|elliptical = #600000 | |||
|script-geometric = #600000 | |||
|script = #500030 | |||
|#default = black | |||
}}; {{#switch:{{lc:{{{mode|}}}}} | |||
|tactile = font-variant:small-caps; | |||
|stenographic |] | |||
|shorthand |] = font-style:italic | |||
|manual = font-style:italic; font-variant:small-caps; | |||
|#default = | |||
}} | |||
| abovestyle = | |||
| bodystyle = {{{bodystyle|}}} | |||
background:<!-- | |||
| above = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}<br>{{{altname|}}} | |||
-->{{#switch:{{LC:{{{type|}}}}} | |||
|abjad |] | |||
|consonantary |] = palegreen | |||
|alphabet |] = lightblue | |||
|abugida |] = navajowhite | |||
|syllabary |] = pink | |||
|semisyllabary |] = magenta | |||
|manual |] = paleturquoise | |||
|pictographic |] = palegoldenrod | |||
|ideographic |] = gold | |||
|logographic |] |] = mistyrose | |||
|stenography |] | |||
|shorthand |] = <!-- | |||
-->{{#switch:{{LC:{{{SHtype|}}}}} | |||
|abjadi |] = palegreen | |||
|consonantal |] = palegreen | |||
|alphabetic |] = lightblue | |||
|abugida |] = navajowhite | |||
|syllabic |] = pink | |||
|semisyllabic |] = magenta | |||
|undeciphered = gainsboro | |||
|alternative = khaki | |||
|#default = turquoise | |||
}} | |||
|undeciphered = gainsboro | |||
|alternative = khaki | |||
|tactile = white;font-variant:small-caps | |||
|#default = white | |||
}};<!-- | |||
-->color:{{#switch:{{lc:{{{SHform|}}}}} | |||
|cursive |printed = #303030 | |||
|stenographic = #405000 | |||
|geometric = #005020 | |||
|semi-script = #600000 | |||
|elliptical = #600000 | |||
|script-geometric = #600000 | |||
|script = #500030 | |||
|#default = black | |||
}};<!-- | |||
-->{{#switch:{{lc:{{{mode|}}}}} | |||
|tactile = font-variant:small-caps | |||
|stenographic |] | |||
|shorthand |] = font-style:italic | |||
|manual = font-style:italic;font-variant:small-caps | |||
|#default = | |||
}}; | |||
| above = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}<br/>{{{altname|}}} | |||
| image |
| image = {{#if:{{{sample<includeonly>|</includeonly>}}}|]}} | ||
| caption |
| caption = {{{caption|}}} | ||
| label1 = Type | |||
| data1 = {{#if:{{{SHline|}}}|{{{SHline|}}}-line|}} {{{SHform|}}} {{{SHtype|}}} {{{mode|}}} {{{type<includeonly>|</includeonly>}}} {{{typedesc<includeonly>|</includeonly>}}} | |||
| |
| label1 = Type | ||
| |
| data1 = {{#if:{{{SHline|}}}|{{{SHline|}}}-line|}} {{{SHform|}}} {{{SHtype|}}} {{{mode|}}} {{{type<includeonly>|</includeonly>}}} {{{typedesc<includeonly>|</includeonly>}}} | ||
| |
| label2 = Languages | ||
| |
| data2 = {{{languages<includeonly>|</includeonly>}}} | ||
| |
| label3 = Creator | ||
| |
| data3 = {{{creator<includeonly>|</includeonly>}}} | ||
| |
| label4 = Created | ||
| |
| data4 = {{#if:{{{date<includeonly>|</includeonly>}}}|{{{date}}} }} | ||
| label5 = Published | |||
| data5 = {{#if:{{{SHdates<includeonly>|</includeonly>}}}|{{{SHdates}}} }} {{#if:{{{published<includeonly>|</includeonly>}}}|{{{published}}} }} | |||
| label6 |
| label6 = {{longitem|Time period}} | ||
| data6 |
| data6 = {{{time<includeonly>|</includeonly>}}} | ||
| label7 |
| label7 = Status | ||
| data7 |
| data7 = {{{status<includeonly>|</includeonly>}}} | ||
| label8 |
| label8 = {{#if:{{{fam1|{{{family<includeonly>|</includeonly>}}}}}}|{{longitem|Parent systems}}}} | ||
| data8 |
| data8 = {{#if:{{{fam1|{{{family<includeonly>|</includeonly>}}}}}} | | ||
<div style="line-height:100%;"> | |||
{{{fam1|{{{family}}}}}}< |
{{{fam1|{{{family}}}}}}<!-- | ||
--><ul style="margin-left:0.9em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam2|}}}|{{{fam2}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam3|}}}|{{{fam3}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam4|}}}|{{{fam4}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam5|}}}|{{{fam5}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam6|}}}|{{{fam6}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam7|}}}|{{{fam7}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam8|}}}|{{{fam8}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam9|}}}|{{{fam9}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam10|}}}|{{{fam10}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam11|}}}|{{{fam11}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam12|}}}|{{{fam12}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam13|}}}|{{{fam13}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{#if:{{{fam14|}}}|{{{fam14}}}<!-- | |||
--><ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><!-- | |||
--><li>{{#if:{{{fam15|}}} |{{{fam15}}} <ul style="margin-left:0.3em;padding-left:0;line-height:100%;"><li>{{{name}}}</li></ul> |{{{name}}} }}</li><!-- | |||
| {{{name}}} | |||
}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}} | --></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> |{{{name}}}}}</li></ul> | ||
}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}} | |||
}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}}}}</li></ul>| {{{name}}} | |||
}}</li></ul>| {{{name}}}}}</li></ul> | |||
</div>}} | </div>}} | ||
| label9 |
| label9 = {{longitem|Print basis}} | ||
| data9 |
| data9 = {{{print<includeonly>|</includeonly>}}} | ||
| label10 |
| label10 = {{longitem|Child systems}} | ||
| data10 |
| data10 = {{{children<includeonly>|</includeonly>}}} | ||
| label11 |
| label11 = {{longitem|Sister systems}} | ||
| data11 |
| data11 = {{{sisters<includeonly>|</includeonly>}}} | ||
| label12 |
| label12 = ] | ||
| data12 |
| data12 = <noinclude><tt><nowiki>{{{iso15924|}}}</nowiki><tt></noinclude>{{#if:{{ISO 15924 code|{{{iso15924|}}}|default=}} |<tt>{{ISO 15924 code|{{{iso15924|}}} }}, {{ISO 15924 number|{{{iso15924|}}} }}</tt>}} | ||
| label13 = | |||
-->{{#if:{{ISO 15924 code|{{{iso15924|}}}|default=}}|<!-- | |||
| data13 = {{#if:{{{iso15924 note<includeonly>|</includeonly>}}} |<tt>{{{iso15924 note<includeonly>|</includeonly>}}}</tt>}} | |||
--><tt>{{ISO 15924 code|{{{iso15924|}}} }}, <!-- | |||
| label14 = Direction | |||
-->{{ISO 15924 number|{{{iso15924|}}} }}</tt><!-- | |||
| data14 = {{#if:{{{iso15924|}}} |{{ISO 15924 direction|{{{iso15924|}}}|rtl=Right-to-left|ltr=Left-to-right|ttb=Top-to-bottom|default=|mixed=Mixed}}}} | |||
-->}} | |||
| label15 = {{longitem|Unicode alias}} | |||
| label13 = | |||
| |
| data15 = {{#if:{{{iso15924|}}} |{{ISO 15924 alias|{{{iso15924|}}}}}}} | ||
| label16 = ] | |||
| label14 = Direction | |||
| data16 = {{{unicode<includeonly>|</includeonly>}}} | |||
| data14 = {{#if:{{{iso15924|}}}|{{ISO 15924 direction|{{{iso15924|}}}|rtl=Right-to-left|ltr=Left-to-right|ttb=Top-to-bottom|default=|mixed=Mixed}}}} | |||
| data17 = {{#if:{{{footnotes<includeonly>|</includeonly>}}} |<div style="text-align:left;"> | |||
| label15 = Unicode alias | |||
| data15 = {{#if:{{{iso15924|}}}|{{ISO 15924 alias|{{{iso15924|}}}}}}} | |||
| label16 = ] | |||
| data16 = {{{unicode<includeonly>|</includeonly>}}} | |||
| data17 = {{#if:{{{footnotes<includeonly>|</includeonly>}}}|<div style="text-align: left"> | |||
{{{footnotes}}}</div>}} | {{{footnotes}}}</div>}} | ||
| below = {{#ifeq:{{{note|}}}|none||'''This article contains ] phonetic symbols.''' Without proper ], you may see ] instead of ] characters.}} | |||
| belowclass = noprint selfref navbox-abovebelow | | belowclass = noprint selfref navbox-abovebelow | ||
| belowstyle = padding:0.3em 0.5em;text-align:left;line-height:1.3; | | belowstyle = padding:0.3em 0.5em;text-align:left;line-height:1.3; | ||
| below = {{#ifeq:{{{note|}}}|none | |'''This article contains ] phonetic symbols.''' Without proper ], you may see ] instead of ] characters.}} | |||
}}<noinclude> | }}<noinclude> | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
{{ |
{{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 14:31, 22 March 2014
{{{name}}} | |
---|---|
] | |
Type | {{{type}}} {{{typedesc}}} |
Languages | {{{languages}}} |
Creator | {{{creator}}} |
Created | {{{date}}} |
Published | {{{SHdates}}} {{{published}}} |
Time period | {{{time}}} |
Status | {{{status}}} |
Parent systems |
{{{family}}}
|
Print basis | {{{print}}} |
Child systems | {{{children}}} |
Sister systems | {{{sisters}}} |
ISO 15924 | {{{iso15924|}}} |
{{{iso15924 note}}} | |
Unicode range | {{{unicode}}} |
{{{footnotes}}} | |
This article contains IPA phonetic symbols. Without proper rendering support, you may see question marks, boxes, or other symbols instead of Unicode characters. |
This is the template sandbox page for Template:Infobox writing system (diff). See also the companion subpage for test cases. |
name | |
---|---|
caption | |
Type | type typedesc |
Languages | languages |
Creator | creator |
Created | date |
Published | published |
Time period | time |
Status | status |
Parent systems |
family
|
Print basis | |
Child systems | children |
Sister systems | sisters |
iso15924 note | |
Unicode range | unicode |
footnotes | |
This article contains IPA phonetic symbols. Without proper rendering support, you may see question marks, boxes, or other symbols instead of Unicode characters. |
This template uses Lua: |
Syntax
{{Infobox writing system | name = | altname = <!-- 2ary name --> | type = <!-- see options below --> | qid = <!-- The following three fields, prefixed SH (ShortHand), are used only if the type parameter is set as "shorthand" or "stenography": --> | SHline = <!-- "light" or "heavy" - heavy-line shorthands distinguish thick and thin strokes --> | SHtype = <!-- see options below --> | SHform = <!-- see options below --> | typedesc = <!-- additional info after the general type --> | typedesc-prefix = <!-- additional info, such as an adjective, before the general type --> | creator = <!-- use instead of |jfamN= for artificially created writing systems --> | date = <!-- date created --> | published = <!-- date published for shorthands and script reforms --> | time = <!-- time period in use --> | official script = | languages = <!-- major languages using the writing system --> | fam1 = <!-- use |famN= to specify parent writing systems --> | fam2 = <!-- up to 15 parent writing systems can be listed, fam1 being the oldest --> | fam15 = | print = <!-- the print basis/model of a braille script --> | sisters = <!-- sister writing systems with common ancestors --> | children = <!-- child systems --> | sample = <!-- sample image without Image: prefix --> | imagesize = <!-- size of sample image --> | caption = <!-- description of sample image --> | direction = <!-- writing direction, will be read from Wikidata when empty --> | direction comment = | unicode = <!-- Unicode range --> | iso15924 = <!-- either the ISO 15924 four-letter code or number; will automatically display both --> | iso15924 note = <!-- more text on the ISO 15924 four-letter codes, e.g. variants, aliases --> | footnotes = <!-- some information about the writing system --> | ipa-note = <!-- set to `none` to cancel IPA warning --> }}
While it is probably important to always list at least the immediate 'parent' of any writing system, it isn't always practical if this number is too large.
`type` parameter
Select color coding with |type=
according to the type of writing system:
Abjad | Alphabet | Abugida | Syllabary | Semisyllabary |
Manual | Pictographic | Ideographic | Logographic | |
Stenography | Shorthand | Undeciphered | Alternative | (default) |
Shorthand `SHform`, `SHtype`
SHform, SHtype parameter options | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Parameter `direction`
|direction=
can be used to enter the directionality. When left unused, the template reads this value from Wikidata.
Parameter `note`
As a bottom there can be shown this note:
This page contains phonetic transcriptions in the International Phonetic Alphabet (IPA). For an introductory guide on IPA symbols, see Help:IPA. For the distinction between , / / and ⟨ ⟩, see IPA § Brackets and transcription delimiters.
Setting |note=none
will hide this text.
Example
- From Hebrew alphabet (simplified for demo purposes)
Hebrew alphabet (no alt name) | |
---|---|
Script type | Impure abjad |
Time period | 2nd–1st century BCE to present |
Direction | Right-to-left |
Languages | Hebrew, Yiddish |
Related scripts | |
Parent systems | Egyptian hieroglyphs
|
Child systems | Yiddish alphabet |
Sister systems | |
ISO 15924 | |
ISO 15924 | Hebr (125), Hebrew |
Unicode | |
Unicode alias | Hebrew |
Unicode range |
|
This page contains phonetic transcriptions in the International Phonetic Alphabet (IPA). For an introductory guide on IPA symbols, see Help:IPA. For the distinction between , / / and ⟨ ⟩, see IPA § Brackets and transcription delimiters. |
{{Infobox writing system | name = Hebrew alphabet | qid = Q33513 | altname = (alt name here, expected in script) | sample = Alefbet ivri.svg | imagesize = 220px | type = Impure ] | languages = ], ] | time = 2nd–1st century BCE to present<ref></ref> | fam1 = ] | fam2 = ] | fam3 = ] | fam4 = ] | sisters = {{Plainlist| * ] * ] * ] }} | children = ] | direction = right-to-left | unicode = {{Plainlist| * <br />Hebrew, * <br />Alphabetic Presentation Forms }} | iso15924 = Hebr | iso15924 note = | footnotes = | ipa-note = }}
Tracking categories
Template Data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox writing system in articles based on its TemplateData.TemplateData for Infobox writing system
Template Data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Information box about a writing system
|
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: