Templates in Mediawiki: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 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 =Sample Part Library=
#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]
[[File:framev1902.png|100px]][[File:z1D3Dv1902.png|100px]][[File:axis_half_carriage.png|100px]][[File:frame+axes.png|100px]][[File:frame+axes+extruder.png|100px]][[File:xy_bracket.png|100px]]
=See also=
 
Short video about creating templates:
<gallery perrow=6>
<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>
 
File:finalprinter1902.png|'''D3D v19.02 Final Assembly''' - size:nullkb - FreeCAD -[[File:D3Dfinalassemblyv1902.fcstd]]
 
File:framev1902.png|'''12" Frame''' - size:nullkb - FreeCAD -[[File:frame1902.fcstd]]
 
File:z1D3Dv1902.png|'''Z1 axis''' - size:nullkb - FreeCAD -[[File:z1D3Dv1902.fcstd]]
 
File:Motorside.jpg|[[File:check.png]]'''[10] Motor Side of Axis''' - 221k - FreeCAD -[[File:Universal_axis_motor_side.fcstd]]. STL - [[File:Universal axis motor side.stl]]
 
File:simplecarriage.png|Universal axis carriage: [[File:Universal_axis_carriage_side.fcstd]]. STL - [[File:Universal_axis_carriage_side.stl]]
 
</gallery>


=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