Jump to content

Template:MetaDescription: Difference between revisions

From Prisonpedia
Migrate to WikiSEO extension
Update to append site name to titles
 
Line 1: Line 1:
<noinclude>
<noinclude>
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.
This template adds a meta description for SEO purposes using the WikiSEO extension.  
 
'''Note:''' For full SEO control including keywords and content type, use {{tl|SEO}} instead.


'''Usage:'''
'''Usage:'''
Line 12: Line 14:
* Open Graph description for Facebook/LinkedIn
* Open Graph description for Facebook/LinkedIn
* Twitter Card description
* Twitter Card description
* Appends " - Prisonpedia" to page title


[[Category:Templates]]
[[Category:Templates]]
</noinclude><includeonly>{{#seo:
</noinclude><includeonly>{{#seo:
|title_mode=append
|title_separator= - Prisonpedia
|description={{{1}}}
|description={{{1}}}
|site_name=Prisonpedia
|locale=en_US
|type=article
}}</includeonly>
}}</includeonly>

Latest revision as of 16:46, 4 December 2025

This template adds a meta description for SEO purposes using the WikiSEO extension.

Note: For full SEO control including keywords and content type, use Template:Tl instead.

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
  • Appends " - Prisonpedia" to page title