Template:Unicode blocks/doc: Difference between revisions

Content deleted Content added
add templatedocs
Ziom 2.0 (talk | contribs)
m Block input: typo, Content op the block (scripts) -> Content of ...
 
(6 intermediate revisions by 3 users not shown)
Line 14:
}
},
"description": "A list of all the known [[Unicode block]]sblocks, formatted as a table."
}
</templatedata>
Line 23:
===Block input===
For each block, use
<syntaxhighlight lang="wikitext">
<pre>
{{Unicode blocks/row
|plane = One from set BMP, SMP, SIP, TTP, ..., PUA-AB (BMP=default)
Line 30:
|cp = Number of code points
|char = Number of characters assigned
|contains= Content opof the block (scripts)
}}
</syntaxhighlight>
</pre>
The template starts a new row in the table (adds {{code|1={{!}}-}}).
 
Line 38:
 
;Example:
<syntaxhighlight lang="wikitext">
<pre>
{{Unicode blocks/row
|range=U+0080..U+00FF
Line 46:
|contains=Latin (64 characters), Common (64 characters)
}}
</syntaxhighlight>
</pre>
 
==Template data==
{{template data header}}
 
<templatedata>
{
"params": {
"1": {}
}
}
</templatedata>
 
=== See also ===