Difference between revisions of "Restructuring the examples of page layouts section"

From Help Wiki
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Basic|lead=
 
{{Basic|lead=
 
|content=
 
|content=
====When To Use a Template====
+
===When To Use a Template===
  
 +
====Basic====
 +
[[File:Screen Shot 2017-10-03 at 1.42.07 PM.png|thumbnail|500px|A page that uses the Basic template is the home page for the '''Evergreen Helpwiki''']]
 
'''Below is the syntax for the basic template that you can copy and paste into your page.'''
 
'''Below is the syntax for the basic template that you can copy and paste into your page.'''
 
<pre>
 
<pre>
Line 22: Line 24:
 
*If you want to add additional styling to the page see [https://www.mediawiki.org/wiki/Help:Templates Help:Templates- MediaWiki] or [https://www.mediawiki.org/wiki/Help:Magic_words Help:Magic words - Media Wiki]
 
*If you want to add additional styling to the page see [https://www.mediawiki.org/wiki/Help:Templates Help:Templates- MediaWiki] or [https://www.mediawiki.org/wiki/Help:Magic_words Help:Magic words - Media Wiki]
 
*[[Basic_Page_Example_Layout-Template|Link to the basic layout page/example]]
 
*[[Basic_Page_Example_Layout-Template|Link to the basic layout page/example]]
[[File:Screen Shot 2017-10-03 at 1.42.07 PM.png|thumbnail|'''A page that uses the Basic template is the the main Evergreen helpwiki landing page''']]
 
 
'''Two Column/Sidebar'''
 
  
 +
====Two Column/Sidebar====
 +
[[File:Screen Shot 2017-10-03 at 1.44.18 PM.png|thumbnail||500px|A page that uses the Two Column or Sidebar template is the '''I forgot my Username or Password''' page]]
 
'''Below is the syntax for the TwoColumn or Sidebar template that you can copy and paste into your page.'''
 
'''Below is the syntax for the TwoColumn or Sidebar template that you can copy and paste into your page.'''
 
<pre>
 
<pre>
Line 48: Line 49:
 
*[[Sidebar_with_2_Boxes_Layout-Template|Link to the Two Column/Sidebar layout page/example]]
 
*[[Sidebar_with_2_Boxes_Layout-Template|Link to the Two Column/Sidebar layout page/example]]
 
*This is the most commonly used template within the Evergreen Helpwiki  
 
*This is the most commonly used template within the Evergreen Helpwiki  
[[File:Screen Shot 2017-10-03 at 1.44.18 PM.png|thumbnail|'''A page that uses the Two Column or Sidebar template is the I forgot my Username or Password Page''']]
+
====Landing====
'''Landing'''  
+
[[File:Screen Shot 2017-10-03 at 1.41.07 PM.png|thumbnail|500px|A page that uses the Landing template is the '''Accessibility Help''' page]]
 
'''Below is the syntax for the landing page template that you can copy and paste into your page.'''
 
'''Below is the syntax for the landing page template that you can copy and paste into your page.'''
 
<pre>
 
<pre>
Line 79: Line 80:
 
*Use the landing page template when creating a hub to list pages that are related
 
*Use the landing page template when creating a hub to list pages that are related
 
*You can Include the 3 Box or 2 Box template to add further structure to your landing page  
 
*You can Include the 3 Box or 2 Box template to add further structure to your landing page  
[[File:Screen Shot 2017-10-03 at 1.41.07 PM.png|thumbnail|'''A page that uses the Landing template is the Accessibility Help Page''']]
 
 
}}
 
}}

Latest revision as of 13:37, 3 October 2017


When To Use a Template

Basic

A page that uses the Basic template is the home page for the Evergreen Helpwiki

Below is the syntax for the basic template that you can copy and paste into your page.

__NOTOC__
{{Basic
|lead=
Lead text / brief overview of the page content. 
|content=
===Page Content===
====Task heading (optional)====
#
#
#
#
}}

Two Column/Sidebar

A page that uses the Two Column or Sidebar template is the I forgot my Username or Password page

Below is the syntax for the TwoColumn or Sidebar template that you can copy and paste into your page.

__NOTOC__
{{TwoColumn|lead= 
Succinct description of what this page is about. Could be two lines but shorter is better.
|content=
===Page Content===
====Task heading (optional)====
#
#
#
#
|sidebar=
====Sidebar information====
*Links to related content
----
{{GetHelp}}
}}
  • Two Column is the official name of the template that is used within the syntax, but it is also refered to as sidebar becuase it is preformated to include a sidebar
  • Link to the Two Column/Sidebar layout page/example
  • This is the most commonly used template within the Evergreen Helpwiki

Landing

A page that uses the Landing template is the Accessibility Help page

Below is the syntax for the landing page template that you can copy and paste into your page.

<pre>
__NOTOC__
{{Landing
|lead=
Lead text or brief overview of the page content. 
|content=
Page content that falls under the main page, and not in a subcolumn.
|col1=
====Bulletted items under column 1====
*
*
*
|col2=
====Bulletted items under column 2==== 
*
*
*
|sidebar=
====Sidebar information====
*Links to related content
----
{{GetHelp}}
}}
  • Link to the Landing layout page/example
  • Use the landing page template when creating a hub to list pages that are related
  • You can Include the 3 Box or 2 Box template to add further structure to your landing page