![]() |
|
#14
|
|||
|
|||
|
Quote:
This is one of the templates on the Half-Life Wiki over at Wikia. It's a 'weapon infobox' and its purpose is to fit certain statistics about the game's weapons into a neat box aligned to the right side of each weapon page. This is the infobox's template page, with information on how it's to be used, and an example of an empty one on the right side. All of the coding is on this page as well, but it's behind the scenes and can only be seen if you edit the page. To place the infobox on any page, you just link to it using the syntax shown in the center. Each = sign signifies a field that you can fill in with information that will then appear in the infobox. ![]() So place this text in an article... ![]() And you get this. ![]() Since all of the coding is stored in the template, not on each page, if you want to change the template in some way you just edit it, and those changes will instantly take effect on every page that links to its code. Makes it a lot easier to make sitewide changes. So back to IMFDB, once we decide on a standard table design, if we can figure out how to code that into a template and then link to said template from every article, it would not only be standardized but a lot more user friendly and easy to edit. The only problem is, while I know how they work, I'm no good at coding templates, so we may need to get assistance with this from somewhere. Wikia's help forum might be a good place to start. Quote:
I agree that standardizing the boxes is most important, and I see no compelling reason to use the distinct sections mentioned above for video game sections. Notes will do the same job. Last edited by MattyDienhoff; 07-08-2009 at 09:45 AM. |
|
|