TOUD:Using the TOUD Wiki: Difference between revisions
From Time of Unparalleled Darkness Wiki
DM Maiyannah (talk | contribs) (Add SEO title usage) |
DM Maiyannah (talk | contribs) (Add Syntax Highlighting section) |
||
| Line 24: | Line 24: | ||
<meta google-site-verification="123456789-abfd123456" /> | <meta google-site-verification="123456789-abfd123456" /> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Syntax Highlighting == | |||
For example, | |||
</translate> | |||
<syntaxhighlight lang="python" line> | |||
def quick_sort(arr): | |||
less = [] | |||
pivot_list = [] | |||
more = [] | |||
if len(arr) <= 1: | |||
return arr | |||
else: | |||
pass | |||
</syntaxhighlight> | |||
is the result of the following wikitext markup: | |||
<nowiki><syntaxhighlight lang="python" line></nowiki> | |||
def quick_sort(arr): | |||
less = [] | |||
pivot_list = [] | |||
more = [] | |||
if len(arr) <= 1: | |||
return arr | |||
else: | |||
pass | |||
<nowiki></syntaxhighlight></nowiki> | |||
Revision as of 14:35, 13 November 2025
Hi! Thanks for wanting to participate in the Time of Unparalleled Darkness wiki! This page provides documentation on how to use the wiki in terms of creating and editing pages, and specific instructions in how to use the special extensions our wiki has.
Changing the title, description, and keywords for a page
When you enter the following in a wiki page:
<seo title="word1,word2" metakeywords="word3,word4" metadescription="word5,word6" google-site-verification="123456789-abfd123456" />
...or the shorter...
<seo title="word1,word2" metak="word3,word4" metad="word5,word6" google-site-verification="123456789-abfd123456" />
...these words are added to the HTML title and meta headers. This makes SEO (search engine optimization) with MediaWiki easier.
For example, the above would become:
<title>word1,word2 - Wiki Name</title> (the string "word1,word2" replaces page title)
<meta name="keywords" content="word3,word4" />
<meta name="description" content="word5,word6" />
<meta google-site-verification="123456789-abfd123456" />
Syntax Highlighting
For example, </translate>
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr
else:
pass
is the result of the following wikitext markup:
<syntaxhighlight lang="python" line> def quick_sort(arr): less = [] pivot_list = [] more = [] if len(arr) <= 1: return arr else: pass </syntaxhighlight>
