Elanthipedia:Town Green (technical)

From elanthipedia
Jump to: navigation, search

Bug? Table cell data not shown, but is available for calculation

{| |{{Manipulation | Manipulated = yes | InitCost = 6 | InitCost2 = 9 | InitCost3 = 12 | InitCost4 = 15 | InitCost5 = 18 | }} |
{{#if: {{{InitCost2|}}} | 
! Tier 2
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost2}}} {{!}} {{!}} N/A {{!}} {{{InitCost2}}} }} {{!}} yes={{#ifeq: {{{InitCost2}}}  {{!}} {{!}} N/A {{!}} {{{InitCost2}}} }} {{!}} N/A }}
{{!}}- bgcolor="#FFFFFF"
{{!}} Maint Cost
{{!}} {{#ifeq: {{{InitCost2}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost2}}}/3-0.5round0)}} | no=N/A | N/A}} }}


Sorry about the code block, but I'm not seeing why this should be happening. Everything else is working properly, and aside from replacing the real pipes with the template versions nothing's changed from any of the affected lines. --Symphaena 16:18, 21 June 2007 (CDT)

Hmm I don't know. Going to let someone more skilled in advanced templates field this question. Sorry! Oh and remember to sign your posts!--Naeya (talk) 12:00, 21 June 2007 (CDT)
Hmm, I don't have the time to play with that, but perhaps try to do the {{!}} stuff only for when it is not meant to be used as part of the "currently parsing" template. Such as in cases when you need to pass the | to the real wiki parser (such as for the table). --Callek 00:49, 22 June 2007 (CDT)
Alternatively you could map out exactly how your stuff is expanding, and where, and be sure you haven't made a nesting-level typo somewhere. --Callek 00:49, 22 June 2007 (CDT)

Yay! Problem solved. Turns out that only the table required the special template. The nested parser functions used to dictate the inclusion and content needed the real thing as they were contained in a parsing parser function. Such annoying details (also, edited down the code to show only the relevent details). --Symphaena 22:18, 23 June 2007 (CDT)

Glad you solved it!--Naeya (talk) 22:56, 23 June 2007 (CDT)
Glad I could help track down the issue, syntax issues can be a "pain" but we shall live with them overall ;-) --Callek 11:12, 24 June 2007 (CDT)

Something very funky was going on with how this section was being formatted, and the best way to prevent it was by brute-forcing a nowiki on the call to {{Manipulation}}. --Farman 00:04, 7 February 2008 (CST)

Something similar appears to be happening with respect to the Construction cell on Shield:Jousting_shield(2) --Tremulous 19:47, 17 April 2010 (UTC)
Was a typo in the template. Fixed. -Moderator Caraamon Makdasi(talk) 20:26, 17 April 2010 (UTC)

Adding Articles to Categories

I'm sure it is extremely obvious somewhere, but I don't see how to add articles to a category. Specifically I am trying to add the article "Kraelyst" to the category "Player Characters."

--Kraelyst 08:51, 16 October 2007 (CDT)

Nevermind, I figured it out. You have to add the tag to the article to make it show up in the category: [[Category:Player Characters]]

--Kraelyst 15:03, 16 October 2007 (CDT)

I'd also like to discover how to add an article to a category, but this isn't about adding a 'Player Character' article. What I'd like to do is add in the recent census data that was posted on the DR Boards. how would I go about creating a page to put that in and decide on an appropriate area to put it?

--Celeiros 04:47, 11 April 2008 (CDT)

Please read the basic editing page on how to add a new article. After that, I'd say probably add it to Category:Geography (might be the best bet).
--Naeya (talk) 09:05, 11 April 2008 (CDT)

Corporeal Critters

On the Atik'et page I inserted the Critter-At-A-Glance template. Everything looked fine until I put in "Yes" for corporeal, then it started sticking some unformatted category reference at the top of the page. See directly below.

{{Critter at a Glance | 
      Critter Name    = [Golden-|Red-Gold] Scaled Atik'et|
      Image File      = |
      Skinnable       = No|
      Has Coins       = Yes|
      Has Gems        = Yes| 
      Has Boxes       = Yes|
      Evil            = |
      Corporeal       = Yes|
      BackStabbable   = Yes|
      Casts Spells    = Yes|
      Attack Range    = Melee| 
      Stealthy        = No|
      Special         = No|
      MapList         = [[RanikMap14a|Gate of Souls, Map 14a]]|

--Kraelyst 17:03, 17 October 2007 (CDT)

OK after scanning the template code for a bit, I figured it out. You need to define both the Evil and the Corporeal fields at the same time, or neither. If you only define one of them then the code breaks.
It's a pretty weird system being used in the critter template to set all those variables; I think it would be a lot more efficient and easier to debug if it used #ifeq or #switch. --Farman 15:16, 20 October 2007 (CDT)
I have <pre>'d the example template data here, since it put this article into the critter categories. --Farman 15:18, 20 October 2007 (CDT)

Thanks, Farman! I know this next question isn't technical, but can you tell me how a Thief can determine whether a creature is evil or not? --Kraelyst 18:01, 20 October 2007 (CDT)

Ask a cleric? ;)
It seems the intent of the categories is to have corporeal be a sub-quality of evil, so I think the way to handle this is to rewrite the template so it won't evaluate the corporeal field if the evil field is undefined. I'll see if I can squeeze that in in the next few days. The template has a few other problems besides, methinks. --Farman 13:51, 21 October 2007 (CDT)

Poison not showing up in Bestiary

I have noticed that the Poison category in the Critter-At-A-Glance template is not appearing in the information box, nor is it putting that creature into a poison or non-poison category. --Kraelyst 16:13, 30 October 2007 (CDT)

Check out the discussion page: Template talk:Critter at a Glance#Disease. Seems that field has been made dormant for now. I'll add that to my list when I take a look at the template this weekend for updating. Let's continue this thread on that talk page if you wish. --Farman 22:14, 31 October 2007 (CDT)

Adding text to the Image Upload page

Can someone add the following helpful instructions to the Image Upload page? Every time I need to upload an image I have to search through the help section to find out what I'm supposed to put in the "Summary" box.

For official Simutronics images please put {{Simu Image}} in the image summary box.
For Ranik Maps please put {{Ranik Map}} in the image summary box.
--Kraelyst 22:18, 7 December 2007 (CST)

Sure will :) Gimme a few.--Naeya (talk) 22:24, 7 December 2007 (CST)

Ok how does the upload page look now? --Naeya (talk) 22:59, 7 December 2007 (CST)

It looks fantastic! Thanks so much, Naeya! --Kraelyst 23:15, 7 December 2007 (CST)

Extra Tool Bar Buttons

Just letting folks know I've added some extra toolbar buttons for common used code. If you don't see the extra buttons (21 in total including old), you might need to clear your browser's cache (Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror:: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences.).--Naeya (talk) 17:50, 11 December 2007 (CST)

Very nice additions, thanks Naeya --Farman 20:37, 12 December 2007 (CST)

Multiple File upload

I've added the capability to upload up to 5 files/images at once. You can access this page via the Upload File page or here Special:MultipleUpload. let me know if anyone has problems with it. --Naeya (talk) 23:38, 11 December 2007 (CST)

Thank you! Very useful upgrades. --Aetherie 00:05, 12 December 2007 (CST)

Well, I had to disable this extension for now, it seems to be bugged and will not allow uploads... so until further notices, we'll have to stick with the single upload form. I'll be looking into fixing the muliupload extension when I have time.--Naeya (talk) 12:16, 12 December 2007 (CST)

Addding articles to subcategories

I am trying to figure out how to add the Spell articles to the spellbook subcategories so the (+) plus sign drop downs work. Searched and search can anyone lend a hand? --Deke 08:20, 25 January 2008 (CST)

That's the Category Tree extension and unfortunately it doesn't work how you think it does. the (+) only shows subcategories of the subcategories. Since most of the spellbooks do not have subspellbooks, nothing will show up in their trees. IE - Articles don't show up there. You'll have to actually visit the subcategory to see the articles. Sorry :( --Naeya (talk) 09:21, 25 January 2008 (CST)

Using the Undo feature

If I undo something, does it revert just that one particular edit or does it also revert everything that comes after it

scratch that, found out it only removes the specific edit.--Symphaena 19:14, 3 April 2008 (CDT)

Unused Templates

I just added three more (ClimbTable, ClimbItem, and SwimItem), and a quick look at the Unused Templates page shows they're starting to pile up. Also a quick question regarding these as we make them happen: Should we be tagging these so that someone with delete power will notice them?--Symphaena 22:54, 19 April 2008 (CDT)

Yeah, if something needs to be deleted, put the delete template at the top and a sysop will come along and delete. Thanks.--Naeya (talk) 22:58, 19 April 2008 (CDT)
A bunch of the templates listed as unused as of this writing are valid and useful marker templates that just happen to currently not be included in any articles. That happens from time to time. Some of the others are obsolete older or archived versions of newer templates, but I think those should stay as well, unless there's a compelling reason to delete them. --Farman 23:35, 19 April 2008 (CDT)

Server Move

Since the site was taken over from Rawb and turned into Elanthipedia, it has been graciously hosted for free by Trel. Many of you have been with us since the beginning as the site has been passed between owners, yet Trel's hosting was always a constant. A couple days ago, due to some resourcing problems on the server Elanthipedia was on, the site had to be taken down. We're very grateful for everything Trel did for Elanthipedia, but I made an executive decision in deciding to move Elanthipedia to her own host.

She's now hosted all by her lonesome, with excellent bandwidth, web space, and database capabilities so any resourcing problems should be nil. The new host also allows for direct server access via ssh (secure shell) so I will be able to run necessary maintenance scripts with little or no problem.

I'm very happy with the results of the move, though it was frustrating for our users I'm sure since the site was down for a few days. I apologize for any inconvenience that was caused by this process, but I hope you will join me in my excitement that Elanthipedia is back up and hopefully in better shape than ever.

One small change is I will be adding a "Donations" link somewhere on the site. Please know that donations are not required or inherently necessary as I was prepared for the server costs. Otherwise I wouldn't have done it. However, any amount of donations will help offset this cost for me and my family. Note: Any donations will be used for maintenance and hosting costs only!

I'll be happy to answer any questions you all have regarding this. You can post here or mail me at wiki AT elanthipedia.com.

Sincerely, Elanthipedia Owner --Naeya (talk) 09:22, 17 June 2008 (CDT)

Extension Upgrades

I'm upgrading a few of the extensions on the site, so if you get some kind of error, just wait a few minutes and retry the page. I've already upgraded Semantic MediaWiki and Semantic Forms.--Naeya (talk) 18:36, 19 June 2008 (CDT)

Spell infobox complete, but still flagged incomplete

I've been looking at some Moon Mage spells recently and a bunch of them have been automarked incomplete because of the infobox, but they template is completely filled out for it. Starlight Sphere and TKT are two examples. I was able to get the Shadow Servant page to fix, but not sure why the others aren't changing when the template gets completely filled out.

--Choson 01:40, 22 February 2009 (UTC)

Because of the way the incomplete tagging works, it may take a few minutes between finishing the information and it showing up as complete. -Moderator Caraamon Strugr-Makdasi(talk) 04:40, 22 February 2009 (UTC)
Thanks, that was the case for a bunch of the spells. I'm still having trouble with Aura Sight not clearing and I can't figure out why.--Choson 08:10, 28 February 2009 (UTC)
It's cleared since you posted this. --Callek 05:00, 1 March 2009 (UTC)
Seems Caraamon went in and moved some things around. Caraamon, was it the notes after the info box or just that the 'tier' was in an odd spot?--Choson 06:25, 1 March 2009 (UTC)
Neither. It was the fact that it was resaved. -Moderator Caraamon Strugr-Makdasi(talk) 20:49, 1 March 2009 (UTC)

Apostrophes in Search Queries

When trying to search for something that includes an apostrophe in the query you get a 403 Forbidden message when trying to go to the next page of the search. I've modified my search preferences to display 500 returns per search, which bypasses the issue, but if it's possible to change it might be nice to do so for the average search. Message is:

You don't have permission to access /w/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/ Server at www.elanthipedia.com Port 80

--thilan 18:44, 24 February 2009 (UTC)

DR Calendar

Would it be possible to add the DR Calendar to the Elanthipedia front page? Hithrael 16:21, 27 March 2009 (UTC)

There might be a way, but why? -Moderator Caraamon Strugr-Makdasi(talk) 22:51, 27 March 2009 (UTC)
Saves having to go to the DR page to see the calendar. Hithrael 07:29, 28 March 2009 (UTC)
If we did, it would likely be a fairly annoying hassle and with our luck could break something. I'm afraid with everything else that we have to do, it's not going to be high on our list of priorities. -Moderator Caraamon Strugr-Makdasi(talk) 23:01, 28 March 2009 (UTC)

Title page problems

I don't know much about how templates work, but can the problem with the titles no longer showing correctly after being moved to the new namespace be just something that has to change in the template? I ask because it is much harder to look up what titles you can get with the title pages not working right once individual titles are moved. --Choson 07:44, 21 April 2009 (UTC)

Nope. The recent update to the software has broken some of the SemanticWiki functions in very odd ways. I'm currently in communication with the tech help, but I don't know how long it's going to be. -Moderator Caraamon Strugr-Makdasi(talk) 17:56, 22 April 2009 (UTC)

Image problems

I keep getting this error

Error creating thumbnail: Invalid thumbnail parameters

When trying to work with this page:


Any ideas how to fix that?--Hanryu 14:13, 31 December 2009 (UTC)

Edit with Form Suggestion & Clarification

This makes adding the red link items so easy, huzzah! One thing though, on the Add Item Form:Basic Properties drop downs, can we get a 'toys' or similar type, for things like dolls, eel skins, marionettes, etc.
Also, on the 'house' type, clearly things from the home shops (walls, chairs, etc.) go in that, but where do things like paintings, aquariums and quilts go? I feel like they are house items too, but wanted to make sure before I tagged anything wrong. Thanks! --Kythryn 06:52, 8 March 2010 (UTC)

If it looks like something designed to be furniture or decorations for a house, put housing. And I'll get the toy option up. -Moderator Caraamon Makdasi(talk) 07:11, 8 March 2010 (UTC)
One thing I've noticed might be worth adding as well. On things that are containers but are not worn (like jewelry boxes), the form puts in the 'unknown slot' line. On the Add Item Form:Basic Properties drop down for worn location, maybe put in a 'held' or 'not worn'. Not sure how to phrase it so it reads right. --Kythryn 08:11, 9 March 2010 (UTC)
For those, in the worn slot area, put "-" and it will fix itself. -Moderator Caraamon Makdasi(talk) 21:49, 9 March 2010 (UTC)