Jump to content

User:Will Pittenger/templates/Flag Entry

From Wikipedia, the free encyclopedia

Notes

[edit]

This template will add a bullet in front of the entry.

[edit]

This template is actually a hold over from when I created the Places I Have Been section of my user page. I now have two more advanced versions that simplify the call. They will look the correct flag image and Nation or Province name up. All you pass to identify the nation or province is a short code (normally two letters).

You can use this template if you prefer the extra flexiblity. However, I no longer use it directly. Rather I use the templates listed below. They in turn call this template for you.

Parameters

[edit]
Name Purpose Default
{{{I Lived Here}}} Pass a non-blank value if you lived at this location. Causes to be added before the entry. Nothing
{{{I Zipped Right Through}}} Pass a non-blank value if you didn't stop in this location but merely passed through. Causes to be added before the entry. Nothing
{{{I Was Born Here}}} Pass a non-blank value if you were born in this location. Causes § to be added before the entry. Nothing
{{{I passed through without staying overnight}}} Pass a non-blank value if you passed through the location, got out and walked around or whatever, but didn't stay overnight. This would include any airports you switched flights. Causes ɸ to appear before the entry Nothing
{{{image}}} The name of the image to be used for the flag. You can use any image already on Wikipedia or Commmons. Don't include the namespace ("Image:").
{{{image title}}} The name of the state, province, or nation the flag image represents. This will be the caption of the flag and appear next to the flag.
{{{Comments}}} Describe why you went to the location.
{{{Border Width}}} How thick the border around the image should be. Omitting this turns off the border. Be sure to include "px" at the end of your value. "1px"
{{{Border Style}}} The style of the border. Any value accepted by CSS should work. "solid"
{{{Border Color}}} The color of the border. Any color accepted by CSS should work. See Web Colors#X11 color names for a list of known accepted named colors. If those won't work, see Web Colors#Hex triplet. "Gray"