Template:RecursiveDrink: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Template for use for https://wiki.tgstation13.org/Guide_to_drinks | Template for use for https://wiki.tgstation13.org/Guide_to_drinks | ||
created by [[User:NNMKR|NNMKR]] | created by [[User:NNMKR|NNMKR]] | ||
<b>How to use:</b> | <b>How to use:</b><br> | ||
Go to a page that you wish to create, for example, if you wanted to add Pilk as a recipe, you would go to: | Go to a page that you wish to create, for example, if you wanted to add Pilk as a recipe, you would go to: https://wiki.tgstation13.org/Template:RecursiveDrink/Pilk_example minus the example part.<br> | ||
Then you would create that page and add in | Then you would create that page and add in your recipe like this<br> | ||
<div style="border: 1px solid black; padding: 5px; width: fit-content;"> | <div style="border: 1px solid black; padding: 5px; width: fit-content;"> | ||
1 part Pepsi | 1 part Pepsi<br> | ||
1 part Milk | 1 part Milk | ||
</div> | </div> | ||
Line 14: | Line 13: | ||
An example of how this would look would be:{{Tooltip|[[#Pilk_example|Pilk]]|{{RecursiveDrink/Pilk_example}}}} | An example of how this would look would be:{{Tooltip|[[#Pilk_example|Pilk]]|{{RecursiveDrink/Pilk_example}}}} | ||
which would be written in HTML as <nowiki>{{Tooltip|[[#Pilk_example|Pilk]]|{{RecursiveDrink/Pilk_example}}}}</nowiki> | which would be written in HTML as <nowiki>{{Tooltip|[[#Pilk_example|Pilk]]|{{RecursiveDrink/Pilk_example}}}}</nowiki> | ||
<br><br> | |||
if you've edited on the chemistry page before, this is all basically the same way that the chem page uses the RecursiveChem templates |
Latest revision as of 22:48, 4 July 2025
Template for use for https://wiki.tgstation13.org/Guide_to_drinks created by NNMKR
How to use:
Go to a page that you wish to create, for example, if you wanted to add Pilk as a recipe, you would go to: https://wiki.tgstation13.org/Template:RecursiveDrink/Pilk_example minus the example part.
Then you would create that page and add in your recipe like this
1 part Pepsi
1 part Milk
Then edit the source for the Guide to Drinks page and insert a tooltip to the page you included
An example of how this would look would be:
Pilk1 part Milk
which would be written in HTML as {{Tooltip|[[#Pilk_example|Pilk]]|{{RecursiveDrink/Pilk_example}}}}
if you've edited on the chemistry page before, this is all basically the same way that the chem page uses the RecursiveChem templates