Difference between revisions of "Template:Infobox heteropolypeptide"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes |
imported>PrimeHunter (make everything optional) |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | | above = {{{heteropolymer}}} | + | | above = {{{heteropolymer|{{PAGENAMEBASE}}}}} |
| − | | subheader = ({{{polymer_type}}}) | + | | subheader = {{#if:{{{polymer_type|}}}|({{{polymer_type}}})}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} | ||
| Line 7: | Line 7: | ||
| label1 = Protein type | | label1 = Protein type | ||
| − | | data1 = {{{protein_type}}} | + | | data1 = {{{protein_type|}}} |
| label2 = Function | | label2 = Function | ||
| − | | data2 = {{{function}}} | + | | data2 = {{{function|}}} |
| label3 = Cofactor(s) | | label3 = Cofactor(s) | ||
| data3 = {{{cofactors|}}} | | data3 = {{{cofactors|}}} | ||
| below = | | below = | ||
{{{!}} width="100%" | {{{!}} width="100%" | ||
| − | {{!}}- style="background-color: #ccf; font-weight: bold;" | + | {{#ifexpr: {{{SubunitCount|0}}}>0 |
| + | |{{!}}- style="background-color: #ccf; font-weight: bold;" | ||
! Subunit name {{!!}} Gene {{!!}} Chromosomal locus | ! Subunit name {{!!}} Gene {{!!}} Chromosomal locus | ||
{{!}}- | {{!}}- | ||
{{!}} {{{subunit1}}} {{!!}} {{{gene1}}} {{!!}} {{{locus1}}} | {{!}} {{{subunit1}}} {{!!}} {{{gene1}}} {{!!}} {{{locus1}}} | ||
| − | {{!}}- | + | {{#ifexpr: {{{SubunitCount|0}}}>1 |
| + | |{{!}}- | ||
{{!}} {{{subunit2}}} {{!!}} {{{gene2}}} {{!!}} {{{locus2}}} | {{!}} {{{subunit2}}} {{!!}} {{{gene2}}} {{!!}} {{{locus2}}} | ||
{{#ifexpr: {{{SubunitCount|0}}}>2 | {{#ifexpr: {{{SubunitCount|0}}}>2 | ||
| Line 29: | Line 31: | ||
|{{!}}- | |{{!}}- | ||
{{!}} {{{subunit5}}} {{!!}} {{{gene5}}} {{!!}} {{{locus5}}} | {{!}} {{{subunit5}}} {{!!}} {{{gene5}}} {{!!}} {{{locus5}}} | ||
| + | }} | ||
| + | }} | ||
}} | }} | ||
}} | }} | ||
Revision as of 12:05, 29 March 2020
| Template:PAGENAMEBASE | ||
|---|---|---|
|
| ||
[[Category:Infobox templates|Template:Remove first word]]
This template is for heteropolymeric proteins where subunit articles also exist.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |