Template:Infobox writing system: Difference between revisions
Jump to navigation
Jump to search
m (adjust colors) |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
padding:0.25em; | padding:0.25em; | ||
background:{{#switch:{{lc:{{{type|}}}}} | background:{{#switch:{{lc:{{{type|}}}}} | ||
|abjad|[[abjad]]|impure abjad|impure [[abjad]]|consonantary|[[consonantary]]=palegreen | |abjad|[[wikipedia:abjad|abjad]]|impure abjad|impure [[wikipedia:abjad|abjad]]|consonantary|[[wikipedia:consonantary|consonantary]]=palegreen | ||
|alphabet|[[alphabet]]=lightblue |abugida|[[abugida]]=navajowhite | |alphabet|[[wikipedia:alphabet|alphabet]]=lightblue |abugida|[[wikipedia:abugida|abugida]]=navajowhite | ||
|syllabary|[[syllabary]]=pink |semisyllabary|[[semisyllabary]]=violet | |syllabary|[[wikipedia:syllabary|syllabary]]=pink |semisyllabary|[[wikipedia:semisyllabary|semisyllabary]]=violet | ||
|manual|[[manual]]=paleturquoise |pictographic|[[pictographic]]=palegoldenrod | |manual|[[wikipedia:manual|manual]]=paleturquoise |pictographic|[[wikipedia:pictographic|pictographic]]=palegoldenrod | ||
|ideographic|[[ideographic]]=gold |logographic|[[logographic]]|[[logosyllabic]]=mistyrose | |ideographic|[[wikipedia:ideographic|ideographic]]=gold |logographic|[[wikipedia:logographic|logographic]]|[[wikipedia:logosyllabic|logosyllabic]]=mistyrose | ||
|stenography|[[stenography]] |shorthand|[[shorthand]] = | |stenography|[[wikipedia:stenography|stenography]] |shorthand|[[wikipedia:shorthand|shorthand]] = | ||
{{#switch:{{lc:{{{SHtype|}}}}} | {{#switch:{{lc:{{{SHtype|}}}}} | ||
|abjad|[[abjad]]|impure abjad|impure [[abjad]]|consonantal|[[consonantal]]=palegreen | |abjad|[[wikipedia:abjad|abjad]]|impure abjad|impure [[wikipedia:abjad|abjad]]|consonantal|[[wikipedia:consonantal|consonantal]]=palegreen | ||
|alphabetic|[[alphabetic]]=lightblue |abugida|[[abugida]]=navajowhite | |alphabetic|[[wikipedia:alphabetic|alphabetic]]=lightblue |abugida|[[wikipedia:abugida|abugida]]=navajowhite | ||
|syllabic|[[syllabic]]=pink |semisyllabic|[[semisyllabic]]=violet | |syllabic|[[wikipedia:syllabic|syllabic]]=pink |semisyllabic|[[wikipedia:semisyllabic|semisyllabic]]=violet | ||
|undeciphered=gainsboro |alternative=khaki | |undeciphered=gainsboro |alternative=khaki | ||
|#default=turquoise | |#default=turquoise | ||
Line 32: | Line 32: | ||
-->{{#switch:{{lc:{{{mode|}}}}} | -->{{#switch:{{lc:{{{mode|}}}}} | ||
|tactile=font-variant:small-caps | |tactile=font-variant:small-caps | ||
|stenographic|[[stenographic]]|shorthand|[[shorthand]]=font-style:italic | |stenographic|[[wikipedia:stenographic|stenographic]]|shorthand|[[wikipedia:shorthand|shorthand]]=font-style:italic | ||
|manual=font-style:italic;font-variant:small-caps | |manual=font-style:italic;font-variant:small-caps | ||
|#default= | |#default= | ||
Line 105: | Line 105: | ||
| data12 = {{#if:{{{iso15924|}}} |{{ISO 15924 direction|{{{iso15924|}}}|rtl=Right-to-left|ltr=Left-to-right|ttb=Top-to-bottom|default=|mixed=Mixed}}}} | | data12 = {{#if:{{{iso15924|}}} |{{ISO 15924 direction|{{{iso15924|}}}|rtl=Right-to-left|ltr=Left-to-right|ttb=Top-to-bottom|default=|mixed=Mixed}}}} | ||
| label13 = [[ISO 15924]] | | label13 = [[wikipedia:ISO 15924|ISO 15924]] | ||
| data13 = {{#if:{{ISO 15924 code|{{{iso15924|}}}|default=}} |<code>{{ISO 15924 code|{{{iso15924|}}} }}, {{ISO 15924 number|{{{iso15924|}}} }}</code>{{Main other|[[Category:Scripts with ISO 15924 four-letter codes]]|<!-- Don't categorize when not in main (article) space. -->}}}}<!-- | | data13 = {{#if:{{ISO 15924 code|{{{iso15924|}}}|default=}} |<code>{{ISO 15924 code|{{{iso15924|}}} }}, {{ISO 15924 number|{{{iso15924|}}} }}</code>{{Main other|[[wikipedia:Category:Scripts with ISO 15924 four-letter codes|Category:Scripts with ISO 15924 four-letter codes]]|<!-- Don't categorize when not in main (article) space. -->}}}}<!-- | ||
-->{{#ifeq:{{BASEPAGENAME}}|Infobox writing system |<code>''iso15924''</code>}}<!-- | -->{{#ifeq:{{BASEPAGENAME}}|Infobox writing system |<code>''iso15924''</code>}}<!-- | ||
-->{{#if:{{{iso15924 note|}}} |{{#ifeq:{{{br|}}} |yes|<br />}} {{{iso15924 note}}}}} | -->{{#if:{{{iso15924 note|}}} |{{#ifeq:{{{br|}}} |yes|<br />}} {{{iso15924 note}}}}} | ||
Line 113: | Line 113: | ||
| data14 = {{#if:{{{iso15924|}}} |{{ISO 15924 alias|{{{iso15924|}}}}}}} | | data14 = {{#if:{{{iso15924|}}} |{{ISO 15924 alias|{{{iso15924|}}}}}}} | ||
| label15 = {{longitem|[[Unicode range]]}} | | label15 = {{longitem|[[wikipedia:Unicode range|Unicode range]]}} | ||
| data15 = {{{unicode|}}} | | data15 = {{{unicode|}}} | ||
Line 121: | Line 121: | ||
| 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 | |{{nowrap|'''This article contains [[International Phonetic Alphabet|IPA]] phonetic symbols.'''}} Without proper [[Help:IPA#Rendering issues|rendering support]], you may see [[Replacement character|question marks, boxes, or other symbols]] instead of [[Unicode]] characters. For an introductory guide on IPA symbols, see [[Help:IPA]].}} | | below = {{#ifeq:{{{note|}}}|none | |{{nowrap|'''This article contains [[wikipedia:International Phonetic Alphabet|IPA]] phonetic symbols.'''}} Without proper [[wikipedia:Help:IPA#Rendering issues|rendering support]], you may see [[wikipedia:Replacement character|question marks, boxes, or other symbols]] instead of [[wikipedia:Unicode|Unicode]] characters. For an introductory guide on IPA symbols, see [[wikipedia:Help:IPA|Help:IPA]].}} | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 17:18, 12 June 2021
Infobox writing system | |
---|---|
ISO 15924 | iso15924 |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
name | |
---|---|
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 |
ISO 15924 | iso15924 iso15924 note |
unicode | |
footnotes | |
Syntax
{{Infobox writing system</nowiki> | name = | altname = <!-- 2ary name --> | type = <!-- (see type options below) --> | <!-- 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 SHtype options below) --> | SHform = <!-- (see SHform options below) --> | | typedesc = <!-- (For providing additional info after a general type) --> | languages = <!-- (Major languages using the writing system) --> | creator = <!-- (Use instead of famN for artificially created writing systems) --> | date = <!-- (Date created) --> | published = <!-- (Date published - for shorthands and script reforms) --> | time = <!-- (Time period during which system was in use) --> | fam1 = <!-- (Use famN to specify parent writing system/s. --> | 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 = <!-- (For sister writing systems here with common origin) --> | children = <!-- (For child writing systems) --> | sample = <!-- (Sample image, WITHOUT "Image:" prefix) --> | imagesize = <!-- (Sample image's size) --> | unicode = <!-- (To specify a Unicode range) --> | iso15924 = <!-- (Either the ISO 15924 four-letter code or number. Template will automatically display both) --> | iso15924 note = <!-- (To specify more text on the ISO 15924 four-letter codes, e.g. variants, aliases) --> | footnotes = <!-- (Some information about the writing system) --> | 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 to list all of the 'children' if this number is too large.
Options for type parameter
Select color coding according to the type of writing system:
Abjad | Alphabet | Abugida | Syllabary | Semisyllabary |
Manual | Pictographic | Ideographic | Logographic | |
Stenography | Shorthand | Undeciphered | Alternative | (default) |
Options for SHform parameter
This field should only be included if "type" = stenography or shorthand. Select text color coding according to the shorthand letterforms:
Cursive | Printed | Stenographic | Geometric | Script |
Semi-Script | Elliptical | Script-Geometric | (default) |
Options for SHtype parameter
This field should only be included if "type" = stenography or shorthand. Select background color coding according to the type of writing system:
Abjadi | Consonantal | Alphabetic | Abugida | Syllabic |
Semisyllabic | Mixed | Undeciphered | Alternative | (default) |