Template: Difference between revisions
Infobox>Oicumayberight linked mailing list |
|||
Line 23: | Line 23: | ||
=== Wiki templates === | === Wiki templates === | ||
[[Help:template|Wiki template]]s are powerful tools for editing Wikipedia articles. | [[Help:template|Wiki template]]s are powerful tools for editing Wikipedia articles. | ||
<br/>A "wiki template" is a kind of [[Web_template#Sub-template|sub-template]]. The " | <br/>A "wiki template" is a kind of [[Web_template#Sub-template|sub-template]]. The "Wikipedia Edit Language" uses the notation <code><nowiki>{{template-name}}</nowiki></code> for the [[Web_template#Simple_substitution_templates|sub-template reference]]. The ''template definition'' (templare source code) is on <code><nowiki>[[Template:template-name]]</nowiki></code>. | ||
Finding templates: | |||
* [[Template | * [[Wikipedia:Template messages]] - For "listing by category" the existing templates which you may find useful. | ||
* . | * [[Wikipedia:Navigational templates]] and [[Category:Navigational_templates]] - For "listing by category" the existing "navigational templates". | ||
* [[Special:ExpandTemplates]] - Takes some text and expands all templates in it recursively. | |||
* [[ | * [[Special:Unusedtemplates]] - Lists all pages in the template namespace which are not included in another page. | ||
* | * Use <code><nowiki>[[Template:template-name]]</nowiki></code> on edit to produce a link to the template declaration. | ||
Help to use template: | Help to use template: | ||
* [[m:Help:Substitution]] | * [[m:Help:Substitution]] - more detailed information on subst template (on the Meta-Wiki). | ||
* [[Help:template]] | * [[Help:template]] - wiki template help page. | ||
* [[Help:Editing#Templates]] | * [[Help:Editing#Templates]] - another help page. | ||
Explanations and types of wiki-templates: | |||
* [[Wikipedia: | * [[Wikipedia:Citation templates]] | ||
* [[ | * [[Template:Subst]] - a template that reminds users to subst. | ||
Note: technically the "wiki template references" are embedded on the "Wikipedia Edit Language", as a | |||
[[Web_template#Template_format_strategies|web template embedded language]], using the open <code><nowiki>{{</nowiki></code> and close <code><nowiki>}}</nowiki></code> ''hooks'', for enclose the [[Web_template#Template_languages|wiki template language syntax]], where valid names and valid instructions can be used, like template reference, as <code><nowiki>{{disambig}}</nowiki></code>, and conditions, as | |||
<nowiki>{{#if:{{{variable_foo|}}} | |||
|foo is set to '''{{{variable_foo}}}''' | |||
|foo is ''blank''}}</nowiki> | |||
Revision as of 07:43, 23 November 2006
Template:Selfref For Wikipedia:Template messages, see that article.
Template:Wiktionary Template may mean:
- Page template, a pre-developed page layout used to create new pages (paper or electronic) from the same design, pattern, or style.
- Web template, used in web application development in conjunction with a web template system.
- Master page, a page template in a multiple page desktop publishing software data file that duplicates and globally edits graphic elements across multiple pages.
- Mail-merge template, a specific kind of word processing document used to generate mailing lists.
- Template (file format), any of various standardized file types used by computer software as a pre-formatted example on which to base other documents or files.
- Template (word processing), a template file type used in word processing software.
- Software template, of various kinds used with a template engine.
- Template (genetics), a strand of DNA or RNA, used in genetic sequencing to synthesize new strands.
- Template (orthopedics), a technique of sizing replacement joints during pre-operative orthopedic surgery by using radiographic (X-ray) images.
- Template (programming), a tool for generic programming, especially in the C++ language, allowing a computer program to use polymorphic types.
- Template (racing), a device used in racing to ensure that the body of the race vehicle adheres to specifications.
- Template metaprogramming, a programming technique used by a compiler to generate temporary source code.
- Template (band name), an Australian progressive rock band.
See also
Wiki templates
Wiki templates are powerful tools for editing Wikipedia articles.
A "wiki template" is a kind of sub-template. The "Wikipedia Edit Language" uses the notation {{template-name}}
for the sub-template reference. The template definition (templare source code) is on [[Template:template-name]]
.
Finding templates:
- Wikipedia:Template messages - For "listing by category" the existing templates which you may find useful.
- Wikipedia:Navigational templates and - For "listing by category" the existing "navigational templates".
- Special:ExpandTemplates - Takes some text and expands all templates in it recursively.
- Special:Unusedtemplates - Lists all pages in the template namespace which are not included in another page.
- Use
[[Template:template-name]]
on edit to produce a link to the template declaration.
Help to use template:
- m:Help:Substitution - more detailed information on subst template (on the Meta-Wiki).
- Help:template - wiki template help page.
- Help:Editing#Templates - another help page.
Explanations and types of wiki-templates:
- Wikipedia:Citation templates
- Template:Subst - a template that reminds users to subst.
Note: technically the "wiki template references" are embedded on the "Wikipedia Edit Language", as a
web template embedded language, using the open {{
and close }}
hooks, for enclose the wiki template language syntax, where valid names and valid instructions can be used, like template reference, as {{disambig}}
, and conditions, as
{{#if:{{{variable_foo|}}} |foo is set to '''{{{variable_foo}}}''' |foo is ''blank''}}
da:Skabelon de:Template es:Plantilla eo:Sxablono fr:Template nl:Sjabloon ja:テンプレート pl:Szablon ru:Шаблон (программирование) simple:Template zh:模板