Jump to content

(NC) Important Code: Difference between revisions

From Nezopedia
Created page with "This page is to give some helpful code to make your page look schnazzy! == Infobox == Infobox is the small box you see on the side of countries' wiki's that gives a quick overview of said country. - (Article Explaining How To Make Infoboxes)[https://trog.qgl.org/20140923/setting-up-infobox-templates-in-mediawiki-v1-23/]"
 
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page is to give some helpful code to make your page look schnazzy!
This page is to give some helpful code to make your page look schnazzy!


== Infobox ==
== Headings ==
Infobox is the small box you see on the side of countries' wiki's that gives a quick overview of said country.  
<code><nowiki> == test == will make the heading you see above while === test === will make a subheading.</nowiki></code> Once you use them, a quick link will show up on the side, making it easier to navigate a page.
- (Article Explaining How To Make Infoboxes)[https://trog.qgl.org/20140923/setting-up-infobox-templates-in-mediawiki-v1-23/]
 
== Links ==
<code><nowiki> [ your site link ]</nowiki></code> is used for '''external''' links.
 
<code><nowiki> [[ your page title ]] </nowiki></code> is used for '''internal''' links.
 
<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 allows you to add a description to the page that will be seen when links are sent or viewed through a search engine.
 
Add <code><nowiki>{{SHORTDESC:</nowiki>''your text''}}</code> at the top of your document.
 
== Category ==
<code><nowiki>[[Category: ]]</nowiki></code> 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.  
 
<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 ==
 
<code><nowiki><nowiki> and </nowiki> </nowiki></code> are used to stop the automatic formatting. See the page source for examples!
 
== Code ==
<code><nowiki> <code> and </code></nowiki></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 <code><nowiki>[[File:your-file.extension]]</nowiki></code>
* To have an image as your thumbnail when searching, you must place the file at the very top of the page at least once.

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.