User:CloudsInMind/Sandbox: Difference between revisions

From StreetCatWiki
mNo edit summary
No edit summary
Line 7: Line 7:


However, before you make a page you will need to check the following:
However, before you make a page you will need to check the following:
* '''Does this cat already exist?''' If you're making a cat page for a preexisting feeder, please double check that you're not making a page for a cat who has already been documented. You can double check this by going through the feeder page, or asking around in the [https://discord.gg/xmDbCQWM55 wiki discord.]
* '''Does this cat already exist?''' If you're making a cat page for a preexisting feeder, please make sure that you're not making a page for a cat who has already been documented. You can double check this by searching the wiki, or asking around in the [https://discord.gg/xmDbCQWM55 wiki discord.]
* '''Do I have enough information?''' If you have a name chosen, at least two or three sightings recorded, a understanding of the cat's behavior, and a few pictures that includes a top and front view of the cat, then you have the go-ahead to make a page. If you're making a page on a feeder, it is recommended to have at the bare minimum four or five cat pages made for the feeder.
* '''Do I have enough information?''' If you have a name chosen, at least two or three sightings recorded, a understanding of the cat's behavior, and a few pictures that includes a top and front view of the cat, then you have the go-ahead to make a page. If you're making a page on a feeder, it is recommended to have at the bare minimum four or five cat pages made for the feeder.
*'''Have I read the [[Guidelines]] fully yet?''' Above all else, please make sure you're following the wiki rules, otherwise you run the risk of getting your page deleted.
*'''Have I read the [[Guidelines]] fully yet?''' Above all else, please make sure you're following the wiki rules, otherwise you run the risk of getting your page deleted.
Line 14: Line 14:


== Making and Preparing a Cat Page ==
== Making and Preparing a Cat Page ==
To make a page, use the wiki search bar and enter the name of the cat you want to make the page of. If the page does not already exist, then it will prompt you with a red text you can click on. This will prompt you to the source editor.
To make a page, use the wiki search bar and enter the name of the cat you want to make the page of. If the page does not already exist, then it will show red text that you can click on. This will prompt you to the source editor.


In another tab, open up the [[Page Template]] page. Go into edit source, then copy the entire source. Paste the following source into the page you are making.  
In another tab, open up the [[Page Template]] page. Go into edit source, then copy the entire source. Paste the following source into the page you are making.  


== Adding Information ==
== Adding Information ==
For a better understanding of the source you are working with, this guide will go step by step through each section.
Throughout the source code, you will fill out each section with the information you have of the cat. Most parts should be self-explanatory, fill out a brief description of the cat including which feeder they are from, how they act, what they look like, and their recorded sightings. However, there are some things that require a bit more understanding for first time editors. The sections will include formatting, filling out templates, how to make a gallery, and any additional information you may need to know.


=== Cat Infobox ===
=== Cat Infobox ===
Line 26: Line 26:
<code><nowiki>{{CatInfobox|name=Cat Name|image=Temp Image.png|breed=|coat=|sex=|appearance=|first_sighting=Month ##, Year}}</nowiki></code>
<code><nowiki>{{CatInfobox|name=Cat Name|image=Temp Image.png|breed=|coat=|sex=|appearance=|first_sighting=Month ##, Year}}</nowiki></code>


To start off, you will need to fill and replace text with information about the cat you're writing about. For example, where the bracket says <code>name=|</code>, or <code>coat=|</code>, you would fill in the according information ''after'' the equal sign. When adding an image in the infobox, use the [[Special:Upload|upload file]] page and upload a picture of the cat. Once successfully uploaded, copy the name of the file to the <code>image=|</code> part of the template.  
To start off, you will need to fill and replace text with information about the cat you're writing about. For example, where the bracket says <code>name=|</code>, or <code>coat=|</code>, you would fill in the according information ''after'' the equal sign. However, adding an image to the template requires a bit more effort. When adding an image in the infobox, use the [[Special:Upload|upload file]] page and upload a picture of the cat. Once successfully uploaded, copy the name of the file to the <code>image=|</code> part of the template.  


If you would like to add more information to your infobox, here are some following brackets you can add:
If you would like to add more information to your infobox, here are some following brackets you can add:
* Rarity, personality, and occupation are typically seen on a majority of cat pages. This can be done by adding <code>rarity=|occupation=|personality=|</code>, and is typically placed inbetween the sex and first sighting brackets.
* Rarity, personality, and occupation are typically seen on a majority of cat pages. This can be done by adding <code>rarity=|occupation=|personality=|</code>, and is typically placed inbetween the sex and first sighting brackets.
* If your cat has a relationship with another cat, whether it is familial, romantically, or otherwise unspecified, then you would add the relationship brackets to the infobox. The following code for that would be <code>parents=|partner=|siblings=|children=|other_relations=|</code>, and this would be typically placed after the first sightings bracket.  
* If your cat has a relationship with another cat, whether it is familial, romantically, or otherwise unspecified, then you would add the relationship brackets to the infobox. The following code for that would be <code>parents=|partner=|siblings=|children=|other_relations=|</code>, and this would be typically placed after the first sightings bracket.  
* If the cat goes by another name or has a nickname either from the international community or the Chinese community, then you can add the other names bracket. The code for this would be <code>other_names=|</code> and would be placed after the image bracket.
* Although optional, you can add a caption below the image you've uploaded. This can be done by adding <code>caption=|</code> immediately after the image brackets.
* If the cat goes by another name or has a nickname either from the international community or the Chinese community, then you can add the other names bracket. The code for this would be <code>other_names=|</code> and would be placed after the image or caption bracket.


This is an example of what a fully filled out infobox would look like, using the source code of [[Mr. Snack]]:
This is an example of what a fully filled out infobox would look like, using the source code of [[Mr. Snack]]:
Line 37: Line 38:
<code><nowiki>{{CatInfobox|name=Mr. Snack|image=Mr snack.jpg|caption= get snacked on!!|other_names=Also known as 冻干哥 or Freeze-Dried Brother|breed=Domestic Shorthair|coat=Red (ginger) Mackerel Tabby|sex=Male|rarity=Unseeable|occupation=Dad, Tax Evader|appearance=Orange with white chin|eye_color=Light green|personality=Picky, impatient|first_sighting=October 28, 2023|partner=[[Ms. Snack]] (ex wife)|children=[[The Snack Children]] ([[Little Fella]] and [[Mr. Inspector]])}}</nowiki></code>
<code><nowiki>{{CatInfobox|name=Mr. Snack|image=Mr snack.jpg|caption= get snacked on!!|other_names=Also known as 冻干哥 or Freeze-Dried Brother|breed=Domestic Shorthair|coat=Red (ginger) Mackerel Tabby|sex=Male|rarity=Unseeable|occupation=Dad, Tax Evader|appearance=Orange with white chin|eye_color=Light green|personality=Picky, impatient|first_sighting=October 28, 2023|partner=[[Ms. Snack]] (ex wife)|children=[[The Snack Children]] ([[Little Fella]] and [[Mr. Inspector]])}}</nowiki></code>


=== Description ===
=== Image Files & Galleries ===
to be worked on
Now that you have learned how to upload images for your cat infobox, we can utilize the image and gallery functions. In the appearance category of your source code, there will be code for a simple image that looks like this:


=== Behavior ===
<code><nowiki>[[File:Temp Image.png|none|thumb|207x207px|Cat from above]]</nowiki></code>
to be worked on


=== Appearance ===
This is how you would insert an image in your page. The first bracket is your file name. Similarly to the infobox, you would switch out ''Temp Image.png'' for an image you have uploaded of the cat. The next bracket is where the image presents itself.
to be worked on
 
=== Sightings ===
to be worked on
 
=== Gallery ===
to be worked on


== Making and Preparing a Feeder Page ==
== Making and Preparing a Feeder Page ==
to be worked on
== Additional Info and Tips! ==
to be worked on
to be worked on

Revision as of 22:26, 1 July 2024

me when i uhhhhh test things out :3 nothing here is finalized or anything, yes there will be grammar shenanigans that will eventually be fixed :P

there are some things i'm debating on keeping. i think having an example of a filled out infobox in code form would be helpful for those who want a visual reference but it also takes up alot of space... if any lurkers want to share their thoughts, feel free to ping me in the wiki discord :P

How to Create a Page!

This guide is to help you along the process of making a page, typically either for cats or feeders. If you're unfamiliar with source editor or need a refresher, this is for you.

However, before you make a page you will need to check the following:

  • Does this cat already exist? If you're making a cat page for a preexisting feeder, please make sure that you're not making a page for a cat who has already been documented. You can double check this by searching the wiki, or asking around in the wiki discord.
  • Do I have enough information? If you have a name chosen, at least two or three sightings recorded, a understanding of the cat's behavior, and a few pictures that includes a top and front view of the cat, then you have the go-ahead to make a page. If you're making a page on a feeder, it is recommended to have at the bare minimum four or five cat pages made for the feeder.
  • Have I read the Guidelines fully yet? Above all else, please make sure you're following the wiki rules, otherwise you run the risk of getting your page deleted.

If you think you're ready to make a page then go ahead and continue reading!

Making and Preparing a Cat Page

To make a page, use the wiki search bar and enter the name of the cat you want to make the page of. If the page does not already exist, then it will show red text that you can click on. This will prompt you to the source editor.

In another tab, open up the Page Template page. Go into edit source, then copy the entire source. Paste the following source into the page you are making.

Adding Information

Throughout the source code, you will fill out each section with the information you have of the cat. Most parts should be self-explanatory, fill out a brief description of the cat including which feeder they are from, how they act, what they look like, and their recorded sightings. However, there are some things that require a bit more understanding for first time editors. The sections will include formatting, filling out templates, how to make a gallery, and any additional information you may need to know.

Cat Infobox

The first thing you'll see in the source is the cat infobox template, it should look like the following:

{{CatInfobox|name=Cat Name|image=Temp Image.png|breed=|coat=|sex=|appearance=|first_sighting=Month ##, Year}}

To start off, you will need to fill and replace text with information about the cat you're writing about. For example, where the bracket says name=|, or coat=|, you would fill in the according information after the equal sign. However, adding an image to the template requires a bit more effort. When adding an image in the infobox, use the upload file page and upload a picture of the cat. Once successfully uploaded, copy the name of the file to the image=| part of the template.

If you would like to add more information to your infobox, here are some following brackets you can add:

  • Rarity, personality, and occupation are typically seen on a majority of cat pages. This can be done by adding rarity=|occupation=|personality=|, and is typically placed inbetween the sex and first sighting brackets.
  • If your cat has a relationship with another cat, whether it is familial, romantically, or otherwise unspecified, then you would add the relationship brackets to the infobox. The following code for that would be parents=|partner=|siblings=|children=|other_relations=|, and this would be typically placed after the first sightings bracket.
  • Although optional, you can add a caption below the image you've uploaded. This can be done by adding caption=| immediately after the image brackets.
  • If the cat goes by another name or has a nickname either from the international community or the Chinese community, then you can add the other names bracket. The code for this would be other_names=| and would be placed after the image or caption bracket.

This is an example of what a fully filled out infobox would look like, using the source code of Mr. Snack:

{{CatInfobox|name=Mr. Snack|image=Mr snack.jpg|caption= get snacked on!!|other_names=Also known as 冻干哥 or Freeze-Dried Brother|breed=Domestic Shorthair|coat=Red (ginger) Mackerel Tabby|sex=Male|rarity=Unseeable|occupation=Dad, Tax Evader|appearance=Orange with white chin|eye_color=Light green|personality=Picky, impatient|first_sighting=October 28, 2023|partner=[[Ms. Snack]] (ex wife)|children=[[The Snack Children]] ([[Little Fella]] and [[Mr. Inspector]])}}

Image Files & Galleries

Now that you have learned how to upload images for your cat infobox, we can utilize the image and gallery functions. In the appearance category of your source code, there will be code for a simple image that looks like this:

[[File:Temp Image.png|none|thumb|207x207px|Cat from above]]

This is how you would insert an image in your page. The first bracket is your file name. Similarly to the infobox, you would switch out Temp Image.png for an image you have uploaded of the cat. The next bracket is where the image presents itself.

Making and Preparing a Feeder Page

to be worked on