More actions
Inserting Infoboxes into a Page
1. Click "Insert" in the top bar.
2. A dropdown should appear. Click "Template".
3. A search bar will appear. Start typing in the name of the infobox you want, click the appropriate name.
4. If the infobox looks blank like this, then keep following these steps. Click on the blue link that reads "template's page." Open it in a new tab.
5. You will be brought to a page that looks like this. Copy the text in the grey box (I have also circled what you need to copy in red here).
6. Go back to the page you want to add the infobox to. Click the arrow, then the X to exit out of this window.
7. Look at the top right and click "edit source".
8. A text box will appear in the center. Paste the text you copied in the text box. It should look something like this.
9. Click "Save Changes". You can then edit the page again, click on the template and click "Edit", and you'll be able to fill out the infobox as normal.
Designing a New Infobox
1. Go to the infobox builder: http://tools.thecorphub.xyz/InfoboxBuilder/
2. First make sure that your new infobox has a name.
3. You should find that this works similar to FANDOM's infobox builder. Each row also has additional properties which you can edit by clicking on the row- I'll explain these properties below:
a. Label - This is the name of the row, and will be what people see when they fill your infobox out. Keep the label short, but make it descriptive (for example, "Portrait" or "Full Name") b. Description - Descriptions can be longer and should be used to tell people what kind of information is supposed to go in this row. c. Example - Give here an example of what needs to go in this row. d. Type - This is the type of data that will go in this row. If it's an image, set it to "File Name/Image". The other options should be self explanatory, but if you're in doubt about what to set the type to, leaving it as "Text" is the safest option.
4. Once you are done, click "Create Infobox", and a window will pop up. Click the "Copy" button to copy the code.
5. Right click on the first link, circled here and colored in blue, and open it in a new tab. In this image, the link says "test infobox", but for you it should be whatever you named your infobox.
6. Upon clicking the link, you will be redirected to the wiki where you will see an empty text area in front of you. Right click in the text box and click "paste."
7. Now we're gonna scroll down and click the button that says "Save changes."
8. You should be done. Now you can go to the section above to find out how to actually insert your infobox into a page.
How to Redesign Existing Infoboxes
NOTICE: Be very careful when redesigning existing infoboxes. All of the articles that are using that infobox will NOT automatically update themselves. If you remove a bunch of options or completely change the infobox's layout, all of the pages that use the infobox will appear broken until you update them yourself.
1. Find the infobox you want to edit. Each infobox has its own dedicated page on the wiki. In this example, I will use Tarkin's infobox for elections which is located here: https://wiki.thecorphub.xyz/index.php/Template:WiltElection
Notice the word Template:
in the URL, just before the actual name of the infobox. Infobox pages will always have the word Template:
, so if you can't find Template:
, then you're looking in the wrong place.
2. Click on "edit source."
3. You're going to see this text box with all of this code here. Select everything in the box, and then copy it to your clipboard.
4. Now, in a new tab, open the infobox builder.
5. Make your infobox's name identical to that of the infobox you're editing. In my case it's "WiltElection."
6. Now click "Import Infobox".
7. Click in the text box which pops up and paste the code that you just copied in step 3.
8. Click "Import" in the bottom right.
9. Now you will see that the infobox has appeared, and you can edit it as you like. However to save your changes to the wiki, you will need to continue on with these steps.
10. Once you are done making your changes, click "Create Infobox."
11. Click the "Copy" button on the window that pops up.
12. Go back to the original page for the infobox you wanted to edit. In this example, I need to go back to https://wiki.thecorphub.xyz/index.php/Template:WiltElection. Remember, look for the part of the URL that says Template:
!
13. Select all of the text once again, and this time press Backspace
to delete everything. This should make the text box blank.
14. Click inside the text box and paste all of that code that you just copied from step 11.
15. Now click the button that says "save changes."
16. You're done- the infobox should be successfully changed.