Template:GasIcon/Sandbox: Difference between revisions
Template page
More actions
Created page with "<noinclude><templatedata> { "description": "Display a gas or liquid's icon image, with a link to its corresponding wiki page.", "params":{ "1": { "label":"Gas Name", "type": "string", "required": true, "description": "The name of the gas to be displayed." }, "Size": { "type": "string", "required": false, "description": "Size of icon to be displayed.", "default": "32px" } } } </tem..." |
mNo edit summary |
||
| Line 21: | Line 21: | ||
Example: | Example: | ||
<nowiki>{{GasIcon/Sandbox|LiquidMethane|Size= | <nowiki>{{GasIcon/Sandbox|LiquidMethane|Size=1em}}</nowiki> -> {{GasIcon/Sandbox|LiquidMethane|Size=1em}} | ||
</noinclude><includeonly>{{#Invoke:GasIcon|GetIcon2}}</includeonly> | </noinclude><includeonly>{{#Invoke:GasIcon|GetIcon2}}</includeonly> | ||
Latest revision as of 05:52, 6 September 2026
Display a gas or liquid's icon image, with a link to its corresponding wiki page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Gas Name | 1 | The name of the gas to be displayed. | String | required |
| Size | Size | Size of icon to be displayed.
| String | optional |
Example: