Actions

Difference between revisions of "Templates-List"

From The RadioReference Wiki

m (narrative)
Line 5: Line 5:
 
*Templates can act like a "rubber-stamp" and like a "cookie-cutter".
 
*Templates can act like a "rubber-stamp" and like a "cookie-cutter".
 
*Wiki-page editors may create a template that contains commonly-used boiler-plate text, and use it repeatedly, like a "rubber-stamp", in many different Wiki-articles.
 
*Wiki-page editors may create a template that contains commonly-used boiler-plate text, and use it repeatedly, like a "rubber-stamp", in many different Wiki-articles.
*Wiki-page editors may use variables in templates, to create custom individualized results, but with a common behavior regardless of which article invokes the template, similar to how a "cookie-cutter" gives the same shape to cookies that might have slightly different ingredients.
+
*Wiki-page editors may use parameters in templates, to create custom individualized results, but with a common behavior regardless of which article invokes the template, similar to how a "cookie-cutter" gives the same shape to cookies that might have slightly different ingredients.
 
*When a template that includes web-links, or Wiki-links, is updated to reflect link-updates, all articles that rely on the template are also automatically updated, thus saving considerable time and effort during Wiki-maintenance, and significantly increasing accuracy and correctness throughout the Wiki.
 
*When a template that includes web-links, or Wiki-links, is updated to reflect link-updates, all articles that rely on the template are also automatically updated, thus saving considerable time and effort during Wiki-maintenance, and significantly increasing accuracy and correctness throughout the Wiki.
 +
 +
==Template Variables or Parameters==
 +
*Templates can make use of three types of parameters -- anonymous, numbered, and named.  All three methods are utilized in the RadioReference Wiki.
 +
**For more information about these parameter-types, please visit this external link: [https://www.mediawiki.org/wiki/Help:Templates#Parameters MediaWiki.org:Help:Templates#Parameters]
 +
*Templates can also make use of system-variables to display system-values. 
 +
**The available system-variables are listed on this Wiki page: [[Quick guide to editing pages#Variables]].
  
 
==Template Documentation==
 
==Template Documentation==
 
*Templates are documented either in the template itself (when the template is short and simple), or in a "/doc" sub-page.  The "/doc" sub-page link will be found at the bottom of the template, and will be the template's name with "/doc" appended to it (without quotes).  Example: [[:Template:Cat_State]]'s documentation is located at: [[:Template:Cat_State/doc]]
 
*Templates are documented either in the template itself (when the template is short and simple), or in a "/doc" sub-page.  The "/doc" sub-page link will be found at the bottom of the template, and will be the template's name with "/doc" appended to it (without quotes).  Example: [[:Template:Cat_State]]'s documentation is located at: [[:Template:Cat_State/doc]]
 +
*For recommendations about how to document a template, please navigate to: [[Templates-List: Documentation]].
  
 
==Templates List==
 
==Templates List==

Revision as of 22:32, 11 September 2015

Pages: Templates-List: General Use Only, Infobox-Related, Categories-Related, Sets of Related Pages, Doc.


Templates

How templates can be useful

  • Templates can act like a "rubber-stamp" and like a "cookie-cutter".
  • Wiki-page editors may create a template that contains commonly-used boiler-plate text, and use it repeatedly, like a "rubber-stamp", in many different Wiki-articles.
  • Wiki-page editors may use parameters in templates, to create custom individualized results, but with a common behavior regardless of which article invokes the template, similar to how a "cookie-cutter" gives the same shape to cookies that might have slightly different ingredients.
  • When a template that includes web-links, or Wiki-links, is updated to reflect link-updates, all articles that rely on the template are also automatically updated, thus saving considerable time and effort during Wiki-maintenance, and significantly increasing accuracy and correctness throughout the Wiki.

Template Variables or Parameters

  • Templates can make use of three types of parameters -- anonymous, numbered, and named. All three methods are utilized in the RadioReference Wiki.
  • Templates can also make use of system-variables to display system-values.

Template Documentation

  • Templates are documented either in the template itself (when the template is short and simple), or in a "/doc" sub-page. The "/doc" sub-page link will be found at the bottom of the template, and will be the template's name with "/doc" appended to it (without quotes). Example: Template:Cat_State's documentation is located at: Template:Cat_State/doc
  • For recommendations about how to document a template, please navigate to: Templates-List: Documentation.

Templates List




Pages: Templates-List: General Use Only, Infobox-Related, Categories-Related, Sets of Related Pages, Doc.