Revision as of 20:35, 12 February 2021 editDePiep (talk | contribs)Extended confirmed users294,285 editsNo edit summaryTag: Manual revert← Previous edit | Latest revision as of 22:05, 26 January 2024 edit undoGraham11 (talk | contribs)Extended confirmed users, Pending changes reviewers29,254 editsNo edit summary | ||
(42 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| autoheaders = y | |||
| bodystyle = {{{bodystyle|}}} | | bodystyle = {{{bodystyle|}}} | ||
| headerstyle = background:#ddd | |||
| labelstyle = padding-right:0.6em;<!--(ensures at least 0.6em space between a label's end and its data)--> | | labelstyle = padding-right:0.6em;<!--(ensures at least 0.6em space between a label's end and its data)--> | ||
Line 23: | 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 ---------------------------------------------------------------------------> | ||
| imagestyle = padding-top:0.4em;padding-bottom:0.4em;{{{imagestyle|}}} | | imagestyle = padding-top:0.4em;padding-bottom:0.4em;{{{imagestyle|}}} | ||
Line 44: | Line 34: | ||
| captionstyle = border-bottom:1px solid #aaa;<!--(to ensure caption and first line of info kept distinct)-->{{{captionstyle|}}} | | captionstyle = border-bottom:1px solid #aaa;<!--(to ensure caption and first line of info kept distinct)-->{{{captionstyle|}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
<!-- TOP ---------------------------------------------------------------------------> | |||
| |
| label3 = Script 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 | ||
| |
| data5 = {{{creator|}}} | ||
| |
| label7 = Created | ||
| |
| data7 = {{#if:{{{date|}}} |{{{date}}} }} | ||
| |
| label9 = Published | ||
| |
| data9 = {{#if:{{{SHdates|}}}{{{published|}}} | ||
| label5 = Published | |||
⚫ | | |
||
| {{longitem|style=line-height:1.25em | | {{longitem|style=line-height:1.25em | ||
| {{#if:{{{SHdates|}}} |{{{SHdates}}}}} {{#if:{{{published|}}} |{{{published}}}}} | | {{#if:{{{SHdates|}}} |{{{SHdates}}}}} {{#if:{{{published|}}} |{{{published}}}}} | ||
}} }} | }} }} | ||
| |
| label11 = {{longitem|Time period}} | ||
| |
| data11 = {{{time|}}} | ||
| |
| label13 = Status | ||
| |
| data13 = {{{status|}}} | ||
⚫ | | label15 = Direction | ||
⚫ | | |
||
⚫ | | data15 = {{#invoke:String2 | ucfirst | {{#invoke:WikidataIB|getValue |P1406 |{{{direction|}}} |qid={{{qid|}}} |onlysourced=no |fwd=ALL}} }} {{{direction comment|}}} | ||
| data8 = {{#if:{{{fam1|{{{family|}}}}}} | |||
| 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 ----- ----- ----- ----- ----- ----- ----- ----- --> | |||
| label25 = Language | |||
| data25 = {{{language|}}} | |||
| label26 = Languages | |||
| data26 = {{{languages|}}} | |||
<!-- RELATED SCRIPTS ----- ----- ----- ----- ----- ----- ----- ----- --> | |||
| header30= Related scripts | |||
⚫ | | label33 = {{#if:{{{fam1|{{{family|}}}}}} |{{longitem|Parent systems}}}} | ||
⚫ | | data33 = {{#if:{{{fam1|{{{family|}}}}}} | ||
| <div style="padding-top:0.15em;">{{{fam1|{{{family}}}}}}<!-- | | <div style="padding-top:0.15em;">{{{fam1|{{{family}}}}}}<!-- | ||
--><ul><li>{{#if:{{{fam2|}}}|{{{fam2}}}<!-- | --><ul><li>{{#if:{{{fam2|}}}|{{{fam2}}}<!-- | ||
Line 93: | Line 104: | ||
--></div> }} | --></div> }} | ||
| |
| label37 = {{longitem|Child systems}} | ||
| |
| data37 = {{{children|}}} | ||
| |
| label39 = {{longitem|Sister systems}} | ||
| |
| data39 = {{{sisters|}}} | ||
<!-- ISO 15924 ----- ----- ----- ----- ----- ----- --> | |||
⚫ | | |
||
⚫ | | header40= ISO 15924 | ||
⚫ | | |
||
| label43 = ] | |||
⚫ | | |
||
⚫ | | 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 ----- ----- ----- ----- ----- ----- --> | |||
⚫ | | |
||
| header50= ] | |||
⚫ | | |
||
-->{{#if:{{{iso15924 note|}}} | {{{iso15924 note}}}}} | |||
| |
| label53 = {{longitem|Unicode alias}} | ||
| |
| data53 = {{#if:{{{iso15924|}}} |{{ISO 15924 alias|{{{iso15924|}}}}}}} | ||
| |
| label55 = {{longitem|]}} | ||
| |
| data55 = {{#switch:{{lc:{{{unicode|}}}}} | ||
|no|not|none|not in unicode=Not in Unicode | |||
|#default={{{unicode|}}}}} | |||
<!-- FOOTNOTES ----- ----- ----- ----- ----- ----- --> | |||
⚫ | | |
||
|header60 = _BLANK_ | |||
{{{footnotes}}}</div>}} | |||
⚫ | | data61 = {{#if:{{{footnotes|}}} |<div style="border-top:1px solid #aaa;text-align:left;">{{{footnotes}}}</div>}} | ||
| belowclass = noprint selfref | | belowclass = noprint selfref | ||
Line 123: | 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: