Template:MetaDescription: Difference between revisions
Appearance
Updating MetaDescription template to use HTML meta tag |
Migrate to WikiSEO extension |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template adds a meta description for SEO purposes. The description helps search engines understand the page content. | This template adds a meta description for SEO purposes using the WikiSEO extension. The description helps search engines understand the page content and enables proper social media sharing previews. | ||
'''Usage:''' | '''Usage:''' | ||
<pre>{{MetaDescription|Your description text here ( | <pre>{{MetaDescription|Your description text here (140-160 characters recommended)}}</pre> | ||
'''Example:''' | '''Example:''' | ||
<pre>{{MetaDescription|Comprehensive guide to federal wire fraud charges under 18 U.S.C. § 1343.}}</pre> | <pre>{{MetaDescription|Comprehensive guide to federal wire fraud charges under 18 U.S.C. § 1343.}}</pre> | ||
'''What this template generates:''' | |||
* Meta description tag for search engines | |||
* Open Graph description for Facebook/LinkedIn | |||
* Twitter Card description | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly> | </noinclude><includeonly>{{#seo: | ||
|description={{{1}}} | |||
}}</includeonly> | |||
Revision as of 15:06, 4 December 2025
This template adds a meta description for SEO purposes using the WikiSEO extension. The description helps search engines understand the page content and enables proper social media sharing previews.
Usage:
{{MetaDescription|Your description text here (140-160 characters recommended)}}
Example:
{{MetaDescription|Comprehensive guide to federal wire fraud charges under 18 U.S.C. § 1343.}}
What this template generates:
- Meta description tag for search engines
- Open Graph description for Facebook/LinkedIn
- Twitter Card description