Search results
Results from the WOW.Com Content Network
These templates allow wikitext (e.g., regular text, wikilinks, allowed HTML code, references, and other templates) to be included on the image itself. They may also be used to crop an image so as to focus on a particular portion of it, or alternatively, expand the white area around an image for better placement of wikitext.
The content from a template titled Template:foo can be added into a Wikipedia page by editing a page and typing {{foo}} into it. When then viewing the page, {{foo}} is automatically replaced by the content of the page "Template:foo". If the page "Template:foo" is later altered, all the pages with {{foo}} in them will change automatically.
An inline source code string. Template parameters [Edit template data] This template prefers inline formatting of parameters. Parameter Description Type Status Code 1 code The code to display. String required Language 2 lang The programming language of the source code. List of valid values is at: [[mw:Extension:SyntaxHighlight#Supported_languages]] Default text String suggested Class class no ...
In very brief summary, one hurdle that trips up many people when attempting to add an image to an infobox template is that most internally provide the wiki code that "wraps" the image. Accordingly, you do not usually add the brackets, number of pixels, and other code details you will learn about below, when placing an image in infoboxes ...
This template is for easy installation of JavaScript code — use {{subst:js|page_with_code.js}} in your skin.js (see Wikipedia:Skin for details). The above link should work for your current skin. These are the JavaScript file names left for reference:
If the template has a separate documentation page (usually called "Template:template name/doc"), add [[Category:Single-image insertion templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Single-image insertion templates]]</noinclude> to the end of the template code, making sure it starts on ...
Note: Prefer images in landscape orientation. If you must use one in portrait orientation, avoid very skinny ones. If you must choose a skinny image, then please specify the height as well (e.g., 120x120), but note that if you do so, there will be a gap between left or right edge of the image (depending on the what side of the container the template appears) and the edge of the section.
This template creates a frame like those surrounding images. This template can be used to put two or more images into a frame together, or as a wrapper for more complicated templates like Template:Superimpose. Template parameters [Edit template data] Parameter Description Type Status Content content Content of the main section (generally images). Content required Width width The width of the ...