(One intermediate revision by the same user not shown)
Line 37: Line 37:
  
 
</noinclude><includeonly>{{#seo:
 
</noinclude><includeonly>{{#seo:
|title=OpenCSP - {{#if: {{{Title|}}} |{{{Title|}}} |{{PAGENAME}} }}
+
|title={{#if: {{{Title|}}} |{{{Title|}}} |{{PAGENAME}} }}
 
|title_mode={{#if:{{{Title mode|}}} |{{{Title mode|}}} |replace}}
 
|title_mode={{#if:{{{Title mode|}}} |{{{Title mode|}}} |replace}}
 
|title_separator={{#if: {{{Title separator|}}} |{{{Title separator|}}} |- }}
 
|title_separator={{#if: {{{Title separator|}}} |{{{Title separator|}}} |- }}
Line 55: Line 55:
  
 
|author={{{Author|}}}
 
|author={{{Author|}}}
|section={{[Section|}}}
+
|section={{{Section|}}}
 
|published_time={{{Published time|}}}
 
|published_time={{{Published time|}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 15:01, 12 June 2023


This is the SEO template. It should be called in the following format:

Note: Please use the CMS sidebar to fill in the seo settings instead of trying to do it manually

static properties:

  • locale = en_US
  • site name = OpenCSP
  • Title always gets 'OpenCSP - ' prefix
  • robots & googlebot are set to 'index, follow'
{{SEO
|Title= (text)
|Title mode= (optional: replace/append/prepend)
|Title separator= (text)
|Keywords= (text)
|Description= (text)

|Robots = (text)
|Googlebot= (text)

|Type= (text)
|Image= (text)
|Image alt= (text)
|Image width= (number)
|Image height= (number)
|Locale= (text)
|Site name= (text)

|Author= (text)
|Section= {text)
|Published time= (date) 
}}