We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

Template:Pic

From Don't Starve Wiki
Jump to: navigation, search


Template-info.svg Documentation The documentation below is transcluded from Template:Pic/doc. (edit | history)
Gears.png This is a high risk template.
Please think carefully before alternating any codes, so as to avoid large-scale disruption.
Any changes to this template should first be tested in its /sandbox. Thanks!
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