User:DankJae/Userboxes/Wales County/doc

Usage

edit

If this template is used without any parameters in the format, {{User:DankJae/Userboxes/Wales County}}, the userbox displays as displayed above.

If the parameter |county= is set to one of the following values, then it will display as follows:

For example, if using |county = Pembrokeshire as:

{{User:DankJae/Userboxes/Wales County|county = Pembrokeshire}}

would display as the following:
PEMThis user is connected to
Pembrokeshire.

If the parameter |type= is set to one of the following values, then it will display as follows:

For example, if using |type= reside as:

{{User:DankJae/Userboxes/Wales County|type = reside}}

would display as the following:
 This user resides in
Wales.

If both parameters |county= and |type= are set to one of the following values, then it will display as follows:

For example, if using |county = Conwy County Borough and |type= live as:

{{User:DankJae/Userboxes/Wales County|county = Conwy County Borough |type = live}}

would display as the following:
CCBThis user lives in
Conwy County Borough.

If either |county= or |type= is not used, then those parameters are ignored.

List of parameters

edit

Using |county =, the following can be used:

county parameters
  • Blaenau Gwent
  • Bridgend
  • Bridgend County Borough
  • Caerphilly
  • Caerphilly County Borough
  • Cardiff
  • Carmarthenshire
  • Ceredigion
  • Conwy
  • Conwy County Borough
  • Denbighshire
  • Flintshire
  • Gwynedd
  • Anglesey
  • Isle of Anglesey
  • Ynys Mon (outputs Ynys Môn (Anglesey))
  • Merthyr Tydfil
  • Merthyr Tydfil County Borough
  • Monmouthshire
  • Neath Port Talbot
  • Newport
  • Pembrokeshire
  • Powys
  • Rhondda Cynon Taf
  • Rhondda Cynon Taff
  • Swansea
  • Torfaen
  • Vale of Glamorgan
  • Wrexham
  • Wrexham County Borough

These would generate a wikilink of the same text instead of Wales, and have a three-letter code instead of the map. The codes are a mix of ONS codes and custom, where it seems appropriate. Be free to request changes to the codes.

Using |type =, the following can be used:

type parameters
  • from = is from
  • reside = resides in
  • live = lives in
  • like = likes
  • love = loves
  • visit = has visited
  • invite = invites you to
  • interest = is interested in

otherwise is connected to