Difference between revisions of "Template:Infobox grapheme"
(←Blanked the page) |
imported>Johand199 m (Reverted edits by 186.96.209.113 (talk): page blanking (HG) (3.4.10)) |
||
| Line 1: | Line 1: | ||
| − | + | {{Infobox | |
| + | |bodystyle={{#if:{{{boxsize|}}}|width:{{{boxsize}}};}} | ||
| + | |abovestyle=background:{{#switch:{{lc:{{{type|}}}}} | ||
| + | |abjad|[[abjad]]|impure abjad|impure [[abjad]]|consonantary|[[consonantary]]=palegreen | ||
| + | |alphabet|[[alphabet]]=lightblue |abugida|[[abugida]]=navajowhite | ||
| + | |syllabary|[[syllabary]]=pink |semisyllabary|[[semisyllabary]]=magenta | ||
| + | |manual|[[manual]]=paleturquoise |pictographic|[[pictographic]]=palegoldenrod | ||
| + | |ideographic|[[ideographic]]=gold |logographic|[[logographic]]|[[logosyllabic]]=mistyrose | ||
| + | |stenography|[[stenography]] |shorthand|[[shorthand]] = | ||
| + | {{#switch:{{lc:{{{SHtype|}}}}} | ||
| + | |abjad|[[abjad]]|impure abjad|impure [[abjad]]|consonantal|[[consonantal]]=palegreen | ||
| + | |alphabetic|[[alphabetic]]=lightblue |abugida|[[abugida]]=navajowhite | ||
| + | |syllabic|[[syllabic]]=pink |semisyllabic|[[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|elliptical|script-geometric=#600000 |script=#500030 | ||
| + | |#default=black | ||
| + | }};<!-- | ||
| + | font-variant/style: | ||
| + | -->{{#switch:{{lc:{{{mode|}}}}} | ||
| + | |tactile=font-variant:small-caps | ||
| + | |stenographic|[[stenographic]]|shorthand|[[shorthand]]=font-style:italic | ||
| + | |manual=font-style:italic;font-variant:small-caps | ||
| + | |#default= | ||
| + | }}; | ||
| + | |headerstyle=background:{{#switch:{{lc:{{{type|}}}}} | ||
| + | |abjad|[[abjad]]|impure abjad|impure [[abjad]]|consonantary|[[consonantary]]=palegreen | ||
| + | |alphabet|[[alphabet]]=lightblue |abugida|[[abugida]]=navajowhite | ||
| + | |syllabary|[[syllabary]]=pink |semisyllabary|[[semisyllabary]]=magenta | ||
| + | |manual|[[manual]]=paleturquoise |pictographic|[[pictographic]]=palegoldenrod | ||
| + | |ideographic|[[ideographic]]=gold |logographic|[[logographic]]|[[logosyllabic]]=mistyrose | ||
| + | |stenography|[[stenography]] |shorthand|[[shorthand]] = | ||
| + | {{#switch:{{lc:{{{SHtype|}}}}} | ||
| + | |abjad|[[abjad]]|impure abjad|impure [[abjad]]|consonantal|[[consonantal]]=palegreen | ||
| + | |alphabetic|[[alphabetic]]=lightblue |abugida|[[abugida]]=navajowhite | ||
| + | |syllabic|[[syllabic]]=pink |semisyllabic|[[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|elliptical|script-geometric=#600000 |script=#500030 | ||
| + | |#default=black | ||
| + | }}; | ||
| + | font-variant/style: | ||
| + | {{#switch:{{lc:{{{mode|}}}}} | ||
| + | |tactile=font-variant:small-caps | ||
| + | |stenographic|[[stenographic]]|shorthand|[[shorthand]]=font-style:italic | ||
| + | |manual=font-style:italic;font-variant:small-caps | ||
| + | |#default= | ||
| + | }}; | ||
| + | |above={{{name|{{PAGENAME}}}}} | ||
| + | |subheader=<span style="font-size: 4em; line-height: 1.2em; vertical-align: super; font-weight: normal;">{{{letter|}}}</span> | ||
| + | |subheader2={{{variations|}}} | ||
| + | |image={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless|upright=1|alt={{{imagealt|}}}|suppressplaceholder=yes}} | ||
| + | |image2={{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{imagesize2|{{{imagesize|}}}}}}|sizedefault=frameless|upright=1|alt={{{imagealt2|}}}|suppressplaceholder=yes}} | ||
| + | |header1=Usage | ||
| + | |label2=Writing system | ||
| + | |data2={{{script|}}} | ||
| + | |label3=Type | ||
| + | |data3={{{type|}}}{{{typedesc|}}} | ||
| + | |label4=Language of origin | ||
| + | |data4={{{language|}}} | ||
| + | |label5=Phonetic usage | ||
| + | |data5={{#ifeq:{{{type|}}}|pictographic||{{#ifeq:{{{type|}}}|[[pictographic]]||{{{phonemes|}}}}}}} | ||
| + | |label6=Unicode value | ||
| + | |data6={{#if:{{{unicode|}}}|<code>{{{unicode|}}}</code>}} | ||
| + | |label7=Alphabetical position | ||
| + | |data7={{{alphanumber|}}}{{#if:{{{number|}}}|<br>'''Numerical value:''' {{{number|}}}}} | ||
| + | |header8=History | ||
| + | |label9=Development | ||
| + | |data9=<div style="font-size: 1.25em; font-weight: normal;">{{{fam1|}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam2|}}}|{{{fam2}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam3|}}}|{{{fam3}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam4|}}} | ||
| + | |{{{fam4}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam5|}}} | ||
| + | |{{{fam5}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam6|}}} | ||
| + | |{{{fam6}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam7|}}} | ||
| + | |{{{fam7}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam8|}}} | ||
| + | |{{{fam8}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam9|}}} | ||
| + | |{{{fam9}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam10|}}} | ||
| + | |{{{fam10}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam11|}}} | ||
| + | |{{{fam11}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam12|}}} | ||
| + | |{{{fam12}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam13|}}} | ||
| + | |{{{fam13}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam14|}}} | ||
| + | |{{{fam14}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam15|}}} | ||
| + | |{{{fam15}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam16|}}} | ||
| + | |{{{fam16}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam17|}}} | ||
| + | |{{{fam17}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam18|}}} | ||
| + | |{{{fam18}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam19|}}} | ||
| + | |{{{fam19}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam20|}}} | ||
| + | |{{{fam20}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>'''{{{letter|{{PAGENAME}}}}}'''</li></ul> | ||
| + | |'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul>|'''{{{letter|{{PAGENAME}}}}}''' | ||
| + | }}</li></ul></div> | ||
| + | |label10=Time period | ||
| + | |data10={{{usageperiod|}}} | ||
| + | |label11=Descendants | ||
| + | |data11={{{children|}}} | ||
| + | |label12=Sisters | ||
| + | |data12={{{sisters|}}} | ||
| + | |label13=Transliteration equivalents | ||
| + | |data13={{{equivalents|}}} | ||
| + | |label14=Variations | ||
| + | |data14={{{variations|}}} | ||
| + | |header15=Other | ||
| + | |label16=Other letters commonly used with | ||
| + | |data16={{{associates|}}} | ||
| + | |label17=Associated numbers | ||
| + | |data17={{{number|}}} | ||
| + | |label18=Writing direction | ||
| + | |data18={{{directon|}}} | ||
| + | |belowclass=noprint selfref navbox-abovebelow | ||
| + | |belowstyle=padding:0.3em 0.5em;text-align:left;line-height:1.3; | ||
| + | |below={{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]]. | ||
| + | }}<noinclude> | ||
| + | {{documentation}} | ||
| + | [[Category:Graphemes]] | ||
| + | </noinclude> | ||
Revision as of 22:04, 27 September 2020
| Infobox grapheme | |
|---|---|
| Usage | |
| History | |
| Development |
|
| Other | |
[[Category:Infobox templates|Template:Remove first word]]
| name | |
|---|---|
| letter | |
| variations | |
| imagealt | |
| imagealt2 | |
| Usage | |
| Writing system | script |
| Type | type typedesc |
| Language of origin | language |
| Phonetic usage | phonemes |
| Unicode value | unicode |
| Alphabetical position | alphanumber Numerical value: number |
| History | |
| Development | fam1
|
| Time period | usageperiod |
| Descendants | children |
| Sisters | sisters |
| Transliteration equivalents | equivalents |
| Variations | variations |
| Other | |
| Other letters commonly used with | associates |
| Associated numbers | number |
Contents
Usage
This template is intended to be used for a short, but accurate, description of a given page devoted to a Grapheme. Along with this, the template also automatically attaches a content warning for IPA symbols (see above/to the side) and a category tag for Category:Graphemes, both for technical measures. Below is the full Syntax for the template and the options for various parameters. Above/To the side is the transclusion of the template itself, with its parameters' values substituted for their respective italicized names in code.
Syntax
{{Infobox grapheme
|name=
|letter=
|variations=
|image=
|imagesize=
|imagealt=
|image2=
|imagesize2=
|imagealt2=
|boxsize=
|script=
|type=
|typedesc=
|SHtype=
|SHform=
|mode=
|language=
|phonemes=
|unicode=
|alphanumber=
|number=
|fam1=
|fam2=
.
.
.
|fam20=
|usageperiod=
|children=
|sisters=
|equivalents=
|associates=
|direction=
}}
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) |
| The above documentation is transcluded from Template:Infobox grapheme/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |