PCJD:Guidelines: Difference between revisions

From PC Jargon Dictionary
Jump to navigation Jump to search
(Started the guidelines page.... I have no idea what to put here for the most part.)
 
No edit summary
Line 2: Line 2:


These guidelines are going to be continuously worked on.
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.
Elements 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.
Elements 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 <code><nowiki>{{#seo}}</nowiki></code>, but to actually use the parser function and the meta tags it needs to look like this: <code><nowiki>{{#seo:|}}</nowiki></code> after the first pipe you start with the tags while then also separating the other tags with pipes. | is the pipe character. Each element consists of a keyword and a value,
So the parser looks like this: <code><nowiki>{{#seo:|keyword1=value1|keyword2=value2}}</nowiki></code>

Revision as of 09:23, 11 August 2021

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.

Elements 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.

Elements 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 element consists of a keyword and a value,

So the parser looks like this: {{#seo:|keyword1=value1|keyword2=value2}}