Template:IconText
Jump to navigation
Jump to search
Template helping the formating of a text precede by an icon
Parameters
| Name | Description |
|---|---|
| icon | A formated string to define which icon use. Check the icon list for more info. |
| icon_size | (optional) Use to override de default icon size (default: 12px for height). |
| text | (optional) Text following the icon. |
| oneline | (optional) If present, force the display on a line (display:block). |
Exemple of use
{{IconText
| icon=red protein
| icon_size=x24px
| text=Red protein
| oneline
}}
List of icon
You can check the following table to see if the icon exist. If not present, follow those step to add it :
- Upload the icon file here. If possible, use a file with no white space between the border and the icon and with an transparent background.
- Edit this page.
- In the {{#switch section, add this line with your info : | ID icon=[[File:File name|<nowiki>x12px|baseline|link=]]
- In the table below, add the reference you just insert with the picture displayed.
| ID | Example | ID | Example | ID | Example | ID | Example | ID | Example | ID | Example | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| heat | energy | mitochondrial energy | oxydable | intracellular | red protein | |||||||||||
| yellow protein | blue protein | green protein | red tubulin | yellow tubulin | blue tubulin | |||||||||||
| green tubulin | red subunit | yellow subunit | blue subunit | green subunit |