Template:nophoto

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(I think this no longer counts as a simple template; also add to image template category)
(Usage: reorder last example to match image syntax more closely)
Line 30: Line 30:
* These options can be combined:
* These options can be combined:
<pre>
<pre>
-
{{nophoto|100px|filename=newCoolPic.PNG|caption=Upload image}}
+
{{nophoto|filename=newCoolPic.PNG|100px|caption=Upload image}}
</pre>
</pre>

Revision as of 14:46, 12 October 2024

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|filename=newCoolPic.PNG|100px|caption=Upload image}}
Personal tools