Jump to content

(NC) Important Code: Difference between revisions

From Nezopedia
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:


<code><nowiki> <ref>link</ref></nowiki></code> is used for references.
<code><nowiki> <ref>link</ref></nowiki></code> is used for references.
* You can also add <code>name="your ref group name</code> to allow for multiple references to a singular page. You can then just do <code><nowiki><ref name="your ref group name"></ref></nowiki></code> to add the same ref to another area.
In a separate area labeled References, you can then add <code><nowiki><reference /></nowiki></code> to paste all of the relevant references.


== Short Description ==
== Short Description ==
Line 20: Line 23:


<code><nowiki>[[:Category: ]]</nowiki></code> is used to link to the category's page where all pages under that category are listed.
<code><nowiki>[[:Category: ]]</nowiki></code> is used to link to the category's page where all pages under that category are listed.
You can add a category on a category page to make it a subheading. See [[:Category:Body of Water]] for an example.


== No Wiki ==
== No Wiki ==

Latest revision as of 20:07, 1 May 2025

This page is to give some helpful code to make your page look schnazzy!

Headings

== test == will make the heading you see above while === test === will make a subheading. Once you use them, a quick link will show up on the side, making it easier to navigate a page.

Links

[ your site link ] is used for external links.

[[ your page title ]] is used for internal links.

<ref>link</ref> is used for references.

  • You can also add name="your ref group name to allow for multiple references to a singular page. You can then just do <ref name="your ref group name"></ref> to add the same ref to another area.

In a separate area labeled References, you can then add <reference /> to paste all of the relevant references.

Short Description

Short Description allows you to add a description to the page that will be seen when links are sent or viewed through a search engine.

Add {{SHORTDESC:your text}} at the top of your document.

Category

[[Category: ]] is used to add a page to an existing or new category. Please ensure that your pages have the appropriate category to make finding it easier.

[[:Category: ]] is used to link to the category's page where all pages under that category are listed.

You can add a category on a category page to make it a subheading. See Category:Body of Water for an example.

No Wiki

<nowiki> and </nowiki> are used to stop the automatic formatting. See the page source for examples!

Code

<code> and </code> are used for code blocks, mainly for documentation of templates. They don't exist yet, of course, but they may one day.

Files

After uploading your file through the sidebar to the right under Tools, you can use it anywhere by using [[File:your-file.extension]]

  • To have an image as your thumbnail when searching, you must place the file at the very top of the page at least once.