Template:Image: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 11: | Line 11: | ||
== Usage == | == Usage == | ||
The filename parameter is required. The caption is optional, but is strongly encouraged. See the table below for all other optional parameters. | The filename parameter is required. The caption is optional, but is strongly encouraged. See the table below for all other optional parameters. | ||
:'''Note:''' The copy-paste examples above and below are split over multiple lines for the sake of clarity. | :'''Note:''' The copy-paste examples above and below are split over multiple lines for the sake of clarity. | ||
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Tag Only</span><br><div style="text-align: left;"><span style="font-weight: normal;">Example</div> | |||
|- | |||
! width=25%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: left; background-color: white;" |<pre>{{Image | |||
|Pen.png | |||
}} | |||
</pre> | |||
| style="background-color: white;" | {{Image|Pen.png}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Caption</span><br><div style="text-align: left;"><span style="font-weight: normal;">Example</div> | |||
|- | |||
! width=25%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: left; background-color: white;" |<pre>{{Image | |||
|Pen.png | |||
|This is a caption. | |||
}} | |||
</pre> | |||
| style="background-color: white;" | {{Image|Pen.png|This is a caption.}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Artist Attribution</span><br><div style="text-align: left;"><span style="font-weight: normal;">Example</div> | |||
|- | |||
! width=25%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: left; background-color: white;" |<pre>{{Image | |||
|Pen.png | |||
|This is a caption. | |||
|artist=Declan Lion | |||
}} | |||
</pre> | |||
| style="background-color: white;" | {{Image|Pen.png|This is a caption.|artist=Declan Lion}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Alignment</span><br><div style="text-align: left;"><span style="font-weight: normal;">Example</div> | |||
|- | |||
! width=25%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: left; background-color: white;" |<pre>{{Image | |||
|Pen.png | |||
|This is a caption. | |||
|align=left/right | |||
}} | |||
</pre> | |||
| style="background-color: white;" | {{Image|Pen.png|Using <code>align=left</code>.|align=left}}{{Image|Pen.png|Using <code>align=right</code>.|align=right}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Resize Height</span><br><div style="text-align: left;"><span style="font-weight: normal;">Example</div> | |||
|- | |||
! width=25%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: left; background-color: white;" |<pre>{{Image | |||
|Pen.png | |||
|This is a caption. | |||
|height=150px | |||
}} | |||
</pre> | |||
| style="background-color: white;" | {{Image|Pen.png|This is a caption.|height=150px}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Resize Width</span><br><div style="text-align: left;"><span style="font-weight: normal;">Example</div> | |||
|- | |||
! width=25%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: left; background-color: white;" |<pre>{{Image | |||
|Pen.png | |||
|This is a caption. | |||
|width=200px | |||
}} | |||
</pre> | |||
| style="background-color: white;" | {{Image|Pen.png|This is a caption.|width=200px}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Internal Link</span><br><div style="text-align: left;"><span style="font-weight: normal;">Example</div> | |||
|- | |||
! width=25%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: left; background-color: white;" |<pre>{{Image | |||
|Pen.png | |||
|Click here for more details on Emma M. Lion. | |||
|link=Emma M. Lion | |||
}} | |||
</pre> | |||
| style="background-color: white;" | {{Image|Pen.png|Click here for more details on Emma M. Lion.|link=Emma M. Lion}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">External Link</span><br><div style="text-align: left;"><span style="font-weight: normal;">Example</div> | |||
|- | |||
! width=25%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: left; background-color: white;" |<pre>{{Image | |||
|Pen.png | |||
|Click here for more details on Beth Brower. | |||
|link=https://www.bethbrower.com | |||
}} | |||
</pre> | |||
| style="background-color: white;" | {{Image|Pen.png|Click here for more details on Beth Brower.|link=https://www.bethbrower.com}} | |||
|} | |||
<br> | |||
<br> | |||
{| class="wikitable" style="width: 100%; text-align: left; margin: auto; table-layout: fixed;" | {| class="wikitable" style="width: 100%; text-align: left; margin: auto; table-layout: fixed;" | ||
|- class="title" | |- class="title" | ||
Revision as of 00:36, 2 May 2025
Description
This template is used to include a thumbnail image on a page.
Usage
The filename parameter is required. The caption is optional, but is strongly encouraged. See the table below for all other optional parameters.
- Note: The copy-paste examples above and below are split over multiple lines for the sake of clarity.


