User:CloudsInMind/Sandbox: Difference between revisions
CloudsInMind (talk | contribs) No edit summary |
CloudsInMind (talk | contribs) 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 | 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. | ||
=== Cat Infobox === | === Cat Infobox === | ||
Line 52: | Line 52: | ||
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 <code><nowiki><gallery></nowiki></code> and <code><nowiki></gallery></nowiki></code>. | 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 <code><nowiki><gallery></nowiki></code> and <code><nowiki></gallery></nowiki></code>. | ||
== Text Formatting == | === 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 [https://www.mediawiki.org/wiki/Help:Formatting here] on the MediaWiki page. However, the most used and important options will be quickly shown here. | |||
<code><nowiki>''This is used for italics,'' and '''this is used for bold words'''</nowiki></code> | |||
<code><nowiki>*This makes a bullet point, useful for your sightings!</nowiki></code> | |||
<code><nowiki>==This is used for a heading== and ===this is for a subheading.===</nowiki></code> | |||
=== 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. | |||
== Making and Preparing a Feeder Page == | == Making and Preparing a Feeder Page == | ||
to be worked on | to be worked on |
Revision as of 23:12, 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 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.
Making and Preparing a Feeder Page
to be worked on