Template:ImageText: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div class="bg3wiki-imagetext" style="display: inline-table; margin: 5px;">
<includeonly><div class="bg3wiki-imagetext" style="display: inline-table; margin: 5px;">
<div class="bg3wiki-imagetext-image" style="display: flex; justify-content: center; align-items: center; width: {{{w|100}}}px; height: {{{h|100}}}px;"
<div class="bg3wiki-imagetext-image" style="display: flex; justify-content: center; align-items: center; width: {{{w|100}}}px; height: {{{h|100}}}px;"
>[[File:{{{1}}}|{{{w|100}}}x{{{h|100}}}px|{{{2}}}|link=]]</div>
>[[File:{{{1}}}|{{{w|100}}}x{{{h|100}}}px|{{{2}}}|link={{{link|}}}]]</div>
<div class="bg3wiki-imagetext-text" style="width: {{{w|100}}}px; text-align: center; {{#if: {{{font size|}}} | font-size: {{{font size}}}; }}"
<div class="bg3wiki-imagetext-text" style="width: {{{w|100}}}px; text-align: center; {{#if: {{{font size|}}} | font-size: {{{font size}}}; }}"
>{{{2}}}</div>
>{{#if: {{{link|}}} | [[{{{link}}}|{{{2}}}]] | {{{2}}} }}</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
This template allows you to add images on top of a piece of text.
This template allows you to add images on top of a piece of text.
Line 14: Line 14:


<pre>
<pre>
{{ImageText | Frenzy Icon.png | Origins}}
{{ImageText | Frenzy Icon.png | Origins }}
{{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 }}
Line 21: Line 21:
Result:
Result:


{{ImageText | Frenzy Icon.png | Origins}}
{{ImageText | Frenzy Icon.png | Origins }}
{{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 }}

Navigation menu