{"id":17861,"date":"2022-07-19T01:13:25","date_gmt":"2022-07-19T05:13:25","guid":{"rendered":"https:\/\/pacificopencourses.col.org\/edt4ol\/?page_id=17861"},"modified":"2022-07-19T01:13:25","modified_gmt":"2022-07-19T05:13:25","slug":"tips-for-authoring-sub-pages","status":"publish","type":"page","link":"https:\/\/pacificopencourses.col.org\/edt4ol\/learning-challenges\/authoring-a-learning-sequence\/tips-for-authoring-sub-pages\/","title":{"rendered":"Tips for authoring sub-pages"},"content":{"rendered":"<div id=\"content\" class=\"mw-body container\" role=\"main\">\n<div class=\"row\">\n<div class=\"col-md-12\">\n<div class=\"panel\">\n<div class=\"panel-body\">\n<div id=\"bodyContent\">\n<div id=\"mw-content-text\" lang=\"en\" dir=\"ltr\" class=\"mw-content-ltr\">\n<div class=\"floatright\"><a href=\"https:\/\/wikieducator.org\/File:HTML-screenshotA.jpg\" class=\"image\"><img loading=\"lazy\" decoding=\"async\" alt=\"HTML-screenshotA.jpg\" src=\"\/\/wikieducator.org\/images\/thumb\/5\/51\/HTML-screenshotA.jpg\/400px-HTML-screenshotA.jpg\" width=\"400\" height=\"224\" class=\"img-responsive\"><\/a><\/div>\n<p><br style=\"clear:both;\"><\/p>\n<p>On this course, you are not required to learn HTML markup.  However there are a couple of handy wiki markup tips you can use to improve page layout. In this section, we also provide tips for improving layout of pages for mobile responsive design.\n<\/p>\n<h2><span class=\"mw-headline\" id=\"Useful_wiki_markup_code\">Useful wiki markup code<\/span><\/h2>\n<table class=\"oeru1 table table-striped\">\n<tbody>\n<tr>\n<th>Markup\n<\/th>\n<th>Purpose\n<\/th>\n<\/tr>\n<tr>\n<td>&lt;br&gt;\n<\/td>\n<td><i>Single forced line break<\/i><\/p>\n<p>Sometimes the author must manually insert a line break to force the text which follows to start on a new line.\n<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>&lt;nowiki&gt; &#8230; &lt;\/nowiki&gt;\n<\/td>\n<td><i>To force the wiki to ignore (or &#8216;escape&#8217;) the effect of wiki markup contained between the opening and closing &lt;nowiki&gt; tags<\/i><\/p>\n<p>For example, when an author wants to show the raw wiki markup, instead of the wiki applying the relevant formatting in the published view.\n<\/p>\n<p>Note that the &lt;\/nowiki&gt; tags must be applied on every line where it is needed.\n<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>{{Clear}}\n<\/td>\n<td><i>To stop text that appears immediately after the insertion of this template from wrapping around a floating element like an image.<\/i><\/p>\n<p>For example, this is used with images to force text to appear below the image on a new line without text wrapping<sup id=\"cite_ref-1\" class=\"reference\"><a href=\"#cite_note-1\">[1]<\/a><\/sup>.\n<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"mw-headline\" id=\"Images_and_mobile_devices\">Images and mobile devices<\/span><\/h2>\n<p>When authoring online materials it&#8217;s important to remember that the user may be viewing the content using a different screen size to the one you are using for developing the materials. Bear in mind that the layout displayed on the user&#8217;s screen will vary depending on the screen size of the display device and as a developer it is hard to predict what screen the student will be using.\n<\/p>\n<p>Note that images that use the &#8216;Frame&#8217; or &#8216;Thumb&#8217; attribute in the wiki markup <b>do not<\/b> automatically resize for different display widths on the WordPress site. Consequently we recommend that you avoid using framed or thumbnail images, where possible, to circumvent this challenge.\n<\/p>\n<p>Remember that the view port size of mobile phones in portrait view vary. The display width of the average mobile phone in portrait view ranges between 320 pixels and 414 pixels. So to avoid awkward wrapping of text around images on a mobile phone in portrait view, we recommend using an image markup that supports automatic resizing of the image to fit the display port if the image width is wider than the phone display.\n<\/p>\n<p>As a rule of thumb, we recommend that you use the following markup for the majority of images:\n<\/p>\n<pre><code>[[image:name_of_file.png|414px|right]]<\/code>\n<\/pre>\n<h2><span class=\"mw-headline\" id=\"Footnotes\">Footnotes<\/span><\/h2>\n<ol class=\"references\">\n<li id=\"cite_note-1\"><span class=\"mw-cite-backlink\"><a href=\"#cite_ref-1\">\u2191<\/a><\/span> <span class=\"reference-text\">This is the equivalent of the HTML tag: &lt;br style=&#8221;clear:both;&#8221; \/&gt;<\/span>\n<\/li>\n<\/ol>\n<p><!-- \nNewPP limit report\nCPU time usage: 0.031 seconds\nReal time usage: 0.037 seconds\nPreprocessor visited node count: 70\/1000000\nPreprocessor generated node count: 200\/1000000\nPost\u2010expand include size: 26\/2097152 bytes\nTemplate argument size: 0\/2097152 bytes\nHighest expansion depth: 3\/40\nExpensive parser function count: 0\/100\n--><\/p>\n<p><!-- Saved in parser cache with key we_en-mw_:pcache:idhash:189925-0!*!*!!*!2!* and timestamp 20220719051324 and revision id 1097227\n -->\n<\/div>\n<div class=\"visualClear\"><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"row\">\n<div class=\"col-md-12\">\n<ul class=\"pager\">\n<li class=\"previous\">\n            <a href=\"\/edt4ol\/learning-challenges\/authoring-a-learning-sequence\/embed-h5p-object\">\u2190 Previous<\/a>\n          <\/li>\n<li class=\"next\">\n            <a href=\"\/edt4ol\/learning-challenges\/authoring-a-learning-sequence\/start-learning-sequence-challenge\">Next \u2192<\/a>\n          <\/li>\n<\/ul><\/div>\n<\/p><\/div>\n<div id=\"wenote-ids\"><script type='text\/javascript' id='wenotes-ids'>\n    var WEnotesSite = \"https:\/\/wikieducator.org\";\n    var WEnotesPath = \"\/EDT4OL\/Authoring\/Author\";\n    var WEnotesSiteID = \"0e3d258fbd36841f92259eefcd41d5e9\";\n    var WEnotesPathID = \"12bf4fce0973839fff0b75862c0176f1\";\n    var WEnotesIDs = { site: \"https:\/\/wikieducator.org\", path: \"\/EDT4OL\/Authoring\/Author\", site_id: \"0e3d258fbd36841f92259eefcd41d5e9\", path_id: \"12bf4fce0973839fff0b75862c0176f1\" };\n<\/script><\/div>\n<\/div>\n<footer><\/footer>\n","protected":false},"excerpt":{"rendered":"<p>On this course, you are not required to learn HTML markup. However there are a couple of handy wiki markup tips you can use to improve page layout. In this section, we also provide tips for improving layout of pages for mobile responsive design. Useful wiki markup code Markup Purpose &lt;br&gt; Single forced line break [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":17847,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-17861","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/pages\/17861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/comments?post=17861"}],"version-history":[{"count":1,"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/pages\/17861\/revisions"}],"predecessor-version":[{"id":17862,"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/pages\/17861\/revisions\/17862"}],"up":[{"embeddable":true,"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/pages\/17847"}],"wp:attachment":[{"href":"https:\/\/pacificopencourses.col.org\/edt4ol\/wp-json\/wp\/v2\/media?parent=17861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}