Difference between revisions of "Template:Reagent"
From Pangaea Wiki
MyraMidnight (Talk | contribs) |
MyraMidnight (Talk | contribs) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <span class="reagent_icon" data-character="{{{1|}}}" style="white-space: nowrap">[[File:{{{1|Reagent}}}.png|{{{size|20}}}px|alt={{{1|Reagent}}}|link=Reagents]]{{<!-- | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
-->#if:{{{icononly|}}}<!-- | -->#if:{{{icononly|}}}<!-- | ||
− | -->|| <span>[[{{{link| | + | -->|| <span>[[{{{link|Reagents}}}|{{{2|{{{1|Reagent}}}}}}]]</span>|<!-- |
− | -->}}</span></ | + | -->}}</span><noinclude>{{documentation}}</noinclude> |
Latest revision as of 13:50, 13 August 2018
20px Reagent
Template documentation (
)
)
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}}
- The above documentation is transcluded from Template:Reagent/doc.
- Editors can experiment in this template's sandbox
- Please add categories to the /doc subpage within
<includeonly>...</includeonly>
tags.