Page 1 of 1
A quick question regarding the Wiki
Posted: 30 Jan 2006, 07:30
by Warlord Zsinj
I have a large amount of text (over 50 pages) all formatted in a Word file, which I want to put onto the wiki (It is the SWTA manual, if you are curious). Is there a way for me to get this into the Wiki, and keep all of my formatting? This includes links, images (although the images I can probably redo) and general text layout.
Is there a Word->Wiki parser that I can download?
Posted: 30 Jan 2006, 07:38
by Zoombie
I had that problem too, but the Wiki like format i was using (Live Journal, if you wished to know) worked when i coped the words from Rich Text Format. But it might work differently from the TA spring wiki.
Posted: 30 Jan 2006, 08:54
by Maelstrom
Post it here, and ill see what needs to be done. Usually its just a matter of doing a Find/Replace on certain words. Go File>Save As and choose HTML/Web Page in the drop down box. thatsn the closest to wiki formatting you will get. Ill have an experiment with Word though, see if I can come up with anything
Posted: 30 Jan 2006, 12:06
by Warlord Zsinj
I've sent an email containing the manual to the address listed in your profile.
Posted: 30 Jan 2006, 14:22
by Maelstrom
Ok, ive formatted it, and posted it to the wiki. YOu can find it under
SWTA Manual. If you want it moved somewhere else, just ask and someone will.
What I did to format this from HTML to wiki code:
Cause of the complexity of the HTML, and where some of them were placed, I couldnt do a simple search and replace to make it all wiki code. I could do it on the basics, like <b> into ''', and <i> into '', but it was not possible with the lists and stuff. So, as I had to go through and hand do all the lists, I decided to just go through and change most of the stuff manually. Anyways, Im guessing you didnt write this file in notepad or an HTML editor did you? Some of the tags in there were just weird.
Sorry if something in there isnt formatted quite right, but after going through that once, im not willing to trawl through it again
Also, you still have to upload your images. Ive pointed the images in the page to Image:SWS_Manual_Image1.gif and Image:SWS_Manual_Image2.gif respectivley, but you can easily change these after you upload the images if you want. If you dont know how, upload images via the
Special:Upload page.
Posted: 31 Jan 2006, 01:13
by Warlord Zsinj
Thanks a lot for all your help, Maelstrom, I really appreciate the effort you've put in.
If I want to place an image, and align it to the left of text, how would I do that in wiki code?
What I am seeking to do is place buildpics of units on next to each description (with the text wrapping, not starting on the next line).
And for the record, I just dumped my word file into a word->HTML parser; I wouldn't be surprised if you got a few <billgatesisyouroverlord></billgatesisyouroverlord> tags.
Posted: 31 Jan 2006, 02:18
by SinbadEV
[[Image:filename.png|frame|left|caption]]
example
For no frame use:
[[Image:filename.png|left|caption]]
and the "caption" will become the Alt-Text
Posted: 31 Jan 2006, 03:08
by Warlord Zsinj
Ah, but the problem is that I have all the buildpics uploaded here:
http://www.planetannihilation.com/swta/ ... buildpics/
I don't want to have to upload all of them individually thruogh the Wiki upload page, because that would take hours.
How can I do what you have done there, but using an external image?
Posted: 31 Jan 2006, 04:42
by Maelstrom
You're not allowed to be a jerk.
Posted: 31 Jan 2006, 05:59
by SinbadEV
Too bad none of your ideas work, Yay you for being lazy...
if you ever need to find this kind of stuff, find a page that does what you want in another wiki and copy.
The correct answer is:
Code: Select all
{| style="float: left;"
| http://www.planetannihilation.com/swta/images/buildpics/impcond.jpg
|}
I might recomend that you float it to the right however... looks better that way.
I fixed one for you already... if that's what you want then great...
another optiong would be to just use a table with the build pic at left and the text all to the right of it.
Code: Select all
{|
| http://www.planetannihilation.com/swta/images/buildpics/impcond.jpg
|'''Construction Droid''': a light worker with the ability to build structures the TMB cannot. Vital to any army wishing to progress past ground troops. Construction Droids build slowly and maneuver slowly, so using groups of droids to work on each structure is recommended. You can also use Droids to assist your factories in constructing your units, speeding production without having to construct an additional factory. It is highly advisable to have numerous droids operating on numerous functions. The Construction Droid forms the backbone of your warmachine, and can accomplish many tasks; having just a few may not provide you with enough strategic flexibility.
|}
but of course... that looks dumb.
Posted: 31 Jan 2006, 09:52
by Warlord Zsinj
That works well, with a bit of tinkering.
Thank you very much for your help!