Revision as of 12:03, 19 May 2024 view sourceThe wub (talk | contribs)Administrators92,681 edits add skin-invert class to sample image for dark mode← Previous edit | Latest revision as of 21:13, 19 November 2024 view source Remsense (talk | contribs)Extended confirmed users, Page movers, New page reviewers, Template editors61,664 editsNo edit summary | ||
Line 1: | Line 1: | ||
{{Infobox | <includeonly>{{Infobox | ||
| autoheaders = y | | autoheaders = y | ||
| bodystyle = {{{bodystyle|}}} | | bodystyle = {{{bodystyle|}}} | ||
| headerstyle = background:#ddd | | headerstyle = background:#ddd | ||
| labelstyle = padding-right:0.6em;<!-- |
| labelstyle = padding-right:0.6em;<!-- ensures at least 0.6em between a label's end and its data --> | ||
<!-- |
<!-- Main heading (`|above=`) --> | ||
| abovestyle = | | abovestyle = | ||
padding:0.25em; | padding:0.25em; | ||
Line 28: | Line 28: | ||
| above = {{{name|{{PAGENAMEBASE}}}}}<br /><div style="font-weight:normal">{{{altname|{{{native_name|}}}}}}</div> | | above = {{{name|{{PAGENAMEBASE}}}}}<br /><div style="font-weight:normal">{{{altname|{{{native_name|}}}}}}</div> | ||
<!-- IMAGE ---------------------------------------------------------------------------> | |||
<!-- IMAGE --> | |||
| imagestyle = padding-top:0.4em;padding-bottom:0.4em;{{{imagestyle|}}} | | imagestyle = padding-top:0.4em;padding-bottom:0.4em;{{{imagestyle|}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{sample|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}|class=skin-invert}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{sample|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}|class=skin-invert}} | ||
| captionstyle = border-bottom:1px solid #aaa;<!-- |
| captionstyle = border-bottom:1px solid #aaa;<!-- to ensure caption and first line of info kept distinct -->{{{captionstyle|}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
<!-- TOP ---------------------------------------------------------------------------> | |||
<!-- TOP --> | |||
| label3 = Script type | | label3 = Script type | ||
| data3 = {{{typedesc-prefix|}}} {{#if:{{{SHline|}}}{{{SHform|}}}{{{SHtype|}}}{{{mode|}}}{{{type|}}} | | data3 = {{{typedesc-prefix|}}} {{#if:{{{SHline|}}}{{{SHform|}}}{{{SHtype|}}}{{{mode|}}}{{{type|}}} | ||
Line 74: | Line 74: | ||
| data21 = {{{romanised-from|{{{romanized-from|}}}}}} | | data21 = {{{romanised-from|{{{romanized-from|}}}}}} | ||
<!-- LANGUAGES |
<!-- LANGUAGES --> | ||
| label25 = Language | | label25 = Language | ||
| data25 = {{{language|}}} | | data25 = {{{language|}}} | ||
Line 80: | Line 80: | ||
| label26 = Languages | | label26 = Languages | ||
| data26 = {{{languages|}}} | | data26 = {{{languages|}}} | ||
<!-- RELATED SCRIPTS ----- ----- ----- ----- ----- ----- ----- ----- --> | |||
<!-- RELATED SCRIPTS --> | |||
| header30= Related scripts | | header30= Related scripts | ||
Line 110: | Line 111: | ||
| data39 = {{{sisters|}}} | | data39 = {{{sisters|}}} | ||
<!-- ISO 15924 |
<!-- ISO 15924 --> | ||
| header40= ISO 15924 | | header40= ISO 15924 | ||
Line 116: | Line 117: | ||
| data43 = {{#if:{{ISO 15924 code|{{{iso15924|}}}|default=}} |{{mono|1={{ISO 15924 code|{{{iso15924|}}} }}}} {{mono|1=({{ISO 15924 number|alpha4={{{iso15924|}}}}})}}, ​{{ISO 15924 name|{{{iso15924|}}}}}{{Main other|]}}}} {{{iso15924 note|}}} | | data43 = {{#if:{{ISO 15924 code|{{{iso15924|}}}|default=}} |{{mono|1={{ISO 15924 code|{{{iso15924|}}} }}}} {{mono|1=({{ISO 15924 number|alpha4={{{iso15924|}}}}})}}, ​{{ISO 15924 name|{{{iso15924|}}}}}{{Main other|]}}}} {{{iso15924 note|}}} | ||
<!-- UNICODE |
<!-- UNICODE --> | ||
| header50= ] | | header50= ] | ||
Line 127: | Line 128: | ||
|#default={{{unicode|}}}}} | |#default={{{unicode|}}}}} | ||
<!-- FOOTNOTES |
<!-- FOOTNOTES --> | ||
|header60 = _BLANK_ | |header60 = _BLANK_ | ||
| data61 = {{#if:{{{footnotes|}}} |<div style="border-top:1px solid #aaa;text-align:left;">{{{footnotes}}}</div>}} | | data61 = {{#if:{{{footnotes|}}} |<div style="border-top:1px solid #aaa;text-align:left;">{{{footnotes}}}</div>}} | ||
Line 141: | Line 142: | ||
}}<!-- | }}<!-- | ||
--><noinclude>{{Documentation}}</noinclude> | --></includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 21:13, 19 November 2024
Template documentation[view] [edit] [history] [purge]name | |
---|---|
caption | |
Script type | type typedesc |
Creator | creator |
Created | date |
Published | published |
Time period | time |
Status | status |
Print basis | |
Languages | languages |
Related scripts | |
Parent systems | family
|
Child systems | children |
Sister systems | sisters |
ISO 15924 | |
ISO 15924 | iso15924 note |
Unicode | |
Unicode range | unicode |
footnotes | |
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. |
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. Categories: