Difference between revisions of "Document Templates"

From OPeNDAP Documentation
(New page: == Templates == To use the templates, you include the template using MediaWiki's <nowiki>{{ ... }}</nowiki> syntax. In a normal template substitution, the mediawiki rendering engine goes ...)
 
Line 1: Line 1:
== Templates ==
 
  
 
To use the templates, you include the template using MediaWiki's <nowiki>{{ ... }}</nowiki> syntax. In a normal template substitution, the mediawiki rendering engine goes and gets the template text every time the page is rendered. If, however, the template name is preceded with ''subst:'' then the mediawiki markup is copied to the destination page and can be edited without affecting, or being affected by, the original template code. See http://en.wikibooks.org/wiki/MediaWiki_User_Guide/Templates and http://www.mediawiki.org/wiki/Help:Templates
 
To use the templates, you include the template using MediaWiki's <nowiki>{{ ... }}</nowiki> syntax. In a normal template substitution, the mediawiki rendering engine goes and gets the template text every time the page is rendered. If, however, the template name is preceded with ''subst:'' then the mediawiki markup is copied to the destination page and can be edited without affecting, or being affected by, the original template code. See http://en.wikibooks.org/wiki/MediaWiki_User_Guide/Templates and http://www.mediawiki.org/wiki/Help:Templates
Line 5: Line 4:
 
To include the markup for a skeleton use case, as defined by the template below, include <nowiki>{{subst:Use Case}}</nowiki> in a blank page and then Save the page.
 
To include the markup for a skeleton use case, as defined by the template below, include <nowiki>{{subst:Use Case}}</nowiki> in a blank page and then Save the page.
  
Current Document Templates
+
== Current Document Templates ==
 
* [[Template:Use Case]]
 
* [[Template:Use Case]]
 
* [[Template:Project Description]]
 
* [[Template:Project Description]]

Revision as of 04:48, 26 May 2009

To use the templates, you include the template using MediaWiki's {{ ... }} syntax. In a normal template substitution, the mediawiki rendering engine goes and gets the template text every time the page is rendered. If, however, the template name is preceded with subst: then the mediawiki markup is copied to the destination page and can be edited without affecting, or being affected by, the original template code. See http://en.wikibooks.org/wiki/MediaWiki_User_Guide/Templates and http://www.mediawiki.org/wiki/Help:Templates

To include the markup for a skeleton use case, as defined by the template below, include {{subst:Use Case}} in a blank page and then Save the page.

Current Document Templates