Template:RC: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(I'm getting better at templates)
 
(add new optional parameter for product)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>Use this template as a basic recipe card
<noinclude>Use this template as a basic recipe card for an item with only one recipe.
</noinclude>{|border="1" cellpadding="2" cellspacing="0" style="background:#ddd; white-space: nowrap; text-align: center"
</noinclude>{|border="1" cellpadding="2" cellspacing="0" style="background:#ddd; white-space: nowrap; text-align: center"
!{{{Quantifier|A/Some}}} [[{{{Product}}}]]
!{{{Quantifier|A}}} {{#if: {{{Product|}}}|[[{{{Product}}}]]|}} {{#if: {{{Nolink|}}}|{{{Nolink}}}|}}
|-style="background:white; text-align: left; text-align=top"
|-style="background:white; text-align: left; text-align=top"
|width="{{{Width|275}}}" valign="top"|<noinclude>
|width="{{{Width|275}}}" valign="top"|<noinclude>
Line 7: Line 7:
Parameters used:
Parameters used:


'''Quantifier''' which is usually "A" or "Some" (remember proper capitalization)
'''Quantifier''' which is usually "A" or "Some" (should be initial cap), and defaulted to "A"


'''Product''' which is the recipe result
'''Product''' which is the recipe result (should be all lowercase), or use '''Nolink''' to put a product name in without a link


'''Width''' which is defaulted to 275 but should be adjusted for visual appeal.
'''Width''' which is defaulted to 275 but should be adjusted for visual appeal


Use [[Template:Recipe end]] to finish the chart.
Use [[Template:RE]] to finish the chart.


[[Category:Alchemy templates]]</noinclude>
[[Category:Alchemy templates]]</noinclude>

Latest revision as of 15:42, 27 December 2017

Use this template as a basic recipe card for an item with only one recipe.

A

Parameters used:

Quantifier which is usually "A" or "Some" (should be initial cap), and defaulted to "A"

Product which is the recipe result (should be all lowercase), or use Nolink to put a product name in without a link

Width which is defaulted to 275 but should be adjusted for visual appeal

Use Template:RE to finish the chart.