Search results
Results from the WOW.Com Content Network
2.1 Parameter trim= example showing all text (trim=no) or truncated text (trim=yes)
What links here; Related changes; Upload file; Special pages; Permanent link
This template counts the number of words that goes into its first parameter. It serves as a basic word count function in areas where word count is important (such as Arbitration Committee statements, etc.)
The language inside templates is the same language as regular wiki markup, but template writers tend to use the more complex available functions such as #if: statements. See Wikipedia's Help:Template and Wikimedia's mw:Help:Template , including all of "advanced functioning" help pages listed toward the bottom of that page .
Most of it is optional, but the more information you give the easier it will be for others to re-use the template. Create or use the short arbitrary "name" for the parameter that will be read by the Wikipedia template software. If you use or the template has a parameter name containing more than one word, these must always be separated by an ...
Page-dependent magic words will change or show information about the current page, even if the word is from a template, though in most cases, this is the desired effect. If I insert {{exampletemplate}} and it says {{PAGENAME}}, I will see "Magic words for beginners" even though it is from "Template:example template".
The following two examples use {}. Whether using List-defined references or inline named references, {} compactly combines the functions of <ref /> and {}. In this first example, {} must be used in tandem with the initial complete inline-citation, whereas {} is used to duplicate the citation elsewhere with different page numbers:
The remainder of the page source is enclosed between <noinclude> tags, so it shows up when you display the template page itself but not when you display a page that calls the template. To transclude Template:TM onto another page (i.e., to use it on another page), type {} into the source of that page (the target page) and click Show preview.