Difference between revisions of "Tutorial:AdvancedTutorialPage1i"

From WikiChem
Jump to: navigation, search
(Start page)
 
m (Amend template example)
Line 3: Line 3:
 
OK, you've now mastered most of the routine parts of MediaWiki.  What about using some bells and whistles?
 
OK, you've now mastered most of the routine parts of MediaWiki.  What about using some bells and whistles?
  
The first of these is the '''parser function'''.  With this feature, you can customize your template, by allowing you to input variables.  Take a look at '''[[:Template:ParserFunctionExample|this example]]'''.  With this:
+
The first of these is the '''parser function'''.  With this feature, you can customize your template, by allowing you to input variables.  Take a look at '''[[:Template:Birthday|this example]]'''.  With this:
  
  

Revision as of 04:44, 24 May 2011

Wiki 3 bell image.jpg

OK, you've now mastered most of the routine parts of MediaWiki. What about using some bells and whistles?

The first of these is the parser function. With this feature, you can customize your template, by allowing you to input variables. Take a look at this example. With this:


These can quickly get quite ridiculous in the hands of a real expert - take a look at one of the most widely used templates on Wikipedia, the WPBannerMeta template. My brain can usually only handle a couple of variables, so let's try

Next page