Templates in Mediawiki: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
#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 <nowiki>{{subst:Template}}</nowiki> - at [https://www.mediawiki.org/wiki/Help:Templates#Usage]
#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, use a |1= thingy
=See also=
=See also=
Short video about creating templates:
Short video about creating templates:

Revision as of 02:27, 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, use a |1= thingy

See also

Short video about creating templates:

Link