Difference between revisions of "How to Use HelpWiki Page Layouts"

From Help Wiki
m
m
Line 27: Line 27:
 
* input "subst:" right before the start of the template and save the page.  
 
* input "subst:" right before the start of the template and save the page.  
 
* The template syntax will be replaced by the html layout tags
 
* The template syntax will be replaced by the html layout tags
<nowiki>
 
Syntax to flatten TwoColumn template would look like
 
  
{{subst:TwoColumn|lead=
+
 
....
+
Syntax to flatten TwoColumn template would look like
 +
<div class="well">
 +
<nowiki>
 +
{{subst:TwoColumn|lead=<br />
 +
....<br />
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 
+
</div>
 
===Page Layouts Using HTML Layouts===
 
===Page Layouts Using HTML Layouts===
 
*Use of HTML to build the page allows the user to utilize the visual editor right away when creating a page
 
*Use of HTML to build the page allows the user to utilize the visual editor right away when creating a page

Revision as of 15:09, 17 May 2017

How to Use Page Layouts to Design your Help Wiki Page.

Page Layouts Using Templates

  • Templates allow the user to format pages into preexisting layouts without needing to know HTML.

How to set up a template

  • There are two ways to utilize templates when creating pages in the Evergreen HelpWiki
Step One: Copy and paste template syntax.
  1. Navigate from the home page to the category Web Publishing and click Wiki Admin
  2. From the Wiki Amin Catagory, click on the subcategory Page Layouts
  3. Select the page that utilizes the template you want to use for your page.
  4. From the page navigate to the ... icon and select edit source
  5. Highlight the syntax in the editing box included in the curly brackets
Step Two: Utilize the template to format your page
  1. Navigate back to your page and select Edit Source
  2. Paste the syntax you copied from the template example page into the editing box for your page
  3. Follow the instructions included in the syntax in order to fill in the template with your content


You can contact Academic technologies if you need any help creating a MediaWiki page

Editing pages built using templates

Pages using layout template cannot be edited via visual editor. To enable Visual Editor editing, you'll want to convert your page from template format to HTML using the "subst" command.

  • input "subst:" right before the start of the template and save the page.
  • The template syntax will be replaced by the html layout tags


Syntax to flatten TwoColumn template would look like

{{subst:TwoColumn|lead=<br /> ....<br /> }}

Page Layouts Using HTML Layouts

  • Use of HTML to build the page allows the user to utilize the visual editor right away when creating a page
  • Copy and paste the HTML layout from other formatted pages to style your page.
  • The HTML pages in the Page layout category list common HTML formats for pages to copy and paste.