Difference between revisions of "Template:IPA chart/core1"
Jump to navigation
Jump to search
imported>Sweyn78 (Dummy edit: It worked! I've cleaned up some comments in order to make this edit summary stick. This is technically a minor edit.) |
imported>Sweyn78 m (More minification.) |
||
| Line 21: | Line 21: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
| − | -->|divboxstyle={{#ifeq:{{{wrapper|infobox}}}|infobox|{{#switch:{{{position|}}}|center|centre=<div align= | + | -->|divboxstyle={{#ifeq:{{{wrapper|infobox}}}|infobox|{{#switch:{{{position|}}}|center|centre=<div align=center>|#default=}}|}}<!--Outer divbox, needed when centering infobox. |
CAPTION | CAPTION | ||
-->|caption ={{{caption|}}}<!-- | -->|caption ={{{caption|}}}<!-- | ||
| − | -->|captionstyle ={{{captionstyle|background:#f2f2ce; font-weight:bold;}}}<!-- | + | -->|captionstyle ={{{captionstyle|background:#f2f2ce;font-weight:bold;}}}<!-- |
| − | -->|tablecaptionstyle= font-weight:bold; line-height:1.5em; {{{captionstyle|background:#f2f2ce;}}}<!-- | + | -->|tablecaptionstyle= font-weight:bold;line-height:1.5em;{{{captionstyle|background:#f2f2ce;}}}<!-- |
BASE TABLE | BASE TABLE | ||
-->|ipa table ={{{ipa table|{{{IPA table|NO NAME IPA TABLE}}}}}}<!-- | -->|ipa table ={{{ipa table|{{{IPA table|NO NAME IPA TABLE}}}}}}<!-- | ||
-->|show nonIPA={{{show non IPA|yes}}}<!-- | -->|show nonIPA={{{show non IPA|yes}}}<!-- | ||
| − | -->|tablestyle =background:transparent; {{{tablestyle|}}};<!-- | + | -->|tablestyle =background:transparent;{{{tablestyle|}}};<!-- |
STACK TABLE | STACK TABLE | ||
| − | -->|alignstyle={{{alignstyle| align= | + | -->|alignstyle={{{alignstyle| align=left}}}<!--Not a style really -- more a trick. |
FOOTNOTES 1-4 and ipa note | FOOTNOTES 1-4 and ipa note | ||
| Line 42: | Line 42: | ||
-->|footnote4 ={{#if:{{{footnote4|}}}|{{yesno|{{{show footnotes|YES}}}| yes={{{footnote4|}}}|no=}}}}<!-- | -->|footnote4 ={{#if:{{{footnote4|}}}|{{yesno|{{{show footnotes|YES}}}| yes={{{footnote4|}}}|no=}}}}<!-- | ||
-->|footnote ipa ={{yesno|{{{show footnotes|YES}}}| yes={{{footnote ipa|This table contains [[phonetic]] symbols, which may not display correctly in some browsers. [[International Phonetic Alphabet#Technical note|[Help]]]}}}|no=}}<!-- | -->|footnote ipa ={{yesno|{{{show footnotes|YES}}}| yes={{{footnote ipa|This table contains [[phonetic]] symbols, which may not display correctly in some browsers. [[International Phonetic Alphabet#Technical note|[Help]]]}}}|no=}}<!-- | ||
| − | -->|footnotes ={{{footnote1|}}}<br | + | -->|footnotes ={{{footnote1|}}}<br>{{{footnote2|}}}<br>{{{footnote3|}}}<br>{{{footnote4|}}}<!-- add fn ipa here--><!-- |
| − | -->|footnotestyle={{yesno|{{{use style|yes}}}|yes={{{footnotestyle|text-align:left; font-weight:normal; font-size:88%; padding:0em 0.5em 0em 0.5em; background:#f1f1f1;}}}|no=}}<!-- | + | -->|footnotestyle={{yesno|{{{use style|yes}}}|yes={{{footnotestyle|text-align:left;font-weight:normal;font-size:88%;padding:0em 0.5em 0em 0.5em;background:#f1f1f1;}}}|no=}}<!-- |
LINKROW | LINKROW | ||
-->|show linkrow={{{show linkrow|{{#switch:{{{wrapper|infobox}}}|infobox|content=yes|#default=no}}}}}<!-- | -->|show linkrow={{{show linkrow|{{#switch:{{{wrapper|infobox}}}|infobox|content=yes|#default=no}}}}}<!-- | ||
| − | -->|linkrowstyle={{yesno|{{{use style|yes}}}|{{{linkrowstyle|text-align:center; padding:0em 0.5em 0em 0.5em; background:transparent;}}}|no=}}<!-- | + | -->|linkrowstyle={{yesno|{{{use style|yes}}}|{{{linkrowstyle|text-align:center;padding:0em 0.5em 0em 0.5em;background:transparent;}}}|no=}}<!-- |
-->|linkrow =<!-- | -->|linkrow =<!-- | ||
-->{{yesno|{{{show linkrow|{{#switch:{{{wrapper|infobox}}}|infobox|content=yes|#default=no}}}}}| yes=<!-- | -->{{yesno|{{{show linkrow|{{#switch:{{{wrapper|infobox}}}|infobox|content=yes|#default=no}}}}}| yes=<!-- | ||
| Line 65: | Line 65: | ||
|link_yesno={{main other|no|yes}}| link_page={{{ipa table|NO IPA TABLE NAME}}}| link_label=view base table| nextlink_yesno={{{show view|YES}}}| nextlink_page={{{name|NO IPA TABLE NAME}}}}}<!-- | |link_yesno={{main other|no|yes}}| link_page={{{ipa table|NO IPA TABLE NAME}}}| link_label=view base table| nextlink_yesno={{{show view|YES}}}| nextlink_page={{{name|NO IPA TABLE NAME}}}}}<!-- | ||
8 view this template-->{{IPA chart/compose link | 8 view this template-->{{IPA chart/compose link | ||
| − | |link_yesno={{{show view|YES}}}| link_page={{{name|NO IPA chart TEMPLATE NAME}}}| link_label=view| nextlink_yesno=NO|<!-- | + | |link_yesno={{{show view|YES}}}| link_page={{{name|NO IPA chart TEMPLATE NAME}}}| link_label=view| nextlink_yesno=NO|<!--No final bullet ever-->}}<!-- |
-->|no=}}<!-- | -->|no=}}<!-- | ||
-->}}<noinclude> | -->}}<noinclude> | ||
Revision as of 05:45, 12 September 2017
| Template:NO NAME IPA TABLE | |
| This table contains phonetic symbols, which may not display correctly in some browsers. [Help] | |
|---|---|
IPA help
|
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. |