Difference between revisions of "Template:Reagent/doc"
From Pangaea Wiki
MyraMidnight (Talk | contribs) (Created page with "{{documentation subpage}} ===Template Parameters=== This template relies on undefined parameters, which means it matters in which order you write them. #The first undefined p...") |
MyraMidnight (Talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 59: | Line 59: | ||
==Examples of using the tempate== | ==Examples of using the tempate== | ||
− | + | {|class=wikitable | |
− | + | !code || results | |
− | + | |- | |
− | + | |<code>{{Reg|Garlic}}</code> | |
− | + | |{{Reg|Garlic}} | |
− | + | |- | |
+ | |<code>{{Reg|Garlic|Spicy Garlic }}</code> | ||
+ | |{{Reg|Garlic|Spicy Garlic}} | ||
+ | |- | ||
+ | |<code>{{Reg|''Garlic''|icononly=yes}}</code> | ||
+ | |{{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}}
|
Garlic |
{{Reg|Garlic|Spicy Garlic }}
|
Spicy Garlic |
{{Reg|Garlic|icononly=yes}}
|
See also
- {{component}}