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

From blackwiki
Jump to navigation Jump to search
imported>Sweyn78
(Undid revision 800489921 by Sweyn78 (talk) The formatting quirks run even deeper. I'll need to fix more things than just font size before pushing these changes through.)
imported>Sweyn78
m (More-legible code.)
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      ={{#switch:{{{position|}}}<!--If the wrapper is "infobox"-->
+
INFOBOX
  |left  |float left  |float:left  =float:none;clear:none;
+
-->|infobox      ={{#switch:{{{position|}}}<!--
  |right |float right |float:right =float:right;
+
-->|left  |float left  |float:left  =float:none;clear:none;<!--
  |center|float center|float:none  =float:none;margin:0em auto 0em auto;
+
-->|right |float right |float:right =float:right;<!--
  |none  |float none  |#default    =<!--
+
-->|center|float center|float:none  =float:none;margin:0em auto 0em auto;<!--
 +
-->|none  |float none  |#default    =<!--
 
-->}}<!--
 
-->}}<!--
-->|navbox={{#switch:{{{position|}}}<!--If the wrapper is "navbox"-->
+
NAVBOX
  |none=
+
-->|navbox={{#switch:{{{position|}}}<!--
  |left  |float left  |float:left  =float:none;clear:none;
+
-->|none=<!--
  |right |float right |float:right =float:right;
+
-->|left  |float left  |float:left  =float:none;clear:none;<!--
  |center|float center|#default    =float:none;margin:0em auto 0em auto;<!--
+
-->|right |float right |float:right =float:right;<!--
 +
-->|center|float center|#default    =float:none;margin:0em auto 0em auto;<!--
 
-->}}<!--
 
-->}}<!--
-->|#default={{#switch:{{{position|}}}<!--If the wrapper is not "infobox" or "navbox"-->
+
DEFAULT
  |none=
+
-->|#default={{#switch:{{{position|}}}<!--
  |left  |float left  |float:left          =float:none;clear:none;
+
-->|none=<!--
  |center|float center|float:none          =float:none;margin:0em auto 0em auto;
+
-->|left  |float left  |float:left          =float:none;clear:none;<!--
  |right |float right |float:right|#default =float:right;<!--
+
-->|center|float center|float:none          =float:none;margin:0em auto 0em auto;<!--
 +
-->|right |float right |float:right|#default =float:right;<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}<!--
Line 34: Line 37:
  
 
STACK TABLE
 
STACK TABLE
-->|alignstyle={{{alignstyle| align=left}}}<!--Not a style really -- more a trick.
+
-->|alignstyle={{{alignstyle|align=left}}}<!--Not a style really -- more a trick.
  
 
FOOTNOTES 1-4 and ipa note
 
FOOTNOTES 1-4 and ipa note
Line 50: Line 53:
 
-->|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 IPAhelp-->{{IPA chart/compose link
+
1 IPAhelp
  |link_yesno=YES| link_page=help:IPA<!--existing page-->| link_label=IPA help| nextlink_yesno={{{show ipa key|YES}}}| nextlink_page=EXISTING (IPAkey page)}}<!--
+
-->{{IPA chart/compose link<!--
  2 IPA key-->{{IPA chart/compose link
+
-->|link_yesno=YES| link_page=help:IPA<!--existing page-->| link_label=IPA help| nextlink_yesno={{{show ipa key|YES}}}| nextlink_page=EXISTING (IPAkey page)}}<!--
  |link_yesno={{{show ipa key|YES}}}| link_page=Help:IPA/English| link_label=IPA key| nextlink_yesno={{{show audio help|NO}}}| nextlink_page=EXISTING (audio help page)}}<!--
+
2 IPA key
  3 audiohelp-->{{IPA chart/compose link
+
-->{{IPA chart/compose link<!--
  |link_yesno={{{show audio help|NO}}}| link_page=wikipedia:Media help (Ogg)| link_label=audio help| prefix=[[File:Loudspeaker.svg|11px|link=]]&nbsp;| nextlink_yesno=yes| nextlink_page={{{extra link|}}}}}<!--
+
-->|link_yesno={{{show ipa key|YES}}}| link_page=Help:IPA/English| link_label=IPA key| nextlink_yesno={{{show audio help|NO}}}| nextlink_page=EXISTING (audio help page)}}<!--
  4 extra link-->{{IPA chart/compose link
+
3 audiohelp
  |link_yesno=yes| link_page={{{extra link|}}}| link_label={{{extra link label|}}}| nextlink_yesno=yes| nextlink_page={{{chart image|}}}}}<!--
+
-->{{IPA chart/compose link<!--
  5 chart image-->{{IPA chart/compose link
+
-->|link_yesno={{{show audio help|NO}}}| link_page=wikipedia:Media help (Ogg)| link_label=audio help| prefix=[[File:Loudspeaker.svg|11px|link=]]&nbsp;| nextlink_yesno=yes| nextlink_page={{{extra link|}}}}}<!--
  |link_yesno=yes| link_page={{{chart image|}}}| link_label=chart| nextlink_yesno={{{is audio chart|YES}}}| nextlink_page={{{audio chart link|}}}|is file link=yes|}}<!--
+
4 extra link
  6 audio chart-->{{IPA chart/compose link
+
-->{{IPA chart/compose link<!--
  |link_yesno=yes| link_page={{{audio chart link|}}}| link_label=chart with audio| prefix=[[File:Loudspeaker.svg|11px|link={{{audio chart link|}}}]]&nbsp;| nextlink_yesno={{main other|no|yes}}| nextlink_page=EXISTING (IPA bare table)}}<!--
+
-->|link_yesno=yes| link_page={{{extra link|}}}| link_label={{{extra link label|}}}| nextlink_yesno=yes| nextlink_page={{{chart image|}}}}}<!--
  7 view base table-->{{IPA chart/compose link
+
5 chart image
  |link_yesno={{main other|no|yes}}| link_page={{{ipa table|Template:IPA chart/table undefined}}}| link_label=view base table| nextlink_yesno={{{show view|YES}}}| nextlink_page={{{name|IPA chart undefined}}}}}<!--
+
-->{{IPA chart/compose link<!--
  8 view this template-->{{IPA chart/compose link
+
-->|link_yesno=yes| link_page={{{chart image|}}}| link_label=chart| nextlink_yesno={{{is audio chart|YES}}}| nextlink_page={{{audio chart link|}}}|is file link=yes|}}<!--
  |link_yesno={{{show view|YES}}}| link_page={{{name|Template:IPA chart undefined}}}| link_label=view| nextlink_yesno=NO|<!--No final bullet ever-->}}<!--
+
6 audio chart
 +
-->{{IPA chart/compose link<!--
 +
-->|link_yesno=yes| link_page={{{audio chart link|}}}| link_label=chart with audio| prefix=[[File:Loudspeaker.svg|11px|link={{{audio chart link|}}}]]&nbsp;| nextlink_yesno={{main other|no|yes}}| nextlink_page=EXISTING (IPA bare table)}}<!--
 +
7 view base table
 +
-->{{IPA chart/compose link<!--
 +
-->|link_yesno={{main other|no|yes}}| link_page={{{ipa table|Template:IPA chart/table undefined}}}| link_label=view base table| nextlink_yesno={{{show view|YES}}}| 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=view| nextlink_yesno=NO|<!--No final bullet ever-->}}<!--
 
-->|no=}}<!--
 
-->|no=}}<!--
-->}}<noinclude>
+
-->}}<noinclude>{{clear}}{{documentation|1=Template:IPA chart/doc}}</noinclude>
{{clear}}
 
{{documentation|1=Template:IPA chart/doc}}
 
</noinclude>
 

Revision as of 03:49, 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