User:Gloverepp/Using Excel for Wiki
Image:Example of html in Wiki format 2.jpg
Please put your suggestions or comments on the Discussion page. thanks, enjoy GloverEpp (talk) 13:58, 22 April 2010 (UTC)
Here's how I use Excel to create wiki pages. The bottom line is that I use html instead of the wiki technique of using
Steps.
- Build whatever you want in Excel. BUT, use
instead of |- in the first column andor instead of || to separate the fields. I think the example will help show this.- Copy your Excel cells into your clipboard.
- Paste them into the input box [http://www.textfixer.com/tools/remove-white-spaces.php here] to remove extra whitespace. Click the Replace Whitespaces button.
- Copy results into Notepad from the above step for further cleansing, if need be. In my case, I had tons of empty
, so I removed them in Notepad. - Copy the results from Notepad into a wiki page. This all sounds like such a cluge, but it works really well.
Sample
=Looks like this as copied out of Excel=
There are tons of white space that you can see if you edit this. I chose to remove it instead of passing it on to wiki. Also, in Excel, each line is begun with the html
which is not obvious when you look at this presentation.
class="wikitable sortable" border="1" Simple name Waterway (Canal or River)
Ref.
Also Known As
Connected to body of water at one end
Near City
Connected to body of water at other end
Near City
Aa Aa River Watten North Sea Gravelines Adour Adour River Dax Anglet Aff Aff River L'Aff Glenac La Gacilly Aire Canal d'Aire Canal de la Deûle Bauvin Canal de Neufossé Aire-sur-la-Lys Aisne Aisne River Compiègne Vailly-sur-Aisne Aisne Canal latéral à l'Aisne Aisne Canal Aisne Celles-sur-Aisne Canal des Ardennes Vieux-lès-Asfeld Aisne Canal de l'Aisne à la Marne Aisne-Marne Canal Canal latéral à l'Aisne Berry-au-Bac Canal latéral à la Marne Condé-sur-Marne Alsace Grand Canal d'Alsace Grand Canal of Alsace Huningue Lauterbourg =Looks like this after processing with [http://www.textfixer.com/tools/remove-white-spaces.php this] and removing any [[]] with notepad=
class="wikitable sortable" border="1" Simple name Waterway (Canal or River)
Ref.Also Known As Connected to body of water at one end Near City Connected to body of water at other end Near City
Aa Aa River Watten North Sea Gravelines Adour Adour River Dax Anglet Aff Aff River L'Aff Glenac La Gacilly Aire Canal d'Aire Canal de la Deûle Bauvin Canal de Neufossé Aire-sur-la-Lys Aisne Aisne River Compiègne Vailly-sur-Aisne Aisne Canal latéral à l'Aisne Aisne Canal Aisne Celles-sur-Aisne Canal des Ardennes Vieux-lès-Asfeld Aisne Canal de l'Aisne à la Marne Aisne-Marne Canal Canal latéral à l'Aisne Berry-au-Bac Canal latéral à la Marne Condé-sur-Marne Alsace Grand Canal d'Alsace Grand Canal of Alsace Huningue Lauterbourg =Looks like this in Wiki=
class="wikitable sortable" border="5" Simple name Waterway (Canal or River)
Ref.Also Known As Connected to body of water at one end Near City Connected to body of water at other end Near City
Aa Aa River Watten North Sea Gravelines Adour Adour River Dax Anglet Aff Aff River L'Aff Glenac La Gacilly Aire Canal d'Aire Canal de la Deûle Bauvin Canal de Neufossé Aire-sur-la-Lys Aisne Aisne River Compiègne Vailly-sur-Aisne Aisne Canal latéral à l'Aisne Aisne Canal Aisne Celles-sur-Aisne Canal des Ardennes Vieux-lès-Asfeld Aisne Canal de l'Aisne à la Marne Aisne-Marne Canal Canal latéral à l'Aisne Berry-au-Bac Canal latéral à la Marne Condé-sur-Marne Alsace Grand Canal d'Alsace Grand Canal of Alsace Huningue Lauterbourg