Board Thread:Technical Discussion/@comment-6191693-20130227174711


 * If you create your own template, please share a link to it here. This thread is meant to be an archive of all the user-created templates on the NSVapor wiki.

OK, so, now that the forum is online, I'd like to re-post my little tutorial for creating templates here on NSVapor. Creating an infobox is the same way; all it is is a certain kind of template.

Easy.

Step 1: Go to the Template namespace.

Step 2: Find a template that's vaguely similar to what you want.

Step 3: Click "Edit." Select and copy all the code. DO NOT DELETE OR SAVE ANYTHING!

Step 4: In your address bar, type nsvapor.wikia.com/wiki/template:________ (fill in the blank with what you want your template to be labeled as). This will take you to a blank template page with a heading that is the name you put in the blank -- below the heading, it should read "This page needs content. You can help by adding a sentence or a photo!" If it doesn't, then someone else has already used that same name and you'll have to come up with another one.

Step 5: Click "Create" at the top and paste your coding into the box. Edit it to suit your needs. You can preview it to see how it will look. Click "Publish" when you're finished.

Step 6: Use it on your pages! While in Visual mode, just click "Add other templates" (under the "Templates" heading on the right-hand toolbar). Start typing the name of your new template in the search bar and the AutoComplete feature should find it for you.

Once it's on your page, you can use the little wizard that pops up to help you fill in the blanks, or you can do it the old-fashioned way while in "Source" mode and simply edit the syntax code.  