This tutorial will walk you through on how to create plugins using tpl files rather than hard coded variables. The download link is at the bottom to get a running preview. Most of the tutorial is inside of the code. I find it's a lot easier learning to code plugins while looking at the code in notepad or your favorite text editor. However, here are some pictures that explain what this will teach.
About the Plugin
This plugin will simply just list 5 users from your website and show their username and user id.
Pictures
This plugin will walk you through on how to setup the look of the tpl file once you have the plugin all coded.

It will teach you step by step with comments everywhere for each addition of code, and tell you what it's doing and how it works.

This is the folder structure of the plugin. Pretty standard and basic.

This is the final outcome of the plugin. It's very basic :)


