Fandom

HabitRPG Wiki

Pets/doc

< Pets

755pages on
this wiki
Add New Page
Talk0 Share

How to Add Single Pictures to the Table Edit

How to add pictures to either the Available Pets table or the Quest Pets table on Pets:

  1. Get the image you want on your computer (be it a screenshot or a cut from the spreadsheet)
  2. Choose the location you want the image to appear in (no matter the editing mode). Then look to the right of the screen. In the "Add features and media" region, there is an option called "Photo". Click it and follow the instructions.
  3. Click "Preview" to see if your changes look the way you want them to. If they do look ok, then click "Publish".

How to Add Picture Rows to the Pet Page Edit

Step 1Edit

To add a new row of pictures to Pets you first download the Raw_Pets.png.

Raw Pets

Next, download the current blacksmith spritesheet, either from GitHub or directly from the game page. Alternatively you can grab the individual pictures via screenshots (this is not recommended, but it works).

Spritesmith422014

The file will look like this











Step 2Edit

Open both files in your favorite image editing software (MSPaint will do). Drag or copy/paste the images from the spritesheet into the squares of Raw_Pets.png (use the lines to easily achieve identical positioning)

Step 3Edit

If your image editing software is capable of producing transparent background, then make the background transparent. If it is not capable of doing that (MSPaint for example), proceed to the next step, or else skip it.

Step 3.5Edit

Go to www.sumopaint.com/app, load the image, select the magic wand in the left side menu and click on the colored fields. Once marked, delete these fields with the del key. You will notice the background turning into a white/grey chessboard - this means your background is now transparent. Save the file to your computer and proceed.

Step 4Edit

Upload the file to the Wikia and enter source editing mode (right click on Edit, choose classic editor, choose the source tab on the top right.

Step 5Edit

Copy the following text into the table where you want the row to appear ("|-" marks the end of a row, "|}" marks the end of a table.

|-
| align="center" | PETNAME
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -0px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -80px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -160px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -240px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -320px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -400px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -480px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -560px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -640px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>
| align="center" | <div style="width: 80px; height: 80px; overflow: hidden; position: relative;">
<span style="position: absolute; left: -720px; top: -0px;">
[[File:IMAGE.PNG]]
</span>
</div>

Step 6Edit

Replace the "IMAGE.PNG" with the name of your file.

Step 7Edit

Click "Preview" to see if your changes look the way you want them to. If they look ok, then click "Publish".

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.