Template:ImageText: Difference between revisions

From Legend of Dragoon - Wiki Project
Jump to navigation Jump to search
(attempting to make a template)
 
No edit summary
Line 15: Line 15:


<pre>
<pre>
{{ImageText | Frenzy Icon.png | Origins }}
{{ImageText | DartFeld120x150.jpg | Dart}}
{{ImageText | Defensive Duellist Icon.png | Backgrounds }}
{{ImageText | Defensive Duellist Icon.png | Backgrounds }}
{{ImageText | Passive Feature Generic Icon.png | Just a test with very very long text }}
{{ImageText | Passive Feature Generic Icon.png | Just a test with very very long text }}

Revision as of 03:35, 23 February 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 | DartFeld120x150.jpg | Dart}}
{{ImageText | Defensive Duellist Icon.png | Backgrounds }}
{{ImageText | Passive Feature Generic Icon.png | Just a test with very very long text }}

Result:

{{#if: | [[{{{link}}}| Origins ]] | Origins }}
{{#if: | [[{{{link}}}| Backgrounds ]] | Backgrounds }}
{{#if: | [[{{{link}}}| Just a test with very very long text ]] | Just a test with very very long text }}