User:KTucker/My Sandbox/Samples/Introduction
From Wikiversity
< User:KTucker | My Sandbox | Samples
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.:
- test of {{subst: Module Intro Page}} using:
- Template:Module Intro Page, and in future (possibly):
- Template:SSE Module Page Generator Template - a form to generate an intro page.
- Template:Module Intro Page, and in future (possibly):
- temp (a temporary area for use during template development and application to existing pages)
- test subst as a subpage - fine here under "User:..."
- test subst in default name space - now fine.
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 ...
- I think the relevant code to change might be in Portal:Box-header ??
- Solved: needed to put in colons to indicate default name space:
- How do I get this to work for default name space pages?
editpage=:{{FULLPAGENAMEE}}/{{{editpage}}}