Template:Pic

From Don't Starve Wiki
Jump to navigation Jump to search
Template documentation [View] [Edit] [History] [Refresh]
Coconade.png This is a high risk template.
Please think carefully before altering any source code, so as to avoid large-scale disruption. Any changes to this template should first be tested in its /sandbox.


Description
Adds a picture using minimal code
Syntax

Place {{Pic|size|picture}} onto a page. The picture will appear on the page resized to have the width of <size>.

Additionally, provide a link if it differs from the picture name: {{Pic|size|picture|link}}. The link can be internal (an article name) as well as external (URL).

Sample output

{{Pic|56|Maxwell}} gives Maxwell.png

{{Pic|24|PickSlashAxe|Pick/Axe}} gives PickSlashAxe.png