User blog:2Actimv/Part 6. Contributing to a Wiki: Making Infoboxes (Templates)

Making Infoboxes is hard. It's much coding and not everybody know how to do it. Below you can find some codes.

Make a standard Infobox
Below you can see the code you have to paste in a template page. In this infobox you have to copy/paste also always the questions.

After pasting this in a template page you have to add the following code in the page with the same name with behind the letters "/doc".

Description

 * This template produces a infobox-style template.
 * You may want to copy and modify this to create a specific infobox (e.g. character infobox).
 * This template requires parser functions to be enabled (Wikia default: on).

Sample output
Complete Infobox:



Infobox Image omitted :



Infobox Image omitted and displaying only 3 rows of information:



Infobox Image and title row 4 omited:

Result: Row 4, 5, and 6 will not be displayed.

One thing you have to do after pasting is change something in the code. Under the title subject stands , please replace the second one from there to   ! Now you can use these codes on every page on your wiki.

Making a customized Infobox
Below you can find the code of the customized infobox. You have to change the title texts, others he's not customized. You add also this template in an other template page.

Copy/Paste the following code in the template page with the same name with behind the extra letters "/doc".

Usage
Use  for the viewing of the code on the page you'll create with this code.

Now you can use this code on every page on your wiki.

If you've got problems with it, please let me now in a comment, I'll help you with it!

If you have questions about infoboxes please go to my message wall to ask me about it. You can also ask another admin on the wiki, go to the forums or ask in the chat.