Difference between revisions of "Template:IPA chart/core1"
Jump to navigation
Jump to search
imported>Sweyn78 (No luck with the div. What I'm trying to do, is get the template to display properly when other content is floated to the right of it. I'm going to try float:unset.) |
imported>WOSlinker (hlist) |
||
| (24 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{IPA chart/core2<!-- | {{IPA chart/core2<!-- | ||
-->|wrapper ={{{wrapper|infobox}}}<!-- | -->|wrapper ={{{wrapper|infobox}}}<!-- | ||
| − | -->|positionstyle={{#switch:{{{wrapper|infobox}}} | + | -->|positionstyle={{#switch:{{{wrapper|infobox}}}<!-- |
| − | -->|infobox | + | |
| − | + | INFOBOX | |
| − | + | -->|infobox={{#switch:{{{position|}}}<!-- | |
| − | + | -->|none=<!-- | |
| − | + | -->|none |float none |float:none<!-- | |
| + | -->|left |float left |float:left =float:none;clear:none;<!-- | ||
| + | -->|center|float center|float:center<!-- | ||
| + | -->|centre|float centre|float:centre =float:none;margin:0em auto;<!-- | ||
| + | -->|right |float right |float:right |#default=float:right;<!-- | ||
-->}}<!-- | -->}}<!-- | ||
| − | -->| | + | |
| − | + | DEFAULT | |
| − | + | -->|#default={{#switch:{{{position|}}}<!-- | |
| − | + | -->|none=<!-- | |
| − | + | -->|none |float none |float:none<!-- | |
| + | -->|left |float left |float:left |#default=float:none;clear:none;<!-- | ||
| + | -->|center|float center|float:center<!-- | ||
| + | -->|centre|float centre|float:centre =float:none;margin:0em auto;<!-- | ||
| + | -->|right |float right |float:right =float:right;<!-- | ||
-->}}<!-- | -->}}<!-- | ||
| − | + | ||
| − | |||
| − | |||
| − | |||
| − | |||
-->}}<!-- | -->}}<!-- | ||
| − | + | -->|divboxstyle={{#ifeq:{{{wrapper|infobox}}}|infobox|{{#switch:{{{position|}}}|center|float center|float:center|centre|float centre|float:centre=<div align=center>|#default=}}|}}<!--Needed when centering infobox. | |
| − | -->|divboxstyle={{#ifeq:{{{wrapper|infobox}}}|infobox|{{#switch:{{{position|}}}|center|centre=<div align=center>|#default=}}|}}<!-- | ||
CAPTION | CAPTION | ||
-->|caption ={{{caption|}}}<!-- | -->|caption ={{{caption|}}}<!-- | ||
| − | -->|captionstyle ={{{captionstyle|background:# | + | -->|captionstyle =font-weight:bold;{{{captionstyle|background:#ccf;}}}<!-- |
| − | -->|tablecaptionstyle= font-weight:bold;line-height:1.5em;{{{captionstyle| | + | -->|tablecaptionstyle= font-weight:bold;line-height:1.5em;{{{captionstyle|}}}<!-- |
BASE TABLE | BASE TABLE | ||
| − | -->|ipa table ={{{ipa table|{{{IPA table| | + | -->|ipa table ={{{ipa table|{{{IPA table|IPA chart undefined}}}}}}<!-- |
| − | -->|show nonIPA={{{show | + | -->|show nonIPA={{{show nonIPA|yes}}}<!-- |
| − | -->|tablestyle =background:transparent;{{{tablestyle|}}};<!-- | + | -->|show optionals={{{show optionals|yes}}}<!-- |
| + | -->|tablestyle =background:transparent;{{#ifeq:{{{wrapper|infobox}}}|infobox|font-size:112.5%;line-height:1.5em;}}{{{tablestyle|}}};<!-- | ||
| + | -->|alignstyle={{{alignstyle|align=left}}}<!-- | ||
| − | + | FOOTNOTES 1-4 and IPA note | |
| − | |||
| − | |||
| − | FOOTNOTES 1-4 and | ||
-->|footnote1 ={{#if:{{{footnote1|}}}|{{yesno|{{{show footnotes|YES}}}| yes={{{footnote1|}}}|no=}}}}<!-- | -->|footnote1 ={{#if:{{{footnote1|}}}|{{yesno|{{{show footnotes|YES}}}| yes={{{footnote1|}}}|no=}}}}<!-- | ||
-->|footnote2 ={{#if:{{{footnote2|}}}|{{yesno|{{{show footnotes|YES}}}| yes={{{footnote2|}}}|no=}}}}<!-- | -->|footnote2 ={{#if:{{{footnote2|}}}|{{yesno|{{{show footnotes|YES}}}| yes={{{footnote2|}}}|no=}}}}<!-- | ||
-->|footnote3 ={{#if:{{{footnote3|}}}|{{yesno|{{{show footnotes|YES}}}| yes={{{footnote3|}}}|no=}}}}<!-- | -->|footnote3 ={{#if:{{{footnote3|}}}|{{yesno|{{{show footnotes|YES}}}| yes={{{footnote3|}}}|no=}}}}<!-- | ||
-->|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. [[ | + | -->|footnote ipa ={{yesno|{{{show footnotes|YES}}}|yes={{{footnote ipa|This table contains [[phonetic]] symbols, which may not display correctly in some browsers. [[Help:IPA#Rendering issues|[Help]]]}}}|no=}}<!-- |
| − | -->|footnotes ={{{footnote1|}}}<br>{{{footnote2|}}}<br>{{{footnote3|}}}<br>{{{footnote4|}}}< | + | -->|footnotes ={{{footnote1|}}}<br>{{{footnote2|}}}<br>{{{footnote3|}}}<br>{{{footnote4|}}}<br>{{{footnote ipa|}}}<!-- |
| − | -->|footnotestyle={{yesno|{{{use style|yes}}}|yes={{{footnotestyle|text-align:left;font-weight:normal;font-size:88%;padding:0em 0.5em 0em 0.5em | + | -->|footnotestyle={{yesno|{{{use style|yes}}}|yes={{{footnotestyle|text-align:left;font-weight:normal;font-size:88%;padding:0em 0.5em 0em 0.5em;}}}|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: | + | -->|linkrowstyle={{yesno|{{{use style|yes}}}|yes={{{linkrowstyle|text-align:center;padding:0em 0.5em;background:#e6e6ff;}}}|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=<!-- | |
| − | + | 1 IPA HELP | |
| − | + | --> | |
| − | + | * {{IPA chart/compose link<!-- | |
| − | + | -->|link_yesno=YES|link_page=help:IPA<!-- | |
| − | + | -->|link_label=help<!-- | |
| − | + | -->|nextlink_yesno=NO<!-- | |
| − | + | -->|nextlink_page=EXISTING (IPAkey page)<!-- | |
| − | + | -->}}<!-- | |
| − | + | 2 IPA KEY | |
| − | + | --> | |
| − | + | * {{IPA chart/compose link<!-- | |
| − | + | -->|link_yesno={{{show ipa key|NO}}}<!-- | |
| − | + | -->|link_page=Help:IPA/English<!-- | |
| − | + | -->|link_label=English IPA<!-- | |
| − | -->|no=}}<!-- | + | -->|nextlink_yesno=NO<!-- |
| − | -->}}<noinclude> | + | -->|nextlink_page=EXISTING (audio help page)<!-- |
| − | {{clear}} | + | -->}}<!-- |
| − | {{documentation|1=Template:IPA chart/doc}} | + | 3 AUDIO HELP |
| − | </noinclude> | + | --> |
| + | * {{IPA chart/compose link<!-- | ||
| + | -->|link_yesno={{{show audio help|NO}}}<!-- | ||
| + | -->|link_page=wikipedia:Media help (Ogg)<!-- | ||
| + | -->|link_label=help (audio)<!-- | ||
| + | -->|prefix=[[File:Loudspeaker.svg|11px|link=]] <!-- | ||
| + | -->|nextlink_yesno=NO|nextlink_page={{{extra link|}}}<!-- | ||
| + | -->}}<!-- | ||
| + | 4 EXTRA LINK | ||
| + | --> | ||
| + | * {{IPA chart/compose link<!-- | ||
| + | -->|link_yesno=yes<!-- | ||
| + | -->|link_page={{{extra link|}}}<!-- | ||
| + | -->|link_label={{{extra link label|}}}<!-- | ||
| + | -->|nextlink_yesno=NO<!-- | ||
| + | -->|nextlink_page={{{chart image|}}}<!-- | ||
| + | -->}}<!-- | ||
| + | 5 CHART IMAGE | ||
| + | --> | ||
| + | * {{IPA chart/compose link<!-- | ||
| + | -->|link_yesno=yes<!-- | ||
| + | -->|link_page={{{chart image|}}}<!-- | ||
| + | -->|link_label=image<!-- | ||
| + | -->|nextlink_yesno=NO<!-- | ||
| + | -->|nextlink_page={{{audio chart link|}}}<!-- | ||
| + | -->|is file link=yes<!-- | ||
| + | -->}}<!-- | ||
| + | 6 CHART WITH AUDIO | ||
| + | --> | ||
| + | * {{IPA chart/compose link<!-- | ||
| + | -->|link_yesno=yes<!-- | ||
| + | -->|link_page={{{audio chart link|}}}<!-- | ||
| + | -->|link_label=audio<!-- | ||
| + | -->|prefix=[[File:Loudspeaker.svg|11px|link={{{audio chart link|}}}]] <!-- | ||
| + | -->|nextlink_yesno=NO<!-- | ||
| + | -->|nextlink_page=EXISTING (IPA bare table)<!-- | ||
| + | -->}}<!-- | ||
| + | 7 VIEW BASE TABLE | ||
| + | --> | ||
| + | * {{IPA chart/compose link<!-- | ||
| + | -->|link_yesno={{main other|no|{{{show view|YES}}}}}<!-- | ||
| + | -->|link_page={{{ipa table|Template:IPA chart/table undefined}}}<!-- | ||
| + | -->|link_label=table<!-- | ||
| + | -->|nextlink_yesno=NO<!-- | ||
| + | -->|nextlink_page={{{name|IPA chart undefined}}}<!-- | ||
| + | -->}}<!-- | ||
| + | 8 VIEW THIS TEMPLATE | ||
| + | --> | ||
| + | * {{IPA chart/compose link<!-- | ||
| + | -->|link_yesno={{{show view|YES}}}<!-- | ||
| + | -->|link_page={{{name|Template:IPA chart undefined}}}<!-- | ||
| + | -->|link_label=template<!-- | ||
| + | -->|nextlink_yesno=NO<!-- | ||
| + | -->}}<!-- | ||
| + | -->|no=<!-- | ||
| + | -->}}<!-- | ||
| + | -->}}<noinclude>{{clear}}{{documentation|1=Template:IPA chart/doc}}</noinclude> | ||
Latest revision as of 15:05, 24 May 2020
| IPA chart undefined, see IPA chart/core1 for usage | |
| This table contains phonetic symbols, which may not display correctly in some browsers. [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. |