Template talk:Location

This template replaces all of the following templates:

Template:Forgotten Realms Settlement Template:Forgotten Realms Country Template:Infobox Country Template:Infobox Forgotten Realms Countries

Which can now be deleted, now let's just pray we don't get anymore such templates ported over :) Zerak-Tul 06:15, 18 December 2006 (UTC)

Template name
Since this template can be used for realms, regions, cities, villages and many other things, I would suggest that it is renamed to simply Template:Location. Fw190a8 07:58, 18 December 2006 (UTC)
 * Ach du lieber! Zerak-Tul 13:44, 18 December 2006 (UTC)

Addition
I dont know how to exactly add it but I saw this on another template and I think it would be useful to add to all the other in-universe templates. Any help here would be appreciated. Johnnyriot999 18:42, 12 June 2007 (UTC)
 * source   =
 * page     =
 * I tried to give it a whirl, but my abilities with wiki code are limmited, so it was somewhat of a hack-job, that I didn't bother to save (could not get the bottom bit of the template to match with the Creature template (which I would like, for the sake of consistent design). Will have to let someone a bit more savvy like Focke to do this :P Zerak talk 19:18, 12 June 2007 (UTC)
 * I updated the deprecated code and added the source and page options. You can see the results in Cormyr entry.--Ebakunin 06:11, 13 June 2007 (UTC)
 * Cheers mate! :) Zerak talk 16:36, 13 June 2007 (UTC)

Request for adding a 'currency' item
I'd like to add "currency =" to this template. I have created a Template:Currency table template than can be used to tabulate the exchange rates between different coinage and currencies. What do you think, sirs? Moviesign 17:17, July 2, 2011 (UTC)


 * What would the parameter be used for? Something like a Sembian fivestar is equal to one gold? If so, something that mimics the class table template would be useful. Let me know! Cronje (talk &sdot; contribs) 21:26, July 2, 2011 (UTC)


 * I went ahead and added a "currency =" parameter to the Template:Location template so you could see what my Template:Currency table looks like in situ. I'm open to suggestions for improvements.  Since the 4th edition currency table that you showed me has numbers up to 1,000,000, I'd like to be able to format the numbers with commas but I'm not sure how to parse the input strings, e.g., "1000gp" and get "1,000gp".  Looking into formatnum extension at the moment. Moviesign 21:53, July 2, 2011 (UTC)


 * It looks good, though it does throw the template layout a bit (or at least the border does). Consider maybe removing the border Cronje (talk &sdot; contribs) 22:35, July 2, 2011 (UTC)


 * What do you think of just a left border? (see Template:Location)  Having the equal signs hanging out in the middle of nothing makes it look (to me) like something is missing but a vertical line on the left makes it obvious that it's a table of things that belong together.  If you hate it, I'll remove it, but I kinda like it :)  Moviesign 00:07, July 3, 2011 (UTC)


 * I'm afraid that doesn't help at all. Ideally, I'd love to see something like a two-column table, with the first column being the area's coinage and the second being their equivalent in "standard" (platinum, gold, silver, etc.) currency. Sort of like this, using Sembia's currency (Forgotten Realms Campaign Guide, page 45) as an example:


 * Hmm, there are a couple of problems with that layout. One, you don't know how many silver make a gold, and so on.  Two, how do we handle the case where there is no particular local name for a coin?  I like my simple table layout for use in the larger Location table--it is supposed to be a summary after all.  But I'm creating a Coins and Currency in the Realms page that could be used for a more elaborate table like you want.  I was planning on having sections for each edition of FR but we could also gather information on regional coinage like the Sembian Steelpence or the Waterdhavian Toal.  No reason we can't create another template for use in the body of an article that has room for the full names and conversions.  Back to you :) Moviesign 01:09, July 3, 2011 (UTC)

Add demonym parameter?
Can we (i.e., someone else with authority and skillz) add a demonym parameter to this template? It appears on Template:State (see Waterdeep) but not Template:Location, when it would in fact be very elegant and useful for other types of locations, such as cities. --Coswig (talk) 02:04, March 23, 2014 (UTC)


 * Excellent idea. It should be fairly easy. Give me a few minutes... &mdash;Moviesign (talk) 02:45, March 23, 2014 (UTC)


 * Awesome, thanks! It's lovely :) --Coswig (talk) 22:40, March 23, 2014 (UTC)

