Create or edit designs

Configuration files

wiki2xhtml is working with configuration files where you e.g. can set how many pictures have to be displayed per line in the gallery. wiki2xhtml looks for them in the directory where all other files (CSS files, images) for the design are located too. If the file isn't found, it uses standard values.

css-settings.txt

{{consistent-gallery:n}}n says how many images have to be on one line in the gallery. After this amount of images wiki2xhtml inserts a <br style="clear: both;" /> (if the page is created with the argument --consistent-gallery, which is standard in the argument --standard).

{{ip-imagewidth:n}} — Sets all images on the image pages to the width of n pixels. A separate width can be set for every image with the argument pw=n (e.g. if the image itself is smaller than the width set as standard – it would be magnified).

{{thumb-imagewidth:n}} — Sets the thumbnails (not in galleries) to the standard width of n pixels. The width can be adjusted for every image separately with the argument w=n.