Template:Usercat-1

From Wikipedia, the free encyclopedia


[edit] Template code

This page is replacing [[Wikipedia:Wikipedians/{{{2}}}|Wikipedians/{{{2}}}]]. See User categorisation for more information.

Classification: Wikipedians: By location: [[:Category:{{{3}}}|{{{4}}}]]: {{{1}}}

Wikipedians who live in [[{{{1}}}]].

To add yourself to this list, insert the following on your user page:

[[Category:Usercat-1|{{subst:PAGENAME}}]]

[[Category:{{{3}}}|{{{4}}}]]

[edit] Parameters

  1. State/Province/Region
  2. Subpage of Wikipedia:Wikipedians this category replaces
  3. Parent category link (e.g., "Wikipedians in <parent country>")
  4. Name of the parent country (this will be used as the sort key within the parent category)
  5. Optional Wikitext appended after the link to The State/Province/Region, so you can add regional noticeboard links, etc. It defaults to a period.

[edit] Example

To create a category for wikipedians in Massachusetts in the United States:

{{Template:Usercat-1|Massachusetts|Massachusetts|Wikipedians in the United States|United States}}

Note that in the below example output, the "To add yourself to this list..." segment is incorrect because it uses the {{PAGENAME}} variable. When you place this on the category page, it will work correctly.

This page is replacing Wikipedians/Massachusetts. See User categorisation for more information.

Classification: Wikipedians: By location: United States: Massachusetts

Wikipedians who live in Massachusetts.

To add yourself to this list, insert the following on your user page:

[[Category:Usercat-1|{{subst:PAGENAME}}]]