Template:SEO
Usage
Use {{SEO}} to provide search-engine and social-media metadata for important Grigoripedia pages through the WikiSEO extension. This template does not display visible content on the page. It makes metadata such as the page description, keywords, OpenGraph type, representative image, canonical URL, article metadata, and optional search-engine directives available.
Place the template at the very beginning of an article. To avoid creating unwanted blank space above the lead, do not leave a blank line between the closing braces of {{SEO}} and the beginning of the article text.
A custom SEO description is especially useful for high-priority articles and pages receiving significant search traffic. Pages without a manually supplied description may use Grigoripedia's automatic description generation instead.
Most parameters are optional. For an ordinary article, |description and, where useful, |keywords and |image are generally sufficient.
Parameters
|description- A concise description of the page for search engines and social previews. This should normally be one or two natural-language sentences accurately summarizing the subject.
|keywords- A comma-separated list of important terms associated with the page. This metadata is supported by WikiSEO, although major search engines such as Google do not use the traditional meta-keywords field as a ranking factor. Use this parameter for concise topical metadata rather than keyword stuffing.
|type- The OpenGraph content type. Defaults to
articleand normally does not need to be specified.
|image- The filename of a representative image uploaded to Grigoripedia. Use the filename alone rather than the
File:prefix.
|image_width- The width of the representative image in pixels where an explicit value is needed. Normally unnecessary for local MediaWiki files because WikiSEO can determine image dimensions automatically.
|image_height- The height of the representative image in pixels where an explicit value is needed. Normally unnecessary for local MediaWiki files because WikiSEO can determine image dimensions automatically.
|image_alt- Alternative text describing the representative image.
|title- Overrides the page title used in metadata. Normally unnecessary when the actual MediaWiki page title is already appropriate.
|title_mode- Controls how WikiSEO handles a supplied metadata title. This should generally be omitted unless a deliberate title override is required.
|title_separator- Overrides the separator used between the page title and site name in generated metadata. Normally unnecessary.
|site_name- The site name supplied in metadata. Defaults to
Grigoripediaand normally does not need to be specified.
|locale- The locale supplied in OpenGraph metadata, such as
en-US. Normally leave blank unless a page requires an explicit locale.
|canonical- Supplies an explicit canonical URL for the page. Normally leave blank so MediaWiki and WikiSEO can use the page's normal canonical URL. Use this only when there is a deliberate reason for a page to identify another URL as canonical.
|author- Supplies article-author metadata. This is optional and ordinarily unnecessary for standard Grigoripedia encyclopedia articles.
|section- Supplies OpenGraph article-section metadata, such as a broad editorial section or subject area. This is optional.
|published_time- Supplies the original publication date or time for article metadata where appropriate. This should normally be omitted for ordinary continuously edited encyclopedia articles unless a meaningful publication date exists.
|twitter_site- Supplies the Twitter/X account associated with the site for Twitter Card metadata. Include the account in the format expected by WikiSEO.
|robots- Supplies a general robots directive for the page, such as
noindex,nofollow, or another supported combination. This should normally be omitted. Namespace-wide indexing rules should be configured in MediaWiki rather than repeated manually on individual pages.
|googlebot- Supplies a Googlebot-specific robots directive. Use only when Google should receive different crawler instructions from the general
|robotssetting.
Examples
A basic use with a custom description:
{{SEO
|description=Samyaza is the leader of the Watchers in Enochic literature and a major divine figure in Satano-Grigorism.
}}'''Samyaza''' is ...
A page with keywords:
{{SEO
|description=Satanael is the primary deity of Satano-Grigorism and is associated with rebellion, knowledge, pride, pleasure, and the Self.
|keywords=Satanael, Satano-Grigorism, Satanism, Watchers, Grigori
}}'''Satanael''' is ...
A page with a representative image:
{{SEO
|description=Samyaza is the leader of the Watchers in Enochic literature and a major divine figure in Satano-Grigorism.
|image=Samyaza.png
|image_alt=Depiction of Samyaza
}}'''Samyaza''' is ...
A page with an explicit canonical URL:
{{SEO
|description=Example description.
|canonical=https://grigoripedia.com/Example
}}'''Example''' is ...
A page excluded from search-engine indexing:
{{SEO
|description=Internal or temporary page.
|robots=noindex, nofollow
}}'''Example''' is ...
The type and site_name parameters generally do not need to be supplied because their defaults are appropriate for ordinary Grigoripedia articles.
Recommended usage
For most Grigoripedia articles, use only the parameters that materially improve the page's metadata.
A typical high-priority article may use:
{{SEO
|description=
|keywords=
|image=
|image_alt=
}}
Do not add empty parameters merely for completeness unless maintaining a standardized editing format is useful.
Avoid keyword stuffing. |keywords should contain a short list of genuinely relevant names, concepts, alternate terms, and closely related subjects.
Do not manually specify |canonical, |robots, |googlebot, |locale, |author, |section, or |published_time unless the page has a specific reason to override normal behavior.
Automatic descriptions
Grigoripedia is configured to use WikiSEO with TextExtracts. When no manual description is supplied, an SEO description may be generated automatically from the page's lead text.
For this reason, {{SEO}} does not need to be added to every article. It is primarily useful when a page needs a deliberately written description, representative image, keywords, title override, canonical override, crawler directive, or other special metadata.
Keywords
WikiSEO supports the |keywords parameter.
Search engines may treat keyword metadata differently. Google does not use the traditional meta-keywords tag as a ranking signal, so keywords should not be regarded as a substitute for strong article text, headings, internal linking, structured data, or descriptive titles.
The field may nevertheless be useful as general machine-readable topical metadata and for consumers other than Google.
Use a comma-separated list:
|keywords=Satanael, Satanism, Satano-Grigorism, Watchers, Grigori
Canonical URLs
Use |canonical only when a page deliberately needs to specify a canonical URL different from or more explicit than its ordinary MediaWiki URL.
Do not manually add canonical URLs to every article merely because the parameter exists.
Crawler directives
|robots applies general crawler directives.
|googlebot may be used when Googlebot should receive a directive different from the general robots setting.
These parameters should normally remain blank. Site-wide and namespace-wide indexing behavior should be configured centrally whenever possible.
Social metadata
WikiSEO can generate OpenGraph and Twitter Card metadata from fields such as |type, |site_name, |locale, |image, |image_alt, and |twitter_site.
For ordinary articles, the default OpenGraph type of article is appropriate.
When a representative image is supplied, use |image_alt whenever practical.
Article metadata
The |author, |section, and |published_time parameters expose article-specific metadata.
These fields are optional and should not normally be filled simply because they exist. Grigoripedia is a continuously edited encyclopedia, so conventional publication metadata may not always map cleanly onto an article.
Structured data
This template controls metadata generated through WikiSEO.
More detailed Schema.org JSON-LD structured data is handled separately through DynamicJsonLD and Grigoripedia's Scribunto modules.
Adding {{SEO}} does not replace or configure DynamicJsonLD.
Placement
Place {{SEO}} before the article lead with no blank line between the template and the first visible text:
{{SEO
|description=Example description.
}}'''Example''' is ...
Do not format it like this:
{{SEO
|description=Example description.
}}
'''Example''' is ...
The blank line may create unwanted vertical space above the article lead.
Categories added
This template does not automatically add articles to any content category.
Template type
This template is a:
- 📒 Documentation template