Template:PH indicator
| {{{indicator_name}}} (pH indicator) | ||
| below pH {{{low_pH}}} | above pH {{{high_pH}}} | |
| {{{low_pH}}} | ⇌ | {{{high_pH}}} |
Usage
{{pH indicator template
| float =
| indicator_name =
| low_pH =
| low_pH_color =
| low_pH_text =
| high_pH =
| high_pH_color =
| high_ph_text =
| middle_pH_color =
| middle_ph_text =
}}
The |float= parameter is optional. By default the template aligns to the right. If the right side of the article is already occupied by a sidebar or image, this may cause issues. In this case it may be useful to set |float=left. When doing so, it may also help to add {{clear|left}} immediately afterwards.
Example 1
This example illustrates the default behaviour of this template.
| Naphtholphthalein (pH indicator) | ||
| below pH 7.3 | above pH 8.7 | |
| 7.3 | ⇌ | 8.7 |
{{pH_indicator
|indicator_name=Naphtholphthalein
|low_pH=7.3
|low_pH_color=pink
|low_pH_text=black
|high_pH=8.7
|high_pH_color=orange
|high_pH_text=white
}}
Example 2
In this example |float=left is set to align the template left. As this would result in displacing the subsequent code block to the right, it's followed by {{clear}} with |1=left so that the code block instead follows beneath.
| Alizarine Yellow R (pH indicator) | ||
| below pH 10.1 | above pH 12.0 | |
| 10.1 | ⇌ | 12.0 |
{{pH indicator
|float=left
|indicator_name=Alizarine Yellow R
|low_pH=10.1
|high_pH=12.0
|low_pH_color=yellow
|high_pH_color=red
|high_pH_text=white
}}
{{clear|left}}
Example 3
This is how Example 2 appears if {{clear}} is not used, illustrating the problems that may arise when |float=left is applied in contexts where other elements on the page also aligned to the left.
| Alizarine Yellow R (pH indicator) | ||
| below pH 10.1 | above pH 12.0 | |
| 10.1 | ⇌ | 12.0 |
{{pH indicator
|float=left
|indicator_name=Alizarine Yellow R
|low_pH=10.1
|high_pH=12.0
|low_pH_color=yellow
|high_pH_color=red
|high_pH_text=white
}}
TemplateData
TemplateData for PH indicator
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| indicator_name | indicator_name | no description | Unknown | optional |
| low_pH | low_pH | no description | Unknown | optional |
| high_pH | high_pH | no description | Unknown | optional |
| low_pH_color | low_pH_color | no description | Unknown | optional |
| low_pH_text | low_pH_text | no description | Unknown | optional |
| high_pH_color | high_pH_color | no description | Unknown | optional |
| high_pH_text | high_pH_text | no description | Unknown | optional |
| middle_pH_color | middle_pH_color | no description | Unknown | optional |
| middle_pH_text | middle_pH_text | no description | Unknown | optional |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.