Revision as of 22:27, 12 February 2021 editDePiep (talk | contribs)Extended confirmed users294,285 editsNo edit summary← Previous edit | Latest revision as of 22:05, 26 January 2024 edit undoGraham11 (talk | contribs)Extended confirmed users, Pending changes reviewers29,243 editsNo edit summary | ||
(22 intermediate revisions by 3 users not shown) | |||
Line 25: | Line 25: | ||
|tactile=white;font-variant:small-caps | |tactile=white;font-variant:small-caps | ||
|#default=white | |#default=white | ||
}}; | |||
color:{{#switch:{{lc:{{{SHform|}}}}} | |||
|cursive|printed=#303030 |stenographic=#405000 |geometric=#005020 | |||
|semi-script|elliptical|script-geometric=#600000 |script=#500030 | |||
|#default=black | |||
}};<!-- | |||
font-variant/style: | |||
-->{{#switch:{{lc:{{{mode|}}}}} | |||
|tactile=font-variant:small-caps | |||
|stenographic|]|shorthand|]=font-style:italic | |||
|manual=font-style:italic;font-variant:small-caps | |||
|#default= | |||
}}; | }}; | ||
| above = {{{name|{{PAGENAMEBASE}}}}}<br /> |
| above = {{{name|{{PAGENAMEBASE}}}}}<br /><div style="font-weight:normal">{{{altname|{{{native_name|}}}}}}</div> | ||
<!-- IMAGE ---------------------------------------------------------------------------> | <!-- IMAGE ---------------------------------------------------------------------------> | ||
Line 49: | Line 37: | ||
| label3 = Script type | | label3 = Script type | ||
| data3 = {{#if:{{{SHline|}}}{{{SHform|}}}{{{SHtype|}}}{{{mode|}}}{{{type |
| data3 = {{{typedesc-prefix|}}} {{#if:{{{SHline|}}}{{{SHform|}}}{{{SHtype|}}}{{{mode|}}}{{{type|}}} | ||
| {{longitem|style=line-height:1.25em | | {{longitem|style=line-height:1.25em | ||
| {{#if:{{{SHline|}}}|{{{SHline|}}}-line|}} {{{SHform|}}} {{{SHtype|}}} {{{mode|}}} {{{type|}}} {{{typedesc|}}} | | {{#if:{{{SHline|}}}|{{{SHline|}}}-line|}} {{{SHform|}}} {{{SHtype|}}} {{{mode|}}} {{{type|}}} | ||
}} }} {{{typedesc|}}} | |||
}} }} | |||
| label5 = Creator | | label5 = Creator | ||
Line 73: | Line 61: | ||
| label15 = Direction | | label15 = Direction | ||
| data15 = {{#invoke:WikidataIB|getValue |P1406 |{{{direction|}}} |qid={{{qid|}}} |onlysourced=no |fwd=ALL}} {{{direction comment|}}} | | data15 = {{#invoke:String2 | ucfirst | {{#invoke:WikidataIB|getValue |P1406 |{{{direction|}}} |qid={{{qid|}}} |onlysourced=no |fwd=ALL}} }} {{{direction comment|}}} | ||
| label17 = |
| label17 = Official script | ||
| |
| data17 = {{{official script|}}} | ||
| label18 = Region | |||
| data18 = {{{region|}}} | |||
| label19 = {{longitem|Print basis}} | |||
| data19 = {{{print|}}} | |||
| label21 = {{engvar|defaultWord=Romanized |defaultLang=en-US |en-US=Romanized |us=Romanized | gb=Romanised |engvar={{{engvar|}}} }} from | |||
| data21 = {{{romanised-from|{{{romanized-from|}}}}}} | |||
<!-- LANGUAGES ----- ----- ----- ----- ----- ----- ----- ----- --> | <!-- LANGUAGES ----- ----- ----- ----- ----- ----- ----- ----- --> | ||
| |
| label25 = Language | ||
| data25 = {{{language|}}} | |||
| |
| label26 = Languages | ||
| |
| data26 = {{{languages|}}} | ||
<!-- RELATED SCRIPTS ----- ----- ----- ----- ----- ----- ----- ----- --> | <!-- RELATED SCRIPTS ----- ----- ----- ----- ----- ----- ----- ----- --> | ||
| |
| header30= Related scripts | ||
| label33 = {{#if:{{{fam1|{{{family|}}}}}} |{{longitem|Parent systems}}}} | | label33 = {{#if:{{{fam1|{{{family|}}}}}} |{{longitem|Parent systems}}}} | ||
Line 112: | Line 109: | ||
| label39 = {{longitem|Sister systems}} | | label39 = {{longitem|Sister systems}} | ||
| data39 = {{{sisters|}}} | | data39 = {{{sisters|}}} | ||
<!-- ISO ----- ----- ----- ----- ----- ----- --> | <!-- ISO 15924 ----- ----- ----- ----- ----- ----- --> | ||
| header40= ISO 15924 | | header40= ISO 15924 | ||
| label43 = ] | | label43 = ] | ||
| data43 = {{#if:{{ISO 15924 code|{{{iso15924|}}}|default=}} |{{mono|1={{ISO 15924 code|{{{iso15924|}}} }}}} |
| 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|}}} | ||
-->{{#if:{{{iso15924 note|}}} | {{{iso15924 note}}}}} | |||
<!-- UNICODE ----- ----- ----- ----- ----- ----- --> | <!-- UNICODE ----- ----- ----- ----- ----- ----- --> | ||
| header50= ] | | header50= ] | ||
Line 125: | Line 123: | ||
| label55 = {{longitem|]}} | | label55 = {{longitem|]}} | ||
| data55 = {{{unicode|}}} | | data55 = {{#switch:{{lc:{{{unicode|}}}}} | ||
|no|not|none|not in unicode=Not in Unicode | |||
⚫ | <!-- |
||
|#default={{{unicode|}}}}} | |||
⚫ | | |
||
⚫ | <!-- FOOTNOTES ----- ----- ----- ----- ----- ----- --> | ||
|header60 = _BLANK_ | |||
⚫ | | data61 = {{#if:{{{footnotes|}}} |<div style="border-top:1px solid #aaa;text-align:left;">{{{footnotes}}}</div>}} | ||
| belowclass = noprint selfref | | belowclass = noprint selfref | ||
Line 134: | Line 136: | ||
|none|no|0= | |none|no|0= | ||
|#default={{Infobox writing system/ipa-note}}}} | |#default={{Infobox writing system/ipa-note}}}} | ||
}}<!-- | |||
⚫ | |||
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|]}}|preview = Page using ] with unknown parameter "_VALUE_"|ignoreblank=y | |||
| SHdates | SHform | SHline | SHtype | alt | altname | bodystyle | caption | captionstyle | children | creator | date | direction comment | direction | engvar | fam10 | fam11 | fam12 | fam13 | fam14 | fam15 | fam1 | fam2 | fam3 | fam4 | fam5 | fam6 | fam7 | fam8 | fam9 | family | footnotes | image size | imagesize | imagestyle | ipa-note | iso15924 note | iso15924 | language | languages | mode | name | native_name | note | official script | print | published | qid | region | romanized_from | romanised_from | sample | sisters | status | time | type | typedesc | typedesc-prefix | unicode | |||
}}<!-- | |||
⚫ | --><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 22:05, 26 January 2024
Infobox writing system/sandbox | |
---|---|
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 is the template sandbox page for Template:Infobox writing system (diff). See also the companion subpage for test cases. |
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. Category: