Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
No edit summary
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
  +
'''Template:FM/Design''' is used for [[Wowpedia:Featured article|featured images]] and the featured media template, which can be found on {{t|FM}}.
== Usage ==
 
Featured article template for [[User:Kirkburn/Dev7|new mainpage design]].<br/>
 
Parameters are:
 
*image
 
:Use image name and suffix.
 
*imagetext
 
:Image caption.
 
*imagesize
 
:Should not need changing. Only do so if image has '''unusual''' height/width.
 
*text
 
:Caption text, shown below the image
 
   
  +
To use this template, copy and paste the source code to {{t|FM}}, then fill in the following parameters:
== Example ==
 
 
* 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.
  +
<!-- Template:FM/Design source code -->
  +
<!--
  +
  +
{{FM/Design
  +
|image=
  +
|imagetext=
  +
}}
  +
  +
-->
  +
  +
==Featured Media example==
 
{{FM/Design
 
{{FM/Design
 
|image=Tirisfal-zeppelintower.jpg
 
|image=Tirisfal-zeppelintower.jpg
 
|imagetext=Zeppelin tower in Tirisfal Glades
 
|imagetext=Zeppelin tower in Tirisfal Glades
|text=[[Zeppelin]] tower in [[Tirisfal Glades]]
 
 
}}
 
}}
   
== Template ==
+
==FM/Design Template==
  +
<onlyinclude>[[File:{{{optimizedimage|{{{image}}}}}}{{#if:{{{optimizedimage|}}}|{{!}}link=File:{{{image}}}|{{!}}300px}}|{{{imagetext}}}]]
<onlyinclude><center><div style{{eq}}"margin:0 0 5px 0;">[[Image:{{{image|Northrendentryconc.jpg}}}|{{{imagesize|280px}}}|{{{imagetext|}}}]]</div>''{{{text|Lacks text}}}''</center></onlyinclude>
 
  +
{{clr}}</onlyinclude>
  +
  +
[[Category:Featured media| ]]

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

Zeppelin tower in Tirisfal Glades

FM/Design Template

[[File:{{{image}}}|300px|{{{imagetext}}}]]