Template:RecursiveDrink/doc: Difference between revisions
Jump to navigation
Jump to search
Abigail886 (Sọ̀rọ̀ | contribs) No edit summary |
Abigail886 (Sọ̀rọ̀ | contribs) Hopefully more understandable and basic for newbies to understand |
||
Line 8: | Line 8: | ||
2) Add the ingredients. Use this template: | 2) Add the ingredients. Use this template: | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
{{Tooltip| | {{Tooltip|1[[Guide_to_2.1#2.2|3]]|{{RecursiveDrink/4}}}}<br> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Replace | Replace 1 with the parts, (1 part, 2 parts, ect) | ||
Replace 2.1 with the place the ingredient is from, (drinks for another drink, food for a food item, ect.) | |||
Replace 2.2, 3 and 4 with the name of the drink. Yes the same name. | |||
Full example of one in action is this: | |||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
{{RecursiveDrink/ | {{Tooltip|2 parts [[Guide_to_drinks#Gin|Gin]]|{{RecursiveDrink/Gin}}}}<br> | ||
{{ | {{Tooltip|1 part [[Guide_to_drinks#Vermouth|Vermouth]]|{{RecursiveDrink/Vermouth}}}}<br> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
If the drink you listed is made with other drinks, that template will deepen the layer. | If the drink you listed is made with other drinks, that template will deepen the layer. | ||
Little more work than the chemistry one but I think it looks fancy and will help bartenders out. | Little more work than the chemistry one but I think it looks fancy and will help bartenders out. |
Revision as of 02:40, 2 April 2022
This is a mess, ignore this for now while I work on a rewrite:
Quite easy to add a chem to RecursiveDrink.
1) Create a Template for your Drink under this template. EG: "Template:RecursiveDrink/Changling Sting"
2) Add the ingredients. Use this template:
{{Tooltip|1[[Guide_to_2.1#2.2|3]]|{{RecursiveDrink/4}}}}<br>
Replace 1 with the parts, (1 part, 2 parts, ect) Replace 2.1 with the place the ingredient is from, (drinks for another drink, food for a food item, ect.) Replace 2.2, 3 and 4 with the name of the drink. Yes the same name.
Full example of one in action is this:
{{Tooltip|2 parts [[Guide_to_drinks#Gin|Gin]]|{{RecursiveDrink/Gin}}}}<br>
{{Tooltip|1 part [[Guide_to_drinks#Vermouth|Vermouth]]|{{RecursiveDrink/Vermouth}}}}<br>
If the drink you listed is made with other drinks, that template will deepen the layer.
Little more work than the chemistry one but I think it looks fancy and will help bartenders out.