Template:Recipe/doc: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Arindor (talk | contribs)
Created page with "== Description == :Use this template whenever you want the recipe icon and link to display. == Syntax == :Type {{t|Item|Item name}} where you want the recipe icon and link to..."
 
Arindor (talk | contribs)
mNo edit summary
Line 3: Line 3:


== Syntax ==
== Syntax ==
:Type {{t|Item|Item name}} where you want the recipe icon and link to display.
:Type {{t|Recipe|Item name}} where you want the recipe icon and link to display.


== Parameters ==
== Parameters ==
; Item name
; Item name
: The correct capitalized name of the item.
: The correct capitalized name of the recipe (without Recipe:).


== Sample output ==
== Sample output ==

Revision as of 00:14, 5 March 2017

Description

Use this template whenever you want the recipe icon and link to display.

Syntax

Type {{Recipe|Item name}} where you want the recipe icon and link to display.

Parameters

Item name
The correct capitalized name of the recipe (without Recipe:).

Sample output

Code = Output
Template:Tlc {{ #replace: http://cdn.projectgorgon.com/v456/icons/icon_4003.png http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}Recipe: {{ #replace: http://cdn.projectgorgon.com/v456/icons/icon_5145.png http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }} [[{{#replace:Basic Rennet|#|}}|Basic Rennet]]

Note

Uses the new Template:Item icon template.