Template:nophoto
From Homestar Runner Wiki
(Difference between revisions)
(Seems color style needs to be inside the link. A lighter color might look better against the dark grey. Text could have tighter leading too but unsure how to do that) |
(added a border using the bounding span's style; darkened the color a little bit and added a shadow for greater contrast against the background image text; unfortunately there's still some overlap) |
||
Line 10: | Line 10: | ||
-->|link={{#var:nophoto_link}}<!-- | -->|link={{#var:nophoto_link}}<!-- | ||
-->]]</span><!-- | -->]]</span><!-- | ||
- | --><span style="position: absolute;bottom: | + | --><span style="position: absolute; bottom:5px; left:5px; right:5px;"><center><small><!-- |
- | --><span class="plainlinks">[{{#var:nophoto_link}} <span style="color:# | + | --><span class="plainlinks">[{{#var:nophoto_link}} <span style="color:#FF5555; text-shadow: 0px 0px 3px black;">{{#var:nophoto_message}}</span>]</span><!-- |
--></small></center></span><!-- | --></small></center></span><!-- | ||
--></div><includeonly>[[Category:Articles Needing Images]]</includeonly><noinclude> | --></div><includeonly>[[Category:Articles Needing Images]]</includeonly><noinclude> |
Revision as of 15:27, 26 December 2022
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 meant for the image to help future editors:
{{nophoto|caption=witty description goes here}}
- These options can be combined:
{{nophoto|100px|filename=newCoolPic.PNG|caption=witty description goes here}}