Template:ImageText: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
<pre> | <pre> | ||
{{ImageText | America.png | USA }} | {{ImageText | America.png | [[USA]] }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
{{ImageText | America.png | USA }} | {{ImageText | America.png | [[USA]] }} | ||
---- | ---- |
Latest revision as of 15:55, 3 April 2024
This template allows you to add images on top of a piece of text.
The element will be an inline block, meaning several can appear in one line. You can give them all a specific width and height to get a nice consistent layout.
Standard width/height is 100:
{{ImageText | America.png | [[USA]] }}
Result:
{{ImageText | America.png | USA | w = 80 | h = 80 | font size = 80% }}
Result:
USA