User:Will Pittenger/templates/Where I Have Been Tool Available
(Redirected from User:Will Pittenger/WhereIHaveBeen)
I see you have a list of nations and/or states/provinces on your user page. I would like to offer you some templates for this task I created for my own list. One pair of templates will create entries identical to the one I use. (I suggest you copy my legend if you use them.) Other templates will provide just a flag or name (nation or province/state).
- Highlights
- All use a simple code.
- Nations are identified with a two letter top-level Internet domain code (except for the United States of America, which uses "USA").
- States and provinces are identified with postal codes (so far anyway).
- Nation and state/province names are linked.
- The low level templates return flag images with just the filename allowing you to control the image size and caption.
- All flag images located so far are SVG.
- If any flag images or names on your page officially change, your user page will get the update as soon as I know about it.
- One drawback
- Currently the province templates can only look up data for the United States of America and Canada. However, additional capability can be readily added. All I need to do is create a starter template and let you add the provinces.
Enter this | Purpose | Sample output | Subst this template? |
---|---|---|---|
Creates an entry in the list of places where I have been. Rather than call this template, most will call a template listed below. They will call Flag Entry as needed for you. | No | ||
Creates an entry in the list of places where I have been | *‡§ — United States of America (I visited other nations, but have yet to live in any)
| No | |
Creates an entry in the list of places where I have been. Important: See the notes for GetProvinceName and GetProvinceFlag. | No |
section below]]