In MediaWiki we can generate templates to include on several pages some standard texts or structured contents.

http://www.mediawiki.org/wiki/Help:Templates

We also can create parametrized templates.

This concept exists in Drupal?

What Drupal calls "Template" is another feature.

Comments

choster’s picture

Unfortunately, there seem to be few options.

It may be possible to use MediaWiki templates if implementing asb's MediaWiki Filter; however, note that this is a sandbox project and there is no mention of template support on the MediaWiki Filter documentation page.

Some years ago, rötzi wrote a working template solution for use in conjunction with the PEAR Wiki Filter; unfortunately, it was never developed into a separate Drupal project, rötzi is no longer doing Drupal development, and both the PEAR package and module are unmaintained. I seem to recall posting the files in an issue, but that may not have survived.

steeph’s picture

For Drupal 6 there is the InsertNode module (http://drupal.org/project/InsertNode). I haven't tried it but you should be able to use it to insert a "template" (a node in this case) into a node or other text field that uses filters. I don't know if there will be a Drupal 7 version

http://drupal.org/project/linodef seems to have more features.

http://drupal.org/project/node_embed seems to be similar to InsertNode.

But all of the above have currently only releases for Drupal 6.