Extension used in a template

Jump to: navigation, search

Is there some way to use this extension on a template and insert a template variable into the page description:

<metadesc content="Extract from the article {{{title}}}" />
—The preceding unsigned comment was added by an unknown user on a unknown date.05:23, 13 January 2012

I would love to know how to do this.

--Brian of London 18:00, 30 July 2008 (UTC)05:23, 13 January 2012

Me three! Would really be very useful.

--85.225.75.179 06:11, 24 August 2008 (UTC)05:23, 13 January 2012

See Extension:MetaDescriptionTag#Example_using_template.2C_variable_substitution. Requires upgrading to version 0.2 of the extension, as well as installing Extension:TagParser (if you're not already running MediaWiki 1.12+).

-Jlerner 15:32, 24 August 2008 (UTC)05:23, 13 January 2012

Thank you! It's working very well

Brian of London 20:40, 5 September 2008 (UTC)05:24, 13 January 2012
 
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox