Template:nophoto

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(Usage: update to clarify new use of caption parameter)
(I think this no longer counts as a simple template; also add to image template category)
Line 34: Line 34:
-
[[Category:Simple Formatting Templates]]
+
[[Category:Fancy Formatting Templates]]
 +
[[Category:Image Formatting Templates]]
</noinclude>
</noinclude>

Revision as of 10:13, 1 January 2023

This template is used to mark items that expect a photo but do not have them.

These are added to the Articles Needing Images category.

Usage

  • To add an image with a default width of 150px:
{{nophoto}}
  • To add an image with a width of 100px:
{{nophoto|100px}}
  • To link to a specific desired filename:
{{nophoto|filename=newCoolPic.PNG}}
  • To enter a caption different from the default:
{{nophoto|caption=Please donate images to help The Sad Kids.}}
  • These options can be combined:
{{nophoto|100px|filename=newCoolPic.PNG|caption=Upload image}}
Personal tools