Search results
Results From The WOW.Com Content Network
WP:TDOC. WP:DOC. Templates are a very powerful feature of MediaWiki, but can be confusing to new users and even experienced users can have difficulty making sense of the more complex ones. Templates should therefore be accompanied by documentation to improve usability. Template documentation should explain what a template does and how to use it.
The template uses the <syntaxhighlight> tag with the attribute inline=1. This works like the combination of the <code> and <nowiki> tags, applied to the expanded wikitext. For example, { { code |some '''wiki''' text}} will not render the word "wiki" in bold, and will render the tripled-single-quotes: If the above example is declared as wikitext ...
If the template has a separate documentation page (usually called "Template:template name/doc"), add [[Category:Newfoundland and Labrador templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Newfoundland and Labrador templates]]</noinclude>
Usage. Toggle Usage subsection. Category:Fandom user templates. The pages listed in this category are meant to be templates, including . This page is part of and not part of the encyclopedia. Further template category notes. If the template has a separate documentation page (usually called "Template: template name /doc"), add.
Included templates. 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:
This template is used for inserting the documentation template wrapped in noinclude tags. A guiding comment for categories and interlanguage links is also inserted. See Template:Documentation for more information. Usage. Place {{subst:doc-code}} just after the last line of the template code. Do not create a new line.
This template is a simplified usage of <code>...</code>.. Each anonymous parameter is a string to format. Note that <nowiki>...</nowiki>; is needed around a parameter value if it contains the pipe (|) or equals (=) symbols, or they will be treated as a parameter separator or parameter identifier, respectively.
Provides the appropriate name for a cycling team in any given season, optionally including a link Template parameters Parameter Description Type Status Name 1 The (UCI-) code of the cycling team Line required Year 2 year The year referred to Number suggested No link nolink Do you want to omit the link to the team? (Leave blank to include link.) Line optional See also