QL Wiki - formatting links and images.
Posted: Tue Sep 05, 2017 9:24 pm
Please be aware of the following when adding images to pages. The format is:
{{qlwiki:image_file_name.ext?direct | alt text}} or {{qlwiki:image_file_name.ext?direct&sizing | alt text}}.
The alt text, and the corresponding "|" are optional and may be left out if not needed. I advise putting some text in for page reader devices to tell eyesight deficient people what the image represents. Etc.
To right align, put two spaces after the opening "{{".
To left align, put two spaces before the "|" if present, or before the closing "}}" if not.
To centre align, do both of the above.
To have the image in line, do not put any spaces in for alignment.
Direct means that when clicked, it takes you to the full sized image as per the old wiki. If direct is missed out, you get taken to a page with a lot of details about the image, rather than just the image at gull Suze.
Sizing is width or widthxheight (no spaces).
Width only means display the image scaled to the given width, keeping the ratio of the width and height as per the original.
Both width and height means that the image will be displayed as requested.
Page links come in the following formats:
[[qlwiki:Page Name]]
[[qlwiki:Page Name | Text to display instead]]
[[qlwiki:page_name]]
[[qlwiki:page_name | text to display instead]]
"Page Name" is the actual page name, like "Norman Dunbar" without the quotes but with any punctuation in the original page name.
"page_name" is the page name, lowercase, punctuation and spaces removed, underscores used instead, "norman_dunbar" without the quotes for example.
"Text to display instead" is simply that, the given text will be shown as the click able link, rather than the "Page Name" which page links use by default.
"qlwiki:" is a name space that is being used for all media and pages in the wiki, which relate to the QL. We can, if desired, add a Z88 names pace and keep separate pages and media there,or, a downloads name space for any files we wish to upload for people to download. Etc.
If you need more info, click the "syntax" link above every page that you are editing.
HTH
Cheers,
Norm.
{{qlwiki:image_file_name.ext?direct | alt text}} or {{qlwiki:image_file_name.ext?direct&sizing | alt text}}.
The alt text, and the corresponding "|" are optional and may be left out if not needed. I advise putting some text in for page reader devices to tell eyesight deficient people what the image represents. Etc.
To right align, put two spaces after the opening "{{".
To left align, put two spaces before the "|" if present, or before the closing "}}" if not.
To centre align, do both of the above.
To have the image in line, do not put any spaces in for alignment.
Direct means that when clicked, it takes you to the full sized image as per the old wiki. If direct is missed out, you get taken to a page with a lot of details about the image, rather than just the image at gull Suze.
Sizing is width or widthxheight (no spaces).
Width only means display the image scaled to the given width, keeping the ratio of the width and height as per the original.
Both width and height means that the image will be displayed as requested.
Page links come in the following formats:
[[qlwiki:Page Name]]
[[qlwiki:Page Name | Text to display instead]]
[[qlwiki:page_name]]
[[qlwiki:page_name | text to display instead]]
"Page Name" is the actual page name, like "Norman Dunbar" without the quotes but with any punctuation in the original page name.
"page_name" is the page name, lowercase, punctuation and spaces removed, underscores used instead, "norman_dunbar" without the quotes for example.
"Text to display instead" is simply that, the given text will be shown as the click able link, rather than the "Page Name" which page links use by default.
"qlwiki:" is a name space that is being used for all media and pages in the wiki, which relate to the QL. We can, if desired, add a Z88 names pace and keep separate pages and media there,or, a downloads name space for any files we wish to upload for people to download. Etc.
If you need more info, click the "syntax" link above every page that you are editing.
HTH
Cheers,
Norm.