Difference between revisions of "Template:IPA chart/core2"
Jump to navigation
Jump to search
imported>Sweyn78 m (Fixed another bug. I'd figured earlier that it were one, but I hadn't tested it until just now. Template:IPA chart/core1 is littered with the same bug.) |
imported>WOSlinker (belowclass=hlist) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
-->|caption={{{caption|}}}<!-- | -->|caption={{{caption|}}}<!-- | ||
| − | NAVBOX OR BARE OR STACK | + | NAVBOX OR BARE OR STACK OR TABLE |
-->|navbox|bare|stack|table=<!-- | -->|navbox|bare|stack|table=<!-- | ||
| − | --> | + | -->{{#if:{{{ipa table|}}}|{{{{{ipa table|}}}<!-- |
| − | {{#if:{{{ipa table|}}}|{{{{{ipa table|}}}<!-- | ||
-->|alignstyle ={{{alignstyle|}}};<!--Tested for 4 consonant templates/dep here | -->|alignstyle ={{{alignstyle|}}};<!--Tested for 4 consonant templates/dep here | ||
-->|caption ={{{caption|}}}<!-- | -->|caption ={{{caption|}}}<!-- | ||
| Line 15: | Line 14: | ||
-->|tablestyle ={{{tablestyle|}}};{{{positionstyle|}}};<!-- | -->|tablestyle ={{{tablestyle|}}};{{{positionstyle|}}};<!-- | ||
-->|show nonIPA ={{{show nonIPA|}}}<!-- | -->|show nonIPA ={{{show nonIPA|}}}<!-- | ||
| + | -->|show optionals={{{show optionals|}}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
| Line 34: | Line 34: | ||
-->|headerstyle={{{footnotestyle|}}}<!-- | -->|headerstyle={{{footnotestyle|}}}<!-- | ||
-->|above ={{{caption|}}}<!-- | -->|above ={{{caption|}}}<!-- | ||
| − | -->|data1 ={{#if:{{{ipa table|}}}|{{{{{ipa table|}}}|captionstyle={{{captionstyle|}}}|tablestyle={{{tablestyle|}}};margin: | + | -->|data1 ={{#if:{{{ipa table|}}}|{{{{{ipa table|}}}|captionstyle={{{captionstyle|}}};|tablestyle={{{tablestyle|}}};margin:auto;}}}}<!--bare table; background & positionstyle (must center here): all into tablestyle |
1 FOOTNOTES (headers are used for the footnotes so that we can control their styling.) | 1 FOOTNOTES (headers are used for the footnotes so that we can control their styling.) | ||
-->|header2={{{footnote1|}}}<!-- | -->|header2={{{footnote1|}}}<!-- | ||
| Line 42: | Line 42: | ||
-->|header6={{{footnote ipa|}}}<!-- | -->|header6={{{footnote ipa|}}}<!-- | ||
2 LINKROW | 2 LINKROW | ||
| + | -->|belowclass=hlist<!-- | ||
-->|belowstyle={{{linkrowstyle|}}}<!-- | -->|belowstyle={{{linkrowstyle|}}}<!-- | ||
-->|below ={{#if:{{{linkrow|}}}|{{{linkrow|}}}}}<!-- | -->|below ={{#if:{{{linkrow|}}}|{{{linkrow|}}}}}<!-- | ||
| Line 48: | Line 49: | ||
IF INVALID WRAPPER | IF INVALID WRAPPER | ||
| − | -->|#default={{#invoke:Error|error|Error using {{tlx|IPA chart/4}}: Invalid wrapper type "{{{wrapper| | + | -->|#default={{#invoke:Error|error|Error using {{tlx|IPA chart/4}}: Invalid wrapper type "{{{wrapper|UNDEFINED}}}"}}<!-- |
-->}}<noinclude>{{documentation|1=Template:IPA chart/doc}}</noinclude> | -->}}<noinclude>{{documentation|1=Template:IPA chart/doc}}</noinclude> | ||
Latest revision as of 15:05, 24 May 2020
Usage
The template shows an IPA chart, wrapped in an infobox.
Templates
Full blank parameter list
{{IPA chart/core1
<!-- general -->
| name =
| wrapper =
| position =
<!-- table -->
| caption =
| ipa table =
| show nonIPA =
| show optionals =
| tablestyle =
<!-- footnotes -->
| show footnotes =
| footnote1 =
| footnote2 =
| footnote3 =
| footnote4 =
| footnote ipa =
| footnotestyle =
<!-- links -->
| show linkrow =
| show ipa key =
| show audio help =
| extra link =
| extra link label =
| chart image =
| audio chart link =
| show view =
| linkrowstyle =
}}
- Position defaults to "float right".
See also
| The above documentation is transcluded from Template:IPA chart/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |