Difference between revisions of "Template:Image"

From Legends of Hyrule
Jump to navigationJump to search
m (float → align)
m
Line 1: Line 1:
 
<div style="{{#if:{{{floatless|}}}||float:right;}} margin-left: 10px; clear:right; max-width: {{{width|{{#if:{{{imagepx|}}}|{{{imagepx|800}}}px|50%}}}}};" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">{{#if:{{{caption|}}}|{{{caption}}}<br/>}}[{{{imagelink|}}} <small>{{{
 
<div style="{{#if:{{{floatless|}}}||float:right;}} margin-left: 10px; clear:right; max-width: {{{width|{{#if:{{{imagepx|}}}|{{{imagepx|800}}}px|50%}}}}};" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">{{#if:{{{caption|}}}|{{{caption}}}<br/>}}[{{{imagelink|}}} <small>{{{
 
source|source}}}</small>]}}{{#switch:{{{permission|}}}
 
source|source}}}</small>]}}{{#switch:{{{permission|}}}
|yes=<br/><span style="align:left;"><small><small>This art is presented with the permission of its creator.</span></small></small>
+
|yes=<br/><span style="text-align:left;"><small><small>This art is presented with the permission of its creator.</span></small></small>
|no=<br/><span style="align:left;"><small><small>This art is presented without the explicit permission of its creator.</span></small></small><br/>
+
|no=<br/><span style="text-align:left;"><small><small>This art is presented without the explicit permission of its creator.</span></small></small><br/>
 
|}}</span></div><noinclude>
 
|}}</span></div><noinclude>
  

Revision as of 12:00, 27 March 2024

Usage

{{Image
|image=
|width=
|imagelink=
|source=
|permission=yes/no
|caption=
|floatless=
}}