Difference between revisions of "Template:Reagent/doc"
From Pangaea Wiki
MyraMidnight (Talk | contribs) (→Examples of using the tempate) |
MyraMidnight (Talk | contribs) |
||
| Line 71: | Line 71: | ||
|{{Reg|Garlic|icononly=yes}} | |{{Reg|Garlic|icononly=yes}} | ||
|} | |} | ||
| + | ==See also== | ||
| + | :{{tl|component}} | ||
<includeonly>[[category:template-forms]]</includeonly> | <includeonly>[[category:template-forms]]</includeonly> | ||
Latest revision as of 13:58, 13 August 2018
Contents
Template Parameters
This template relies on undefined parameters, which means it matters in which order you write them.
- The first undefined parameter is the reagent name as it would appear in the image file name.
- The second undefined parameter allows you to customize the name of the link
- If you wish to have only the image icon without a written link, then you add the
icononly=parameter.
{{Reg
|Name of Reagent
|Custom link name
|icononly=
}}
Compatible Reagent names
Wiki is very case senstive, except when it comes to the FIRST letter of a link/file name.
| Normal Reagents | Special Reagents | Other Reagents |
|---|---|---|
|
|
|
Examples of using the tempate
| code | results |
|---|---|
{{Reg|Garlic}}
|
|
{{Reg|Garlic|Spicy Garlic }}
|
|
{{Reg|Garlic|icononly=yes}}
|
See also
- {{component}}