Template:Pre-img
Jump to navigation
Jump to search
Parameters:
- "<target-name>" (Anonymous parm). Doubles as Page-name link target & Image to be used (".png" assumed).
- "h=<height>" Height of image in pixels. (Default is 26, or size specified by "size=...")
- "w=<width>" Width of image in pixels. (Same)
- "size=<size>" Height & width of image in pixels. ("size=123")
- "nowrap=" Disables line wrapping on image and object name.
- "break=" Moves the object name to the next line. (can be be combined with nowrap)
Additional overwrites
- "l=<text>" Alternative link-target to be used.
- "t=<text>" Alternative link-text to be displayed.
- "i=<text>" Alternative image-name to be used. (including image extension)
Examples:
{{pre-img|A Talking Whale}}gives: A Talking Whale |
{{pre-img|A Talking Whale|w=78}}gives: A Talking Whale |
{{pre-img|A Talking Whale|h=78}}gives: A Talking Whale |
{{pre-img|A Talking Whale|size=78}}gives: A Talking Whale |
{{pre-img|Thorny Thistle}}gives: Thorny Thistle |
{{pre-img|Thorny Thistle|w=52}}gives: Thorny Thistle |
{{pre-img|Thorny Thistle|h=52}}gives: Thorny Thistle |
{{pre-img|Thorny Thistle|size=52}}gives: Thorny Thistle |
{{pre-img|Tangled Bramble}}gives: Tangled Bramble |
{{pre-img|Tangled Bramble|w=52}}gives: Tangled Bramble |
{{pre-img|Tangled Bramble|h=52}}gives: Tangled Bramble |
{{pre-img|Tangled Bramble|size=52}}gives: Tangled Bramble |
{{pre-img|A Talking Whale|size=78}}gives: A Talking Whale |
{{pre-img|A Talking Whale|size=78|break=}}gives: A Talking Whale | ||
{{pre-img|Bushcraft Fishline}} {{...gives: Bushcraft Fishline Bushcraft Fishline Bushcraft Fishline Bushcraft Fishline Bushcraft Fishline Bushcraft Fishline |
{{pre-img|Bushcraft Fishline|nowrap=}} {{...gives: Bushcraft Fishline Bushcraft Fishline Bushcraft Fishline Bushcraft Fishline Bushcraft Fishline Bushcraft Fishline | ||
Overwrites: In this (test) case, with all the overwrites active, the initial "A Talking Whale" default is completely ignored. And could as such also be skipped. {{pre-img | A Talking Whale | l = Haven_and_Hearth_Wiki | t = Alternative Text | i = Wiki-gears.png }}gives: Alternative Text |