Community Portal/Questions on (advanced?) wiki syntax

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Questions on (advanced?) wiki syntax[edit | edit source]

I have a couple of questions on wiki syntax, if anyone knows the answers:

I would like to work on the OBSE v14 functions as soon as the Beta comes out. If I do so I'll need to mark them as beta, and once the beta is over I will have to mass edit and remove the Beta tag. I would also like to be able to put them into a v14 Beta category and then move them to a v14 category. Does anyone know an easy way to do that?

Some of the formulas on Category:Potion Strength are incredibly long, but I'm not sure how to condense them, especially because some require powers of fractions. If at all possible, I would prefer to place the fraction on two separate lines with a paranthesis big enough to cover both lines, and maybe even superscript the power. However, I don't know if that is even possible. Any suggestions?--Haama 21:02, 6 January 2008 (EST)

For the beta thing, you might try a template? I dunno, you could create a template {{OBSE v0014}} and at first have it warn that it's a beta, and then later blank it or give a simple mention that it was first added in v0014 (or use it to add the category tag).
As for the math stuffs, see here.
Dragoon Wraith TALK 13:34, 16 January 2008 (EST)
Thanks DW. I've already started adding the v14 functions with a beta tag (I'll just have to remember to take them all off with the final release). That formula page looks great - starting to comb through it!--Haama 17:36, 16 January 2008 (EST)
I tried out some of the stuff from that page. I don't think the MediaWiki or TeX that the page talks about are available here.--Haama 17:54, 16 January 2008 (EST)
I'll e-mail Gstaff, but in the meantime (or if nothing can be done), since the TeX stuff on Wikipedia creates an image, you could always create the formula on Wikipedia (in a preview page), save the image, and upload it here - which is similar to what I did for the Trigonometry page (I didn't bother to create the formula since Wikipedia already had one, but I did grab theirs and upload it here). This has the advantage of giving you the ability to remove the white background from the image if you would like - not a bad idea considering the background here. It is, of course, more work and more time-consuming.
Dragoon Wraith TALK 15:04, 20 January 2008 (EST)
For the record, I just talked to Gstaff and apparently he never got or accidentally deleted the e-mail without seeing it. I've resent the e-mail to him.
Dragoon Wraith TALK 19:14, 19 February 2008 (EST)

The Wiki Sys-Admin (TS7? not sure) said he'll add the LaTeX stuff next week, and he'll look into the Parser stuff when he does that.
Dragoon Wraith TALK 16:53, 21 February 2008 (EST)

Good news indeed. I'll PM Niaht and tell 'em.--Haama 18:02, 21 February 2008 (EST)
Erm, any update? I noticed the Toolkit (sweet!), but haven't heard about anything else.--Haama 12:01, 7 March 2008 (EST)
Parser extension should be added, TS7 says we should test it to make sure it works. The LaTeX stuff is giving him trouble, but he's still working on it.
Dragoon Wraith TALK 16:36, 27 March 2008 (EDT)
I had contacted Niaht earlier (Feb) and never heard back. Otherwise, I'm not too sure what to do with the functions - I tried looking at [1] but that doesn't give a good starting place for ?web?wiki? design. Are these for templates only? I wanted to be able to create one page/template for all of the functions that need to worry about message spam, lag, etc. while still having relevant text for each (i.e., using the function EquipItem instead of AddItem), but I'm not sure how. There's a "page exists" function, but... no seriously, what's the point of a page exists function? When is it necessary to know what's on another page, let alone that another page exists? Confused...--Haama 19:19, 27 March 2008 (EDT)
{{PAGENAME}} should be able to do what you want. Write the message and replace the function with {{PAGENAME}}, that should change to the page it's displayed on. This is what you can use to change larger pieces of text: {{#ifeq: {{PAGENAME}} | Community Portal | This is the Community Portal page. | This is another page. }}. But for the function name {{PAGENAME}} alone should be sufficient.
--Qazaaq 20:19, 27 March 2008 (EDT)
You shouldn't see this.
--Qazaaq 20:23, 27 March 2008 (EDT)

Thanks Qazaaq - I'll try it out in a bit.--Haama 21:02, 28 March 2008 (EDT)

Works! - I've updated the Update template to say Article for articles and Category for categories.--Haama 01:02, 3 April 2008 (EDT)