Şablon:Biyokimya reaksiyon alt birimi

Vikipedi, özgür ansiklopedi
Şablon belgelemesi[gör] [değiştir] [geçmiş] [temizle]
2 × 
 
2 H2O
Şablon:Biochem reaction arrow alt text

Bu şablon biyokimyasal reaksiyonun alt birimlerini oluşturur. Örneğin, üç örnek katalaz reaksiyonunu göstermek için kullanılmıştır.

Şablon is based on the <div> element, rather than tables, and this allows it to be more flexible in its display. Örneğin, "2 × Hidrojen peroksit" is likely to wrap across multiple lines, but this doesn't force all the other headers to expand to match. Some of the formatting is dependent on the user's browser supporting the flexbox layout system; the vast majority do, but you will see slight differences in spacing on legacy browsers, although efforts have been made to provide a fallback.

2 × 
 
2 H2O
Şablon:Biochem reaction arrow alt text

The second example shows the same code, but constrained to 200 px wide; the content wraps, which is particularly useful for longer pathways and mobile devices.

Örnek kod[kaynağı değiştir]

 <div style="display: flex; flex-flow: row wrap; width:300px; max-width: 100%">
 {{Biochem_reaction_subunit|compound=Hidrojen peroksit|image=Hydrogen-peroxide-3D-balls.png|n=2}}
 {{Biochem_reaction_subunit|enzyme=Katalaz|for_prod=2 H<sub>2</sub>O}}
 {{Biochem_reaction_subunit|compound=Oksijen|image=Oxygen molecule.png}}
 </div>

Parameters[kaynağı değiştir]

Şablon:Format TemplateData