Template:RecursiveDrink/doc: Difference between revisions

From Skyrat
Jump to navigation Jump to search
m Fixed an issue I missed
m Added this to the Recursive template category.
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
This is a mess, ignore this for now while I work on a rewrite:
----
----


Line 7: Line 7:
1) Create a Template for your Drink under this template. EG: "Template:RecursiveDrink/Changling Sting"<br>
1) Create a Template for your Drink under this template. EG: "Template:RecursiveDrink/Changling Sting"<br>
2) Add the ingredients. Use this template:
2) Add the ingredients. Use this template:
<syntaxhighlight lang="html" line="1">
<syntaxhighlight lang="html">
{{tl2|Tooltip|A [[Guide to drinks#B|C]]|'''Obtain from D.'''<br>E}}<br>
{{Tooltip|1[[Guide_to_2.1#2.2|3]]|{{RecursiveDrink/4}}}}<br>
</syntaxhighlight>
</syntaxhighlight>


Replace A with the parts (1 part, 5 part, ect.), B and C with the ingredient name (yes, the exact same name), D with where it can be gotten from (Booze-O-Mat, Booze Dispenser, Chemist, ect.), and E with Either a name or one of the below templates:<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: (the below makes a Classic Martini)
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
{{tl2|RecursiveDrink/F}} (If something the bartender makes)
{{Tooltip|2 parts [[Guide_to_drinks#Gin|Gin]]|{{RecursiveDrink/Gin}}}}<br>
{{tl2|RecursiveChem/F}} (If something the chemist makes)
{{Tooltip|1 part [[Guide_to_drinks#Vermouth|Vermouth]]|{{RecursiveDrink/Vermouth}}}}<br>
</syntaxhighlight>
</syntaxhighlight>
Replace F with the drink or chemical name respectively and you're done!<br>


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.
Be sure to use "Show Preview" to see how it looks, if you encounter any errors shoot me a message, discord name is [https://www.discordapp.com/users/330424466964348928 Abigail886], or leave a message on my [[User_talk:Abigail886|talk]] page.


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.
<noinclude>[[Category:Recursive template]]</noinclude>

Latest revision as of 18:07, 13 May 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: (the below makes a Classic Martini)

{{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.

Be sure to use "Show Preview" to see how it looks, if you encounter any errors shoot me a message, discord name is Abigail886, or leave a message on my talk page.

Little more work than the chemistry one but I think it looks fancy and will help bartenders out.