Board Thread:Support Requests - Getting Technical/@comment-22141332-20141003230613/@comment-4189499-20141003233926

The trouble with this is that your code above isn't for creating an infobox, but for calling one for use on another page. That code basically says "I want to take the contents of 'Template:infobox bs chapters' and put it on this page, and I want to fill in these attributes with this information". It doesn't give the information to create the template itself, but rather brings the code for the template which is stored elsewhere to the page you're putting it on.

I've taken the liberty of recreating w:c:blood-slayers:Template:Infobox chapters with the basic template structure, and now I'm going to tell you how to change it to suit your needs.

Go into edit mode and you will see a lot of code on the page. A lot of it won't make any sense to you, and for the most part you can ignore those bits. I want you to focus only on this part of the template: ! colspan="2" | Some attributes

! First

! Second

! Third

! colspan="2" | Other attributes







First, Second, Third, Fourth, Fifth, and Sixth are all place-holder names ready for you to change them to whatever you want, while "Some attributes" and "Other attributes" are also place-holder heading names which you can change at will. But let us start with changing the default attributes.

These are the attributes that above follow this format: ! First The First that is capitalised is the name that will appear beside the attribute once the page is published, and the first which is uncapitalised is the name of the attribute as you place it in the code to put it on a page. You can change these to anything you want, and the same goes for Second/second and Third/third. Let's give an example: ! Chapter Title That specific piece of code there, if it was in Template:Infobox chapters, could be called by douing the following:

Which will look like this: 

Like how the First, Second and Third attributes are currently lined up, you can add more default attributes by copy/pasting that structure and just changing the place-holder names to the names you want, eg: ! colspan="2" | Some attributes

! Chapter Title

! Chapter Number

! Author

! Series Title

After the default attributes are the ones that are only included if they are relevant to the page they're being put on. Let's say that some of your chapters are illustrated and you want to put an illustration attribute in the infobox, but not all chapters are illustrated so you don't want to have the attribute shown on all pages. That's when you alter the attributes that look like this:

As in the previous examples, the capitalised Fourth is the name which will appear beside the attribute, and the lowercase four is the one with which you tell the template what information to use. Ih this case, however, you need to make sure that whatever you put in the first lowercase four's position is exactly the same as you place in the second lowercase four's position, eg:

These are called the same way as the other attributes, but if there is no information given, they just simply won't show up. You can put them anywhere the other kind of attribute can go, in any order or mixture.

The final things are the Some- and Other attributes. Just change those names to whatever you want, leaving the rest of the code in place. You can also take the second one out if you don't need it, or add a third in by copying the code of the first two and pasting it where needed, changing the name as you please.

I think that's everything. Happy infoboxing!