Neverwinter Wiki
(Created page with "This template is intended to be used in infobox templates to easily display thumbs underneath. This approach was chosen due to the ad location, making shorter infoboxes look b...")
 
Pcjbot (talk | contribs)
mNo edit summary
 
Line 7: Line 7:
 
<nowiki>{{Infobox thumb|image={{{image1|}}}|caption={{{caption1|}}} }}{{Infobox thumb|image={{{image2|}}}|caption={{{caption2|}}} }}{{Infobox thumb|image={{{image3|}}}|caption={{{caption3|}}} }}{{Infobox thumb|image={{{image4|}}}|caption={{{caption4|}}} }}{{Infobox thumb|image={{{image5|}}}|caption={{{caption5|}}} }}{{Infobox thumb|image={{{image6|}}}|caption={{{caption6|}}}{{Infobox thumb|image={{{image7|}}}|caption={{{caption7|}}} }} }}{{Infobox thumb|image={{{image8|}}}|caption={{{caption8|}}} }}{{Infobox thumb|image={{{image9|}}}|caption={{{caption9|}}} }}</nowiki>
 
<nowiki>{{Infobox thumb|image={{{image1|}}}|caption={{{caption1|}}} }}{{Infobox thumb|image={{{image2|}}}|caption={{{caption2|}}} }}{{Infobox thumb|image={{{image3|}}}|caption={{{caption3|}}} }}{{Infobox thumb|image={{{image4|}}}|caption={{{caption4|}}} }}{{Infobox thumb|image={{{image5|}}}|caption={{{caption5|}}} }}{{Infobox thumb|image={{{image6|}}}|caption={{{caption6|}}}{{Infobox thumb|image={{{image7|}}}|caption={{{caption7|}}} }} }}{{Infobox thumb|image={{{image8|}}}|caption={{{caption8|}}} }}{{Infobox thumb|image={{{image9|}}}|caption={{{caption9|}}} }}</nowiki>
   
−
This should be placed after the closing <tt>&lt;/div</tt> for the infobox, typically before the categories are specified.
+
This should be placed after the closing <code>&lt;/div</code> for the infobox, typically before the categories are specified.
   
 
Standard documentation for the image and content parameters:
 
Standard documentation for the image and content parameters:

Latest revision as of 16:46, 14 November 2018

This template is intended to be used in infobox templates to easily display thumbs underneath. This approach was chosen due to the ad location, making shorter infoboxes look better; having the images in a column underneath is more visually appealing and the content on the page is less constricted.

Usage:

{{Infobox thumb|image=filename without File: part|caption=caption for the image}}

Standard code within infobox templates:

{{Infobox thumb|image={{{image1|}}}|caption={{{caption1|}}} }}{{Infobox thumb|image={{{image2|}}}|caption={{{caption2|}}} }}{{Infobox thumb|image={{{image3|}}}|caption={{{caption3|}}} }}{{Infobox thumb|image={{{image4|}}}|caption={{{caption4|}}} }}{{Infobox thumb|image={{{image5|}}}|caption={{{caption5|}}} }}{{Infobox thumb|image={{{image6|}}}|caption={{{caption6|}}}{{Infobox thumb|image={{{image7|}}}|caption={{{caption7|}}} }} }}{{Infobox thumb|image={{{image8|}}}|caption={{{caption8|}}} }}{{Infobox thumb|image={{{image9|}}}|caption={{{caption9|}}} }}

This should be placed after the closing </div for the infobox, typically before the categories are specified.

Standard documentation for the image and content parameters:

  |image1=filename of the first image to display as a thumb beneath the infobox and ad (image2 through image9 are also available)
  |caption1=caption for the first image (caption2 through caption9 are also available)