Search results
Results from the WOW.Com Content Network
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 ...
Adds a block quotation. Template parameters [Edit template data] Parameter Description Type Status text text 1 quote The text to quote Example Cry "Havoc" and let slip the dogs of war. Content required author author 2 cite sign The writer of the source Example William Shakespeare Content suggested title title 3 The work being quoted from Example Julius Caesar Content suggested source source 4 ...
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. Among other things, templates are used to add recurring messages to pages in a consistent way, to add boilerplate messages, and to ...
Embedded templates do not function as expected inside {}; for longer, free-form blocks of code, which can contain templates such as {} and {}, use <code>...</code> as a wrapper instead of this template. Templates used inside {} expose the rendered HTML— this can be useful. For example:
Put a quote, and its source, inside a box, with flexible control over bordering, background color, alignment, and other features Template parameters [Edit template data] This template prefers block formatting of parameters. Parameter Description Type Status CSS class class Optional CSS class to modify or override the default class ''quotebox''. Care should be used when using this parameter ...
{{inline block}} does the same and allows further style customization, but does not automatically add the "avoidwrap" CSS class. {} produces multiple non-breaking spaces (or a single one). {} can be used to provide a (brief) exception within a no-wrapping area. {{normalwraplink}} allows links to wrap when they otherwise would not.
This template allows you to display multiple pages or content blocks as inline-block "columns" on a page. This can be used to present content in a more space-efficient manner. It can be used to transclude content from other pages, display custom content, or a combination of both.
In MediaWiki, templates cannot automatically handle an unknown or unlimited number of parameters. Each possible parameter usually has to be predefined in the template code. For example, a template might be set up to use three specific parameters, such as 1, 2, and 3. If someone includes additional parameters beyond those, they will not affect ...