A quick question regarding the Wiki
Moderator: Moderators
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
A quick question regarding the Wiki
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?
Is there a Word->Wiki parser that I can download?
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
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
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.
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.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
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.
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.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
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?
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?
[[http://website.com/image.jpg|frame|left|caption]]
[[Image:http://website.com/image.jpg|frame|left|caption]]
[http://website.com/image.jpg|frame|left|caption]
[Image:http://website.com/image.jpg|frame|left|caption]
Or some combination of the things posted. Just dump them all into a page and hit 'Preview', see what works. If none of the above work, just experiment.
[[Image:http://website.com/image.jpg|frame|left|caption]]
[http://website.com/image.jpg|frame|left|caption]
[Image:http://website.com/image.jpg|frame|left|caption]
Or some combination of the things posted. Just dump them all into a page and hit 'Preview', see what works. If none of the above work, just experiment.
You're not allowed to be a jerk.
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:
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.
but of course... that looks dumb.
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 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.
|}
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59