Document Templates: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
mNo edit summary
Line 2: Line 2:
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


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 ==

Revision as of 20:43, 27 January 2015

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