Jump to content

Template:Recipes/doc

From Conan Exiles Wiki
Revision as of 15:27, 17 April 2023 by imported>Testerle
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template creates an icon with a text link underneath. As the page width narrows, a group of these icons will rearrange themselves onto as many lines as necessary. The group can be centered by enclosing the template calls in <center> ... </center> tags.

Usage

{{Recipes|Icon Acolyte of Mitra.png|Acolyte of Mitra (Knowledge)}}
Parameters
Name Type Required Use
1 image true The image name for this recipe, suffixed with .png
2 string true The name of the recipe being linked to
link string false The page that needs to be linked to, if the recipe name, itself, is a disambiguation.
Link defaults to the value of the 2nd parameter if omitted.

Example

<center>

{{Recipes|Icon Acolyte of Mitra.png|Acolyte of Mitra (Knowledge)}}
{{Recipes|Icon Survivalist.png|Survivalist (Knowledge)}}
{{Recipes|Icon Weaver.png|Weaver (Knowledge)}}
{{Recipes|Icon tannery.png|Tanner|link=Tanner (Knowledge)}}
{{Recipes|Icon Acolyte of Yog.png|Acolyte of Yog (Knowledge)}}

</center>

Generates:

For the template inside of a wikitable:

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.