Add references to headings?
Does anyone care if I add references to the headings in this template? The headings are "Geographical information", "Societal information", and "Political information". Each of these would get a new parameter (probably georefs, socrefs, and polrefs) and would allow the citations to be moved into the headings like many of our other templates do (Person, Deity, and Spell for example). I hate trying to put a citation on an alignment grid >-( &mdash;Moviesign (talk) 02:21, April 28, 2014 (UTC)

Error Generating Category Intersections
The Category Intersection links aren't working for me. If I go to any page with this template and click on the link "Settlements in the Foo", "Roads in the Foo", or "Mountains in the Foo", I get taken to a page for "Pages in Bar in theFoo AND BAR" with no space between "the" and "Foo", so obviously, it never finds any such pages. I have no idea why it's not working. ~ Lhynard (talk) 06:47, October 8, 2015 (UTC)


 * I'll look into it this morning &mdash;Moviesign (talk) 15:21, October 8, 2015 (UTC)
 * I've spot-checked a few places and they all work for me. Give me a specific page that doesn't work for you. &mdash;Moviesign (talk) 15:21, October 8, 2015 (UTC)
 * Never mind, I found a broken one. &mdash;Moviesign (talk) 16:58, October 8, 2015 (UTC)
 * My fix seems to have worked. Did it just break today, or do you think it was broken since the new infobox was put in? &mdash;Moviesign (talk) 17:08, October 8, 2015 (UTC)


 * Yes, that seems to have done it. I'm not sure when the break happened. I don't think I ever tried to use those links since you made the switch to the new infoboxes. They definitely worked before the switch. Thanks! ~ Lhynard (talk) 20:03, October 8, 2015 (UTC)

Army/Military Section
First of all, I'd like to clarify that this template is to be used for all types of locations, including cities, towns, geographical areas, countries, etc?

Second, I'd like to propose we add an army/military section which could go after Politics before the History section. Some cities have an Offence section (e.g. Iriaebor, Luskan has a Militia section, and Procampur has an Army & Navy section, but I feel the name of this section should be standardised. – User:Mallmus


 * Yes, it is, though there are currently sub-templates like Road and Mountain, and unnecessary entries can be removed. Note that Building is used specifically for buildings.


 * We haven't considered the suggested section headings to be a standard every page should use, more a list of common headings. I don't mind some variation, especially when articles have different kinds of content in these sections. Some places have militia, some have standing armies, and so on.


 * BTW, don't forgot to add the sig to your posts. — BadCatMan (talk) 07:10, April 1, 2016 (UTC)


 * I agree with BatCat that they are suggestions, not standards. Still, I don't think it would hurt to specifically add "Military" as one of the suggested headings. Thanks for the feedback! ~ Lhynard (talk) 11:20, April 1, 2016 (UTC)

Ruler Type
Is there any reason that we are unlinking the  when generating the labels for the rulers in the History section? This causes some wrong behavior. For example, see Teshburl. ~ Lhynard (talk) 01:00, March 27, 2017 (UTC)


 * The reason is that it is already linked in the infobox, so I didn't want to overlink it. Clearly there is something amiss with the unlinking code that I shall look into. &mdash;Moviesign (talk) 12:55, March 27, 2017 (UTC)


 * I think the issue is that Unlink works as it was supposed to, but there is no version of it that takes the displayed link instead of the root link. ~ Lhynard (talk) 13:00, March 27, 2017 (UTC)
 * Yes, I just came to the same conclusion. We can either let the link stand as is, or I can make an function to return the alt-text instead of the link.&mdash;Moviesign (talk) 13:09, March 27, 2017 (UTC)
 * I removed the unlink from this template. Let me know if anything else breaks. &mdash;Moviesign (talk) 13:23, March 27, 2017 (UTC)


 * Thanks!
 * That being said, I must also say that I do like the idea of having Altlink; I would definitely make use of that&hellip;.
 * ~ Lhynard (talk) 15:07, March 27, 2017 (UTC)