Templates in Mediawiki: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#Templates allow you to invoke content using a simple invocation - where the content is simply another wiki page.  
#Templates allow you to invoke content using a simple invocation - where the content is simply another wiki page.  
#Start with understanding the Template namespace - [https://www.mediawiki.org/wiki/Help:Templates]
#Start with understanding the Template namespace - [https://www.mediawiki.org/wiki/Help:Templates]
#Understand the difference between using a template, and substituting a template - see {{subst:Template}}
#Understand the difference between using a template, and substituting a template - see <nowiki>{{subst:Template}}</nowiki> - at [https://www.mediawiki.org/wiki/Help:Templates#Usage]
#To pass parameters into templates - [https://www.mediawiki.org/wiki/Help:Templates#Parameters]
=See also=
Short video about creating templates:
<html><iframe width="560" height="315" src="https://www.youtube.com/embed/MEvffUFGYUE" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></html>


=Link=
=Link=
*[[Wiki Templates]]
*[[Wiki Templates]]

Latest revision as of 02:32, 19 April 2020

  1. Templates allow you to invoke content using a simple invocation - where the content is simply another wiki page.
  2. Start with understanding the Template namespace - [1]
  3. Understand the difference between using a template, and substituting a template - see {{subst:Template}} - at [2]
  4. To pass parameters into templates - [3]

See also

Short video about creating templates:

Link