Template syntax: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 1: Line 1:
Templates are shortcuts to re-used displays and functionality. Templates start with double curly braces <nowiki>{{</nowiki>, next comes the template name, then any parameters separated by the pipe | symbol, and finally two closing curly braces <nowiki}}</nowiki>. So [[Template:Todo]] could look like this:
Templates are shortcuts to re-used displays and functionality. Templates start with double curly braces <nowiki>{{</nowiki>, next comes the template name, then any parameters separated by the pipe | symbol, and finally two closing curly braces <nowiki>}}</nowiki>. So [[Template:Todo]] could look like this:


   <nowiki>{{todo|your in-text description of the todo item}}</nowiki>
   <nowiki>{{todo|your in-text description of the todo item}}</nowiki>

Navigation menu