Template:Cl: Difference between revisions
From Space Station 14 Wiki
UpAndLeaves (talk | contribs) (Created page with "{{#if: {{{1|}}}|}}}|{{{2}}}|{{{1}}}}}|{{{1}}}|}} <noinclude> <templatedata> { "params": { "1": { "label": "Chemical Name", "description": "The name to be displayed in the link. If the ID is not defined, this will also be used for the ID but it is not recommended.", "type": "string", "required": true }, "2": { "label": "Chemical ID", "description": "The ID that is passed to the link", "example": "Dylovene",...") |
UpAndLeaves (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{#if: {{{1|}}}|[[ | # Numbered list item | ||
{{#if: {{{1|}}}|[[Chemistry#chem_{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|{{{1}}}]]|}} | |||
<noinclude> | <noinclude> |
Revision as of 10:34, 25 October 2024
- Numbered list item
Links to the Chemistry page, easy! First argument is the displayed text. Second is the chemical ID (Or it uses the first if the second is empty)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Chemical Name | 1 | The name to be displayed in the link. If the ID is not defined, this will also be used for the ID but it is not recommended. | String | required |
Chemical ID | 2 | The ID that is passed to the link
| String | suggested |