Difference between revisions of "Template:FM/Design"
m (→FM/Design Template: remove ru interwiki) |
|||
Line 25: | Line 25: | ||
==FM/Design Template== |
==FM/Design Template== |
||
− | <onlyinclude>[[File:{{{image}}}|300px|{{{imagetext}}}]] |
+ | <onlyinclude>[[File:{{{optimizedimage|{{{image}}}}}}{{#if:{{{optimizedimage|}}}|{{!}}link=File:{{{image}}}|{{!}}300px}}|{{{imagetext}}}]] |
{{clr}}</onlyinclude> |
{{clr}}</onlyinclude> |
||
Latest revision as of 14:54, 4 December 2017
Template:FM/Design is used for featured images and the featured media template, which can be found on {{FM}}.
To use this template, copy and paste the source code to {{FM}}, then fill in the following parameters:
- image
- Copy the image name and suffix (e.g., Tirisfal-zeppelintower.jpg). Note that the default image size is set to 300px and aligned in the center.
- imagetext
- Write a small caption of the image being displayed (e.g., Zeppelin tower in Tirisfal Glades).
An example of a Featured Media image using these same parameters can be found below.
Featured Media example
FM/Design Template
[[File:{{{image}}}|300px|{{{imagetext}}}]]