Caves of Qud Wiki:Style Guide: Difference between revisions
Kernelmethod (talk | contribs) m Add guidance for kinds of work that can be added to the wiki, what pages work can be added to, and where in a page work belongs |
m resolve syntaxhighlight error |
||
Line 323: | Line 323: | ||
On the page containing the image you uploaded, click <code>Edit</code> and then add the following line to the page: | On the page containing the image you uploaded, click <code>Edit</code> and then add the following line to the page: | ||
<syntaxhighlight> | <!-- By advice of https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Supported_languages --> | ||
<syntaxhighlight lang="moin"> | |||
[[Category:Fan Art]] | [[Category:Fan Art]] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 335: | Line 336: | ||
For example, suppose that your art was uploaded to [https://wiki.cavesofqud.com/wiki/File:Super_Cool_Dromad.webp File:Super_Cool_Dromad.webp]. Then to link your art in the {{favilink|Dromad}} page (or perhaps the [[Dromad merchants]] page), you would go to that page, edit it, and then add the following line to the page in the location that you want to upload it: | For example, suppose that your art was uploaded to [https://wiki.cavesofqud.com/wiki/File:Super_Cool_Dromad.webp File:Super_Cool_Dromad.webp]. Then to link your art in the {{favilink|Dromad}} page (or perhaps the [[Dromad merchants]] page), you would go to that page, edit it, and then add the following line to the page in the location that you want to upload it: | ||
<syntaxhighlight> | <syntaxhighlight lang="moin"> | ||
[[File:Super_Cool_Dromad.webp]] | [[File:Super_Cool_Dromad.webp]] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 341: | Line 342: | ||
If you want to add a caption (e.g. to attribute the artist), you can do so with | If you want to add a caption (e.g. to attribute the artist), you can do so with | ||
<syntaxhighlight> | <syntaxhighlight lang="moin"> | ||
[[File:Super_Cool_Dromad.webp|frame|Created by Mr. Super Cool Dromad Lover]] | [[File:Super_Cool_Dromad.webp|frame|Created by Mr. Super Cool Dromad Lover]] | ||
</syntaxhighlight> | </syntaxhighlight> |