Difference between revisions of "Template:Image"

From Legends of Hyrule
Jump to navigationJump to search
m
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float:right; margin-left: 10px; clear:right; max-width: {{{width|{{#if:{{{imagepx|}}}|{{{imagepx|800}}}px|50%}}}}};" class="externalimage-holder">{{{image|}}}{{#switch:{{{permission|}}}
+
<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="text-align:right; float:right;">{{#if:{{{caption|}}}|{{{caption}}}<br/>}}[{{{imagelink|}}} <small>{{{
|yes=<br/><small>This fan-created artwork is used with the permission of its creator.</small>
+
source|source}}}</small>]}}{{#switch:{{{permission|}}}
|no=<br/><small>This fan-created artwork is used without the explicit permission of its creator, and will be removed at request.</small><br/>
+
|yes=<br/><center><small><small>This art is presented with the permission of its creator.</small></small></center>
|}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>{{{
+
|no=<br/><center><small><small>This art is presented without the explicit permission of its creator.</small></small></center><br/>
source|source}}}</small>]}}</span></div><noinclude>
+
|}}</span></div><noinclude>
  
 
==Usage==
 
==Usage==
Line 12: Line 12:
 
|imagelink=
 
|imagelink=
 
|source=
 
|source=
 +
|permission=yes/no
 +
|caption=
 +
|floatless=
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 12:12, 27 March 2024

Usage

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