User:CloudsInMind/Sandbox: Difference between revisions

From StreetCatWiki
No edit summary
No edit summary
Line 19: Line 19:


== Adding Information ==
== Adding Information ==
Throughout the source code, you will fill out each section with the information you have of the cat. Most sections 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. These sections will include formatting, filling out the cat infobox template, how to make a gallery, and any additional information you may need to know.
Throughout the source code, you will fill out each section with the information you have of the cat. Most sections 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. These sections will include working with formatting, filling out the cat infobox template, how to make a gallery, and any additional information you may need to know.


=== Cat Infobox ===
=== Cat Infobox ===
Line 63: Line 63:
=== Finishing off the Page ===
=== Finishing off the Page ===
Once you have finished writing out each section and uploading pictures for your page, we can do some final details before uploading.  
Once you have finished writing out each section and uploading pictures for your page, we can do some final details before uploading.  
*Below the gallery should be the cat footer. If you're making a cat page for a newer feeder, leave the footer as is. If you're making a cat page for an already documented feeder either on the [[List of Cats]] or [[List of Other Cats]] page, then you will want to switch the footer to that corresponding feeder. Using the list of feeder footers [https://streetcat.wiki/index.php/Category:Footer_templates here,] copy the name of the template you wish to use, then replace ''Cat Footer'' with the copied name. For example, if you're making a new page for [[Hi Meow]], it should look like <code><nowiki>{{HMCF}}</nowiki></code>.
*Next step is categories. First, remove the template category. Second, take a look at the [https://streetcat.wiki/index.php/Category:Cats_by_color cats by color] page. Any of the options there that work best for your cat, you will add as a category. For example, if you're writing a cat that looks like a brown tabby, then it would use the <code><nowiki>[[Category:Brown Tabby]]</nowiki></code> code, add as many as you see fit. Use the same step as before, and add a female or male category depending on the gender of the cat.
Once you've finished up those two final steps, double check your writing and see if there is any grammar or spelling mistakes you need to fix up. If you need to, input your writing into Grammarly or Quillbot to check your work, or have another wiki member read through your work. It is recommended before posting your page to preview what it would look like using the ''Show preview'' button at the bottom of your source editor. When you feel everything is sufficient enough to post, click the ''Save page'' button and fill out the captcha. Congratulations, you've finished your first page!


== Making and Preparing a Feeder Page ==
== Making and Preparing a Feeder Page ==
to be worked on
to be worked on

Revision as of 23:56, 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 sections 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. These sections will include working with formatting, filling out the cat infobox template, 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. Starting off with the image function in the appearance category of your source code, there will be code for an image that looks like this:

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

Here is a step by step process of what each part means.

  • 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 second bracket is where the image presents itself horizontally. For this purpose, it has been set to none and does not need to be adjusted, however if you would like to see the following options for future edits, you can check here.
  • The next bracket is for format options, it controls how the image is embedded in the page. Currently, it is set to thumb for thumbnail, which is perfect for this instance, but if you want to know the other options you can check here.
  • The next bracket is image size, which is self-explanatory. This is measured in pixels, the bigger the pixel count, the bigger the image will be. For this instance it's currently set to the recommended 207x207 size, however you can adjust it to how you see fit.
  • Finally, the last bracket is for the caption. You can write what works best for whatever you're using the image for.

Towards the bottom of your source code should be a section for the cat's gallery. Instead of adding an image code for every single image you want to add, instead a gallery function will be used. This works similarly to the image format, however all you need to do is add the file name and caption for the image in-between <gallery> and </gallery>.

Text Formatting

Throughout the source code you may see many formatting options used. If you're interested in a full list of what is offered formatting-wise, you can check out this page here on the MediaWiki page. However, the most used and important options will be quickly shown here.

''This is used for italics,'' and '''this is used for bold words'''

*This makes a bullet point, useful for your sightings!

==This is used for a heading== and ===this is for a subheading.===

Finishing off the Page

Once you have finished writing out each section and uploading pictures for your page, we can do some final details before uploading.

  • Below the gallery should be the cat footer. If you're making a cat page for a newer feeder, leave the footer as is. If you're making a cat page for an already documented feeder either on the List of Cats or List of Other Cats page, then you will want to switch the footer to that corresponding feeder. Using the list of feeder footers here, copy the name of the template you wish to use, then replace Cat Footer with the copied name. For example, if you're making a new page for Hi Meow, it should look like {{HMCF}}.
  • Next step is categories. First, remove the template category. Second, take a look at the cats by color page. Any of the options there that work best for your cat, you will add as a category. For example, if you're writing a cat that looks like a brown tabby, then it would use the [[Category:Brown Tabby]] code, add as many as you see fit. Use the same step as before, and add a female or male category depending on the gender of the cat.

Once you've finished up those two final steps, double check your writing and see if there is any grammar or spelling mistakes you need to fix up. If you need to, input your writing into Grammarly or Quillbot to check your work, or have another wiki member read through your work. It is recommended before posting your page to preview what it would look like using the Show preview button at the bottom of your source editor. When you feel everything is sufficient enough to post, click the Save page button and fill out the captcha. Congratulations, you've finished your first page!

Making and Preparing a Feeder Page

to be worked on