Difference between revisions of "Template:IPA chart/core1"

From blackwiki
Jump to navigation Jump to search
imported>Sweyn78
m (Added an if statement to prevent breakage of non-infobox wrapper calls.)
imported>Sweyn78
(I've made the colours match those automatically set by Template:IPA navigation.)
Line 28: Line 28:
 
CAPTION
 
CAPTION
 
-->|caption          ={{{caption|}}}<!--
 
-->|caption          ={{{caption|}}}<!--
-->|captionstyle    =font-weight:bold;{{{captionstyle|}}}<!--
+
-->|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|background:#ccf;}}}<!--
  
 
BASE TABLE
 
BASE TABLE
Line 44: Line 44:
 
-->|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>{{{footnote2|}}}<br>{{{footnote3|}}}<br>{{{footnote4|}}}<br>{{{footnote ipa|}}}<!--
 
-->|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;background:#e1e3e7;}}}|no=}}<!--
+
-->|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:0em 0.5em;background:transparent;}}}|no=}}<!--
+
-->|linkrowstyle={{yesno|{{{use style|yes}}}|yes={{{linkrowstyle|text-align:center;padding:0em 0.5em;background:#e6e6ff;}}}|no=}}<!--
 
-->|linkrow    =<!--
 
-->|linkrow    =<!--
 
-->{{yesno<!--
 
-->{{yesno<!--

Revision as of 07:04, 14 September 2017

IPA chart undefined,
see IPA chart/core1 for usage
This table contains phonetic symbols, which may not display correctly in some browsers. [Help]
IPA help
  1. REDIRECT Template:•
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.
IPA key
  1. REDIRECT Template:•
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.
view base table
  1. REDIRECT Template:•
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.
view
Template documentation[view] [edit] [history] [purge]

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

pt:Predefinição:IPA chart