Difference between revisions of "Template:Infobox heteropolypeptide"
Jump to navigation
Jump to search
Template documentation
imported>Zackmann08 (tagging) |
imported>PrimeHunter (add {{Parameter names example}}) |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | {{Infobox |
| − | + | | above = {{{heteropolymer|{{PAGENAMEBASE}}}}} | |
| − | + | | subheader = {{#if:{{{polymer_type|}}}|({{{polymer_type}}})}} | |
| − | + | ||
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} | |
| − | + | | caption = {{{image_source|}}} | |
| − | + | ||
| − | + | | label1 = Protein type | |
| − | + | | data1 = {{{protein_type|}}} | |
| − | + | | label2 = Function | |
| − | + | | data2 = {{{function|}}} | |
| − | + | | label3 = Cofactor(s) | |
| − | + | | data3 = {{{cofactors|}}} | |
| − | + | | below = | |
| − | + | {{{!}} width="100%" | |
| − | + | {{#ifexpr: {{{SubunitCount|0}}}>0 | |
| − | + | |{{!}}- style="background-color: #ccf; font-weight: bold;" | |
| − | + | ! Subunit name {{!!}} Gene {{!!}} Chromosomal locus | |
| − | + | {{!}}- | |
| − | + | {{!}} {{{subunit1}}} {{!!}} {{{gene1}}} {{!!}} {{{locus1}}} | |
| − | + | {{#ifexpr: {{{SubunitCount|0}}}>1 | |
| − | + | |{{!}}- | |
| − | + | {{!}} {{{subunit2}}} {{!!}} {{{gene2}}} {{!!}} {{{locus2}}} | |
| − | + | {{#ifexpr: {{{SubunitCount|0}}}>2 | |
| − | + | |{{!}}- | |
| − | + | {{!}} {{{subunit3}}} {{!!}} {{{gene3}}} {{!!}} {{{locus3}}} | |
| − | + | {{#ifexpr: {{{SubunitCount|0}}}>3 | |
| − | + | |{{!}}- | |
| − | + | {{!}} {{{subunit4}}} {{!!}} {{{gene4}}} {{!!}} {{{locus4}}} | |
| − | + | {{#ifexpr: {{{SubunitCount|0}}}>4 | |
| − | + | |{{!}}- | |
| − | + | {{!}} {{{subunit5}}} {{!!}} {{{gene5}}} {{!!}} {{{locus5}}} | |
| − | + | }} | |
| − | + | }} | |
| − | + | }} | |
| − | + | }} | |
| − | + | }} | |
| − | + | {{!}}} | |
| − | + | }}{{#if:{{{image|}}}||<includeonly>[[Category:Protein heteropolymers]]</includeonly><!-- added by Pdeitiker in the first revision, kept through rewrite but functionality unclear -->}}<noinclude> | |
| − | + | {{Documentation|content= | |
| − | + | {{Parameter names example |heteropolymer| polymer_type| image| image_size| width| alt| image_source| protein_type| function| cofactors| SubunitCount=2| subunit1| gene1| locus1| subunit2| gene2| locus2}} | |
| − | + | This template is for heteropolymeric proteins where subunit articles also exist. All parameters are optional except <code>subunit(n)</code>, <code>gene(n)</code>, <code>locus(n)</code> when <code>SubunitCount</code> is at least n. | |
| − | + | [[Category:Biology infobox templates]] | |
| − | + | }} | |
| − | + | </noinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 14:13, 29 March 2020
| Template:PAGENAMEBASE | ||
|---|---|---|
|
| ||
[[Category:Infobox templates|Template:Remove first word]]
Template:Parameter names example
This template is for heteropolymeric proteins where subunit articles also exist. All parameters are optional except subunit(n), gene(n), locus(n) when SubunitCount is at least n.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |