User:Kallnohae/Templates

This page contains notes about my effort to learn template editing.

Help desk question

 * WP:HD (permanent link) (archive link: Help_desk/Archives/2008 October 20)

Useful links

 * WP:EIW - Editor's index entry about templates
 * Help:Magic words - tricky things we use in templates
 * m:Help:Parserfunctions - more trickly template things

Objective
''The template I intend to perfect will be used across multiple pages on Guild Wars Wiki, which is the official Wiki site for the MMORPG titled Guild Wars. The template will be used to display data on the rates of item drops which will be collected by players. Upon entering the data into the template parameters, I hope for the template to be able to add all of the findings into a summed total, and from there be able to populate a second row which will calculate the percentage thereon based upon the findings of the players.''

While I understand that this is not related to Wikipedia, and I do apologize for that, it is mostly because I am thus far intimidated by the grandioseness that is Wikipedia and am attempting to get a firm understanding of the uses / do's and don't's of wiki content.

Search for existing templates that are similar to what I want
The following search uses the Google custom template to search the Template: namespace for the keywords: expr sum. Maybe this will find some templates that use the


 * That finds a Sum template, but someone already declared that template obsolete.
 * That finds more templates that do arithmetic, such as Counter.
 * That finds more templates that do arithmetic, such as Counter.
 * That finds more templates that do arithmetic, such as Counter.

Initial test template
Make a test template in User:Kallnohae/Sandbox2 that sums two named input parameters. Transclude it into User:Kallnohae/Sandbox.

Follow-up test #1
Insert a test of the template which will not include the percentage calculations into Sandbox. Transclude it into Sandbox2, using parameters.