Template: Difference between revisions

From BitProjects
Jump to navigation Jump to search
Infobox>Dreftymac
m generalize text ;; the article provides more precise detail now
Infobox>Dreftymac
m rm commented-out portion after no one responded with reasons to keep it in
Line 18: Line 18:
*[[Template Band|Template (band name)]], an Australian progressive rock band.
*[[Template Band|Template (band name)]], an Australian progressive rock band.


<!-- the following stuff does not belong here:
DOES_NOT_BELONG_HERE
DOES_NOT_BELONG_HERE


see [[Wikipedia:What_is_an_article]]
An "article" does not include any pages in any of the specified namespaces that are used for particular purposes, such as:
* the Wikipedia namespace for material about meta subjects related to Wikipedia ...
=== Wiki templates ===
[[Help:template|Wiki template]]s are powerful tools for editing Wikipedia articles.
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:
* [[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'' (source code defining the template).
Help to use/edit 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.
'''Technical note''':  "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>
DOES_NOT_BELONG_HERE
DOES_NOT_BELONG_HERE
-->
{{disambig}}
{{disambig}}



Revision as of 18:17, 26 November 2006

Template:Selfref

Template:Wiktionary Template may mean:


Template:Disambig

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