Template:RecursiveDrink: Difference between revisions

From /tg/station 13 Wiki
Jump to navigation Jump to search
NNMKR (talk | contribs)
No edit summary
NNMKR (talk | contribs)
No edit summary
Line 4: Line 4:


<b>How to use:</b>
<b>How to use:</b>
Go to a page that you wish to create, (IE: wiki.tgstation13.org/Template:RecursiveDrink/Pepsi)<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: [[#Template:RecursiveDrink/Pilk_example|https://wiki.tgstation13.org/Template:RecursiveDrink/Pilk_example]]<br>
Then edit source and add in the chemicals/drinks needed for the recipe.
Then you would create that page and add in the recipe
Example:<br>
<div style="border: 1px solid black; padding: 5px; width: fit-content;">
1 part Pepsi&lt;br&gt;<br>
1 part Milk
</div>
Then edit the source for the Guide to Drinks page and insert a tooltip to the page you included<br>
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>

Revision as of 22:43, 4 July 2025

Template for use for https://wiki.tgstation13.org/Guide_to_drinks like how the chem page has a template thingy
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
Then you would create that page and add in the recipe Example:

1 part Pepsi<br>
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:

Pilk
1 part Pepsi
1 part Milk

which would be written in HTML as {{Tooltip|[[#Pilk_example|Pilk]]|{{RecursiveDrink/Pilk_example}}}}