Template:SEO

From Wikicarpedia
Jump to navigation Jump to search

Description

Internal template. Please use Template:UX.

Include HTML tags for SEO (Search Engine Optionalization) and also for generate data when sharing page on Social networks.

Parameters

  • title (optional) - overwrite title of page, example page title Base game, but we want share as Carcassonne - Base game
  • descrition (optional) - overwrite description of page, because description is by default generated as first paragraph of page
  • image (optional) - overwrite image when sharing on social networks, set ad Image name (without File:), by default WICA logo
  • type (optional) - overwrite type=article to requested type be Open Graph definition
  • locale (optional) - overwrite locale={{PAGELANGUAGE}} with requested locale, when page is not in English and is not translatable
  • keywords (optional) - comma-separated list of keywords, automatically transformed to lowercase
  • will be included...

Attention

  1. Template should be used on every page, ideally before main <translate> but after any redirect and every parameter market for translate like {{SEO|title=<translate>...</translate>|description=<translate>...
  2. image has to be included by {{filepath:Name_of_image.png|nowiki}} which generated real URL to image

Example

This is internal template, use new template Template:UX.

{{SEO|title=Carcassonne - Base game|description=Best game on the World|image={{filepath:Box_C3_ZMG.png|nowiki}} }}