PCJD:Guidelines

From PC Jargon Dictionary
Jump to navigation Jump to search

This page contains the editing guidelines for the PCJD, everyone who edits the wiki should adhere to these guidelines, but if a guideline makes no sense you don't need to follow it.

These guidelines are going to be continuously worked on.

Meta Tags for SEO

These are important for search engine findability, but also to have correct embeds on platforms like Twitter, Facebook and Discord.

I'm going to split this part into four sections: How to use, Required, Optional, Templates

The How to use section just explains how you can include the meta tags and the SEO extension.

Parameters from the required section need to be included and are required on all content pages in the main namespace in the PCJD namespace other rules apply and are judged on a page per page basis.

Parameters from the optional section are not specifically required, but can be included as seen fit.

Last but not least the templates, these are pre fabricated elements you can copy into the pages.

How to use

The meta tags are added via a parser function magic word, in this case being {{#seo}}, but to actually use the parser function and the meta tags it needs to look like this: {{#seo:|}} after the first pipe you start with the tags while then also separating the other tags with pipes. | is the pipe character.
Each parameter consists of a keyword and a value, separated by an equal sign (=). The keyword can't be separated by a space, any space in a keyword would be replaced with and underscore (_), but they are listed as how they need to be used. There should be no space before or after the equal sign. In the value you can have spaces.

So the parser looks like this as an example: {{#seo:|keyword1=value1|keyword2=value2|keyword3=Text with spaces}}