Template:Infobox punctuation mark: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
imported>DePiep (using dataN= solely to use whole width. {{unichar}} has some text length. sure no doubling parameters) |
||
Line 3: | Line 3: | ||
| bodystyle = max-width:18em; | | bodystyle = max-width:18em; | ||
| bodyclass = | | bodyclass = | ||
| abovestyle = background:# | <!-- autoheaders=false; see label3/data4 usage--> | ||
| above = {{{mark|}}} | | abovestyle = background:#ebebeb; font-size:750%; line-height:1.2; font-weight:bold; | ||
| header1 = <div style=" | font-family: 'Times New Roman',Times, 'Nimbus Roman No9 L', 'Liberation Serif', serif, georgia; | ||
| above = {{{mark|{{{char|}}}}}} | |||
| header1 = <div style="font-size:125%; background:#ebebeb; font-weight:bold; padding:0.1em; line-height:1.2em;">{{#if:{{{name|}}} |{{{name|}}} |{{PAGENAME}}}}</div> | |||
| label2 = Other names | | label2 = Other names | ||
| data2 = {{{other_names|}}} | | data2 = {{{other_names|}}} | ||
| label3 = In [[Unicode]] | | label3 = {{#if:{{{unicode|}}}|In [[Unicode]]}}<!-- when Unicode, use width: new datarow ({{unichar}} expected) --> | ||
| | | rowstyle4 = float:left; | ||
| data4 = {{{unicode|}}} | |||
| header11 = {{#if:{{{variant1|}}} | | header11 = {{#if:{{{variant1|}}} | ||
|<div style="background:# | |<div style="background:#ebebeb;padding:0 0 0.4em;line-height:1.2em;">{{Infobox punctuation mark/variant | ||
|variant1={{{variant1|}}} |caption1={{{caption1|}}} | |variant1={{{variant1|}}} |caption1={{{caption1|}}} | ||
|variant2={{{variant2|}}} |caption2={{{caption2|}}} | |variant2={{{variant2|}}} |caption2={{{caption2|}}} | ||
Line 21: | Line 25: | ||
|variant-size={{{variant-size|300%}}} |line-height={{{line-height|0.01}}}}}</div>}} | |variant-size={{{variant-size|300%}}} |line-height={{{line-height|0.01}}}}}</div>}} | ||
| | | header20 = {{#if:{{{unicode_list|}}}|In Unicode}}<!-- eg Bar (diacritic) --> | ||
| | | rowclass21 = bulletlist | ||
| rowstyle21 = float:left; | |||
| data21 = {{{unicode_list|}}} | |||
| header30 = {{#if:{{{see_also|}}}|See also}} | |||
| data31 = {{{see_also|}}} | |||
| label32 = In mathematics | |||
| data32 = {{{in_math|}}} | |||
| label33 = In [[IPA|IPA]] | |||
| data33 = {{{in_IPA|}}} | |||
| label35 = In [[LaTeX]] | |||
| data35 = {{{in_Latex|}}} | |||
}}<!-- | }}<!-- | ||
-->{{#invoke:check for unknown parameters|check | -->{{#invoke:check for unknown parameters|check|unknown={{main other|1=[[Category:Pages using Infobox punctuation mark with unknown parameters|_VALUE_]]|2=[[:Category:Pages using Infobox punctuation mark with unknown parameters]] _VALUE_}}|preview=Unknown parameter "_VALUE_" in [[Template:Infobox punctuation]]|ignoreblank=y | ||
|unknown={{main other|1=[[Category:Pages using Infobox punctuation mark with unknown parameters|_VALUE_]]|2=[[:Category:Pages using Infobox punctuation mark with unknown parameters]] _VALUE_}} | | mark | char | name | other_names | unicode | unicode_list | ||
|preview=Unknown parameter "_VALUE_" in [[Template:Infobox punctuation]] | | variant1 | caption1 | variant2 | caption2 | variant3 | caption3 | variant4 | caption4 | variant-size | see_also }}<!-- | ||
|mark |name |other_names |unicode |variant1 |caption1 |variant2 |caption2 |variant3 |caption3 | |||
--><noinclude>{{Documentation}}</noinclude> | --><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 17:10, 5 February 2023
Infobox punctuation mark |
---|
This template uses Lua: |
Infobox for punctuation marks and diacritics (characters).
{{Infobox diacritic}} is a synonym (redirect) for this template.
Usage
Basic
, | |
---|---|
Comma | |
U+002C , COMMA | |
See also | |
semicolon |
{{Infobox punctuation |mark = , |name = Comma |other_names = |unicode = {{unichar|002C|COMMA}} |see_also = [[semicolon]] }}
With variants
|unicode_list=
Unicode names from Bar (diacritic).
( ) | |||||||
---|---|---|---|---|---|---|---|
Other names | alt names | ||||||
U+0000 | |||||||
| |||||||
In Unicode | |||||||
| |||||||
See also | |||||||
mathematical brackets |
{{Infobox punctuation | mark = ( ) | name = [[Brackets]] | other_names = alt names | unicode = {{unichar|}} | unicode_list = * {{Unichar|0335|COMBINING SHORT STROKE OVERLAY|cwith=◌}} * {{Unichar|0336|COMBINING LONG STROKE OVERLAY|cwith=◌}} * {{Unichar|0337|COMBINING SHORT SOLIDUS OVERLAY|cwith=◌}} * {{Unichar|0338|COMBINING LONG SOLIDUS OVERLAY|cwith=◌}} |variant1 = ( ) |caption1 = Round brackets |variant2 = { } |caption2 = Curly brackets |variant3 = [ ] |caption3 = Square brackets |variant4 = |caption4 = |see_also = [[Glossary_of_mathematical_symbols#Brackets|mathematical brackets]] }}
Diacritics
The Infobox is also fit for diacritics. {{Infobox diacritic}} is a synonym. The generic character to combine with is U+25CC ◌ DOTTED CIRCLE ({{Dotted circle}}).
◌̂ | |
---|---|
Circumflex | |
U+0302 ̂ COMBINING CIRCUMFLEX ACCENT (diacritic) | |
See also | |
U+005E ^ CIRCUMFLEX ACCENT (symbol) |
{{Infobox diacritic |char = ◌̂ |name = Circumflex |unicode = {{unichar|0302|COMBINING CIRCUMFLEX ACCENT}} (diacritic) |see_also={unichar|005E|CIRCUMFLEX ACCENT}} (symbol) }}
Template Data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Infobox punctuation mark
Template Data
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a visual box showing info about a punctuation mark
|
Tracking category
See also
- {{Navbox punctuation}}
- {{Sidebar punctuation marks}}
- {{Navbox diacritical marks}}
- {{Unichar}}, a template that produces a formatted description of a Unicode character, to be used inline or otherwise with regular text.