Template:SEO
More actions
This template configures SEO and social media metadata for a page using WikiSEO.
Usage
Basic usage:
{{SEO
|title=Page title
}}
With a description and image:
{{SEO
|title=Page title
|description=Page description
|image=Example.png
|image_alt=Description of the image
}}
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
title
|
No | None | The page title used for SEO and social media metadata. When specified, it replaces the normal page title. |
description
|
No | A shared record of Neodyland: the people, projects, services, and ideas that shape our community.
|
The page description used in search results and social media previews. |
image
|
No | None | The image used for Open Graph and Twitter Card metadata. |
image_width
|
No | None | The width of the image. Usually unnecessary when using a file hosted on the wiki. |
image_height
|
No | None | The height of the image. Usually unnecessary when using a file hosted on the wiki. |
image_alt
|
No | None | Alternative text for the image. |
type
|
No | article
|
The Open Graph content type. |
twitter_card
|
No | summary
|
The Twitter Card type. For example, summary_large_image may be used for a large image preview.
|
Fixed values
The following values are defined directly by the template.
| Property | Value |
|---|---|
| Keywords | neodyland, neody, neody wiki, make it a quote, artifacter
|
| Site name | Neodyland Wiki
|
| Twitter/X site | @neodyland
|
| Title mode | replace
|
Examples
Basic
{{SEO
|title=Neodyland
}}
Custom description
{{SEO
|title=Neodyland
|description=A page containing information about Neodyland.
}}
Image
{{SEO
|title=Neodyland
|description=A page containing information about Neodyland.
|image=Neodyland logo.png
|image_alt=Neodyland logo
|twitter_card=summary_large_image
}}
Translated pages
For pages translated using Extension:Translate, canonical, hreflang, og:locale, and og:locale:alternate are generated automatically by the site configuration and do not need to be specified by this template.
The title and description should be provided in the appropriate language for each translated page.
TemplateData
Configures SEO and social media metadata for a page using WikiSEO.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | The page title used for SEO and social media metadata | Line | suggested |
| Description | description | The page description shown in search results and social media previews | Content | optional |
| Image | image | The image used for Open Graph and Twitter Card metadata | File | optional |
| Image width | image_width | The width of the image | Number | optional |
| Image height | image_height | The height of the image | Number | optional |
| Image alt text | image_alt | Alternative text for the image | Line | optional |
| Type | type | The Open Graph content type
| Line | optional |
| Twitter Card | twitter_card | The Twitter Card type
| Line | optional |