Template:TBAtag

From FIRSTwiki

Jump to: navigation, search

teambadge.png


 

Purpose

This template automatically generates a stat tag from The Blue Alliance website for any team who's article contains it. The resulting tag is then updated automatically whenever information on the team changes. Instructions for usage and examples are given below.


Usage

When using this tag, copy the code below into a FRC team page and enter 2 Hexadecimal colors (without the "#") in the fields provided, preferably colors that help identify the team.

{{TBAtag|Hexadecimal Color 1|Hexadecimal Color 2}}


An example would be (if placed in, say, team 1's page) :

{{TBAtag|ffff00|525252}}

Which would result in this:

teambadge.png



Thanks to Czarbender for giving me the idea, weather he knew it or not. :D


Things to be added

  • I would like to get this template to automatically position the image generated at the bottom center of any page, regardless of where the template is placed in the article. If this could be done, then I could add this template to the team template, which would in turn add it to every team page. Unfortunately I don't know how to do this, so if anyone else does, please feel free to help. Cbale2000 10:53, 12 April 2008 (EDT)


Personal tools