Шаблон:RecursiveDrink/doc: различия между версиями

Материал из SS220 Skyrat Wiki (SS13)
Перейти к навигации Перейти к поиску
imported>Abigail886
м (Aaaand missed something else, jeez)
imported>Abigail886
м (Last one)
Строка 7: Строка 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">
{{Tooltip|A [[Guide to drinks#B|C]]|'''Obtain from D.'''<br>E}}<br>
{{Tooltip|A [[Guide to drinks#B|C]]|'''Obtain from D.'''<br>E}}<br>
</syntaxhighlight>
</syntaxhighlight>

Версия от 01:22, 31 марта 2022



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|A [[Guide to drinks#B|C]]|'''Obtain from D.'''<br>E}}<br>

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:

{{RecursiveDrink/F}} (If something the bartender makes)
{{RecursiveChem/F}} (If something the chemist makes)

Replace F with the drink or chemical name respectively and you're done!

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.