Difference between revisions of "Template:IPA chart/cell vowelpair/doc"
imported>DePiep (←Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This /cell vowelpair produces a CSS formatted text...') |
imported>DePiep |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
This /cell vowelpair produces a CSS formatted text in a box, to be placed in the IPA vowel trapezoid, see {{tl|IPA chart vowels}}. The position on the trapezoid is "absolute", defined by percentage from Top and Left. /cell vowelpair organises the interior of that positioned box. | This /cell vowelpair produces a CSS formatted text in a box, to be placed in the IPA vowel trapezoid, see {{tl|IPA chart vowels}}. The position on the trapezoid is "absolute", defined by percentage from Top and Left. /cell vowelpair organises the interior of that positioned box. | ||
| − | * {{tlx|IPA | + | * {{tlx|IPA chart/cell vowelpair|b|p| |0|0}} |
| − | * {{tlx|IPA | + | * {{tlx|IPA chart/cell vowelpair|b|p| |20|40}} |
| − | * {{tlx|IPA | + | * {{tlx|IPA chart/cell vowelpair|b| |x|60|80}} |
Parameter 3 replaces the bullet. | Parameter 3 replaces the bullet. | ||
| Line 18: | Line 18: | ||
|- | |- | ||
| | | | ||
| − | {{IPA | + | {{IPA chart/cell vowelpair|b|p||0|0}} |
| − | {{IPA | + | {{IPA chart/cell vowelpair|b|p||20|40}} |
| − | {{IPA | + | {{IPA chart/cell vowelpair|b||x|60|80}} |
|} | |} | ||
</div></div> | </div></div> | ||
| Line 50: | Line 50: | ||
=== See also === | === See also === | ||
{{IPA templates}} | {{IPA templates}} | ||
| − | |||
| − | |||
<includeonly> | <includeonly> | ||
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
</includeonly> | </includeonly> | ||
Latest revision as of 09:12, 16 September 2012
| This is a documentation subpage for Template:IPA chart/cell vowelpair. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This /cell vowelpair produces a CSS formatted text in a box, to be placed in the IPA vowel trapezoid, see {{IPA chart vowels}}. The position on the trapezoid is "absolute", defined by percentage from Top and Left. /cell vowelpair organises the interior of that positioned box.
{{IPA chart/cell vowelpair|b|p| |0|0}}{{IPA chart/cell vowelpair|b|p| |20|40}}{{IPA chart/cell vowelpair|b| |x|60|80}}
Parameter 3 replaces the bullet.
| Close | |||||
| Near-close | |||||
| Close-mid | |||||
| Mid | |||||
| Open-mid | |||||
| Near-open | |||||
| Open | |||||
CSS background
/vowelpair has three nested boxes. At the inner (3rd) level, there are thee equal boxes that contain the symbols left-bullet-right.
1. The outer box is positioned by <div> using top: and left: percentage parameters (#4 and #5). Through its fixed width the position can be set for the center point. Positioning from the left onwards would make the bullet-position dependent of the symbol- and fontsize.
2. There are three equal intermediate (2nd level) boxes, one for each symbol. They position each symbol within the outer box, effectively central for the bullet with left and right closing in. They have fixed width, enough to contain a wide symbol, and together fit into the outer box. Positioning is by (outer) <span>.
3. Within each 2nd level box, there is an inline box that actually produces the symbol. The inline settings are done by (inner) <span>.
The background is transparent for levels 1 and 2, the 3rd lever (inner) textboxes are opaque, thereby hiding the background lines of the trapezoid.
Parameter: background=yellow or 6=yellow (unnamed parameter #6)