User:KTucker/My Sandbox/Samples/Introduction

From Wikiversity
Jump to: navigation, search

To make an introductory module page with links to sub-pages for Activities, Resources, Community, etc., create the page by inserting this

[[<page name of your new module>]]

into a page that will refer to it (or in your sandbox if you wish to work on it before releasing it):

Was: SSE Full Page Intro Now: Module Intro Page

{{Module Intro Page
 |title = Name of My Module
 |theme = sse
 |intro title =  Orientation
 |preparation title = Before you start
 |tips title = Hints
 |objectives title = Outcomes
 |guide title = Guidance
 |go title = Next
 |project boxes = {{course}}{{0%done}}{{nonformal}}{{tertiary}}
}}

edit it to specify the titles you prefer and save it.

Then use the resulting page. See instructions here on usage and how to make a navigator for the standard set of sub-pages.

Further tests etc.:

Technical Questions [edit]

...

Solved [edit]

  • It all works fine if the new page is here under User:Ktucker/My Sandbox/... or under Portal: ... but not if the page created is in the default name space?? The 'Edit' links point to "<edit page name>" but the editable content of the box comes from "Template<edit page name>".
    • How do I get this to work for default name space pages?
      • I think the relevant code to change might be in Portal:Box-header ??
        • check for <name space:> in abs FULLPAGENAME and if exists go ahead else modify the generated links ...
        • maybe some form of redirection ...
    • Solved: needed to put in colons to indicate default name space:
editpage=:{{FULLPAGENAMEE}}/{{{editpage}}}