Template: Difference between revisions

From BitProjects
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{selfref|For the kinds of templates used in Wikipedia, see below [[#Wiki_templates|Wiki templates]].}}
{{selfref|For the kinds of templates and [[Wikipedia:Template messages|template messages]] used in Wikipedia, see below [[#Wiki_templates|Wiki templates]].}}
''For [[Wikipedia:Template messages]], see that article.''


{{Wiktionary|template}}
{{Wiktionary|template}}
'''Template''' may mean:
'''Template''' may mean:
*[[Page template]], a pre-developed [[page layout]] used to create new pages ([[Page (paper)|paper]] or [[electronic page|electronic]]) from the same design, pattern, or style.
*<!-- WHERE? [[Page template]]-->''Page template'', a pre-developed [[page layout]] used to create new pages ([[Page (paper)|paper]] or [[electronic page|electronic]]) from the same design, pattern, or style.
**[[Web template]], used in web application development in conjunction with a [[web template system]].
**[[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.
**<!-- WHERE? [[Master page]]-->''Master page'', a page template in a multiple page [[desktop publishing]] software data file that duplicates and globally edits graphic elements across multiple pages.
**[[Template (word processing)]], a template file type used in [[word processing]] software. <!-- it is not a file-format, and HISTORICALLY MORE IMPORTANT THAN Mail merge or Web template  -->
**[[Mail merge|Mail-merge template]], a specific kind of word processing document used to generate [[mailing list]]s.
**[[Mail merge|Mail-merge template]], a specific kind of word processing document used to generate [[mailing list]]s.
**[[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 (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.
*[[Template (software engineering)|Software template]], of various kinds used with a [[template processor|template engine]].
*[[Template (software engineering)|Software template]], of various kinds used with a [[template processor|template engine]].
*Template (genetics), a strand of [[DNA]] or [[RNA]], used in genetic sequencing to synthesize new strands.
*Template (genetics), a strand of [[DNA]] or [[RNA]], used in genetic sequencing to synthesize new strands.
Line 23: Line 22:
=== 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 "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>.  
A "wiki template" is a kind of [[Web_template#Sub-template|sub-template]], and the "Wikipedia Edit Language" uses the notation <code><nowiki>{{template-name}}</nowiki></code> for the [[Web_template#Simple_substitution_templates|sub-template reference]].  


Finding templates:
Finding templates:
Line 30: Line 29:
* [[Special:ExpandTemplates]] - Takes some text and expands all templates in it recursively.
* [[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.  
* [[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''.
* Use <code><nowiki>[[Template:template-name]]</nowiki></code> on edit to produce a link to the ''template declaration'' (source code defining the template).


Help to use template:  
Help to use/edit template:  
* [[m:Help:Substitution]] - more detailed information on subst template (on the Meta-Wiki).
* [[m:Help:Substitution]] - more detailed information on subst template (on the Meta-Wiki).
* [[Help:template]] - wiki template help page.
* [[Help:template]] - wiki template help page.

Revision as of 07:59, 23 November 2006

Template:Selfref

Template:Wiktionary Template may mean:

See also

  • Pattern
  • Stencil, a device used in drawing or painting to replicate shapes.

Wiki templates

Wiki templates are powerful tools for editing Wikipedia articles. A "wiki template" is a kind of sub-template, and the "Wikipedia Edit Language" uses the notation {{template-name}} for the sub-template reference.

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 (source code defining the template).

Help to use/edit template:

Explanations and types of wiki-templates:

Technical note: "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''}}


Template:Disambig

da:Skabelon de:Template es:Plantilla eo:Sxablono fr:Template nl:Sjabloon ja:テンプレート pl:Szablon ru:Шаблон (программирование) simple:Template zh:模板