More actions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
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). | 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). | ||
[[File:Step5.PNG| | [[File:Step5.PNG|frameless|634x634px]] | ||
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. | 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. |
Revision as of 23:53, 12 August 2023
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 go to the infobox builder.
WIP