Difference between revisions of "Template:Image"

From Legends of Hyrule
Jump to navigationJump to search
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|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>{{{
+
<div style="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="float:right;"><small><small>This artwork is used with the permission of its creator.</span></small></small>
 
|yes=<br/><span style="float:right;"><small><small>This artwork is used with the permission of its creator.</span></small></small>
Line 13: Line 13:
 
|source=
 
|source=
 
|permission=yes/no
 
|permission=yes/no
 +
|caption=
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 10:50, 23 June 2020

Usage

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