Template:Page-image-name-processing

From Ring of Brodgar
Template documentation (for the template shown above, sometimes hidden or invisible)
Intended feature
- Hafen/Legacy page infobox-image helper and usage tracker.
- intended as helper-tool in hafen v legacy infobox-image separation.
- intended to only be used in proper infobox templates. (ones per template)
Current features
- Auto-pick infobox-image to use based on source-page-name and available images. (if infobox image-parm is not set)
- Log infobox image usage data. (categories)
- Infobox image max-size clamping. (max-size set in/per infobox template)
Used by
- Template:Infobox creature
- Template:Infobox metaobj
- Template:Infobox skill
- Template:Infobox terrain
- Template:Infobox tree
- Template:Infobox legmetaobj
- Template:Infobox legskill
- Template:Infobox legcreature
- Template:Infobox legterrain
Using
- Template:Pinp misc - Page-image-name-processing _ Max-Image-Size-Clamp.
Generates (Categories)
- "Page-img Hafen/Legacy *"
- General parent Category: Page-image-name-processing
General call usage
- {{ Page-image-name-processing }}
- {{ Page-image-name-processing | image=<file:filename.ext> }}
- {{ Page-image-name-processing | imagewidth=<size(int)> }}
Notes
- Target image-names that fail the ifexist test, show the source page in the related "what links here" image-page.
-- Only happens at "what links here" page, not at the image/file-page itself. (ok)
-- ifexist failed image-names also don't show at the "wanted files" page. (ok)
--- Active "new image => hafen-*" links do show up in the "wanted files" page. (normal)