Difference between revisions of "Template talk:Images"
Simpsons88 (talk | contribs) (→PAGENAME limitation: new section) |
Solar Dragon (talk | contribs) (→PAGENAME limitation) |
||
| Line 17: | Line 17: | ||
Apparently, it also works for more "extreme" cases, such as ''[[Moe + Beer = Girls?]]''. --'''[[User:Simpsons88|Simpsons88]]''' ([[User Talk:Simpsons88|Talk ☎️]]) 14:53, May 9, 2026 (EDT) | Apparently, it also works for more "extreme" cases, such as ''[[Moe + Beer = Girls?]]''. --'''[[User:Simpsons88|Simpsons88]]''' ([[User Talk:Simpsons88|Talk ☎️]]) 14:53, May 9, 2026 (EDT) | ||
| + | :Thanks, I got it working now! <span style="font-family:Algerian">[[User:Solar Dragon|<span style="color:green">The</span>]] [[User talk:Solar Dragon|<span style="color:red">Solar</span>]] [[Special:Contributions/Solar Dragon|<span style="color:blue">Dragon</span>]]</span> 16:39, May 9, 2026 (EDT) | ||
Latest revision as of 16:39, May 9, 2026
| This is a talk page, where you can leave messages and comments about the Images template. | |||
|---|---|---|---|
|
PAGENAME limitation[edit]
Sadly, page titles containing certain characters, such as apostrophes or asterisks, do not parse correctly. For example, the template {{Images}} in:
- Homer's Crossing#Reference
- Bart's Birthday#References
- Many others.
Will show 0 images. Use the workaround {{#titleparts:{{PAGENAME}}}} to get the proper parsing. Example:
{{PAGESINCATEGORY:Images - {{#titleparts:{{PAGENAME}}}}}}
Instead of:
{{PAGESINCATEGORY:Images - {{PAGENAME}}}}
Apparently, it also works for more "extreme" cases, such as Moe + Beer = Girls?. --Simpsons88 (Talk ☎️) 14:53, May 9, 2026 (EDT)