Changes

Jump to navigation Jump to search
3,760 bytes removed ,  08:11, 17 May 2018
Added base description
Line 1: Line 1:  
{{TOCleft}}
 
{{TOCleft}}
   −
{{nutshell|A template is a set of logical or physical boundaries that help maintain a consistent output. This page has examples for your page's visual and navigational design.}}{{ambox
+
==Lands and Minerals Sector ePostcard Campaign==
| type  = content
+
Natural Resources Canada's Land's and Minerals Sector has launched an exciting collaborative campaign to encourage that the science and technology developments, exciting field research, and fantastic employees and partners, are properly showcased both in and out of government. Our team, the Science and Technology Liaison Office has built a program for our staff to submit their personal photos, along with some identification and a description, for display within our department and on the web. It is a pre-Comms product, which means that while we put all the pieces together, they can be used externally by other groups like our Social Media team, Web Publishing group, and more!
| image = [[Image:needsYourInput.jpg|30px|link=]]
+
 
| text  =  
+
Started in 2016, the first pilot of ePostcards was a great success with over 75 fantastic submissions<ref>http://science.gc.ca/eic/site/063.nsf/eng/h_E6EBB690.html</ref> including slice-of-life glimpses into our programs, photographs of landscapes so beautiful they could easily be in National Geographic, to simply smiling researchers doing what they do best.
For information about how to use templates in GCPEDIA, see [[Help:Templates]].
+
 
To see a list of all templates in the [[GCPEDIA:Template namespace|template "namespace"]], see '''[[Special:AllPages/template:|Special:AllPages]]'''}}
+
Now it's your turn. Check out these reference documents on this page, print out our take away brochure or carry card (Wallet sized!), and send us your amazing photographs!
{{ambox
  −
| type  = notice
  −
| text  = For a list of the most common notice messages (the banners at the tops of pages), see '''[[Help:Notice templates]]'''. For personal userboxes, see '''[[GCpedia:Userboxes]]'''.}}
     −
==Tables==
   
===[[Template:Table|Multi-row, multi-column table]]===
 
===[[Template:Table|Multi-row, multi-column table]]===
 
{{Template:Table}}
 
{{Template:Table}}
Line 122: Line 118:  
|belowstyle = background:#ddf;
 
|belowstyle = background:#ddf;
 
|below = Below text
 
|below = Below text
}}
+
}}{{-}}
 
  −
<pre style="overflow:auto">{{Infobox
  −
|name        = Infobox/doc
  −
|bodystyle    =
  −
|title        = Test Infobox
  −
|titlestyle  =
  −
 
  −
|image        = [[File:example.png|200px|alt=Example alt text]]
  −
|imagestyle  =
  −
|caption      = Caption for example.png
  −
|captionstyle =
  −
|headerstyle  = background:#ccf;
  −
|labelstyle  = background:#ddf;
  −
|datastyle    =
  −
 
  −
|header1 = Header defined alone
  −
|label1  =
  −
|data1  =
  −
|header2 =
  −
|label2  = Label defined alone does not display (needs data, or is suppressed)
  −
|data2  =
  −
|header3 =
  −
|label3  =
  −
|data3  = Data defined alone
  −
|header4 = All three defined (header, label, data, all with same number)
  −
|label4  = does not display (same number as a header)
  −
|data4  = does not display (same number as a header)
  −
|header5 =
  −
|label5  = Label and data defined (label)
  −
|data5  = Label and data defined (data)
  −
 
  −
|belowstyle = background:#ddf;
  −
|below = Below text
  −
}}</pre>
  −
{{-}}
   
:[[Template:Infobox|'''Infobox Instructions''']]
 
:[[Template:Infobox|'''Infobox Instructions''']]
    
==Web Development Templates==
 
==Web Development Templates==
===Cascading Style Sheets (CSS)===
  −
A style sheet or master page on which you can globally edit and format graphic elements and text common to each page of a web-site. These allow the application of a [[Common Look and Feel (CLF)]] framework that maintains a certain constant identity throughout a visitors' visit to the site. Changes made to the master (template) page are said to "cascade" down to all sub-pages (thus the term "cascading style sheets"). This type of template typically contains information about:
  −
#font types, sizes and colours;
  −
#the content and placement of navigation tools and sub-menus (in our case, displayed on the left hand side);
  −
#the content and placement of tabs displayed along the top of each page;
  −
#standard graphic headers and footers;
  −
#copyright notices;
  −
  −
The '''primary benefit''' of these types of templates is that they allow the web-master to apply global changes by making a single change in one location.
  −
  −
A number of groups have created CSS templates for their pages, which you may use as-is or copy to a new template for modification:
  −
  −
* {{tl|Cco-css}}
  −
* {{tl|AINC-INAC-css}}
  −
* {{tl|Mbl-css}}
  −
* {{tl|TC-css}}
  −
* {{tl|DOJ-css}}
  −
  −
To use a CSS formatting template on your page (CCO's for, example), insert:
  −
  −
:<nowiki>{{#css:{{Cco-css}}}}</nowiki>
  −
  −
...into your wiki page.
  −
  −
===Wiki Page Scaffolds===
  −
A scaffold is a style sheet or master page you can use to build your own page. Don't edit or write over these: copy and paste the code onto the new page as a framework from which to base your work on:
  −
  −
* [[NRCan action items scaffold|Action Item table]]
  −
* [[Agenda / Record of Decision/ Action Item Scaffold|Agenda / Record of Decision/ Action Item]]
  −
* [[Bilingual page scaffold|Bilingual page]]; see also: [[Template:Two column fr-en]]
  −
* [[NRCan Traditional Briefing Note scaffold|Briefing Note]]
  −
* Calendar: [[2015 calendar scaffold|2015]]
  −
* [[Community scaffold|Community page]]; see also: [[Template:Sample community page]]
  −
* [[Directory of Expertise scaffold|Directory of Expertise]]
  −
* [[Template:Page - whitesmoke|Elegant page]]
  −
* [[Template:Main_page_layout|GCpedia Main Page-style]]
  −
* [[Meeting minutes scaffold|Meeting minutes]]
  −
* [[:Template:Newspaper|Newspaper / Newsletter]] {{colour|red|- '''NEW!'''}}
  −
* [[Project main page scaffold|Project]]
  −
* [[Project charter scaffold|Project charter]]
  −
* User Page: [[Template:Default user page|Default]], [[Template:Basic_user_profile|Basic]], [[Template:Deluxe_user_profile|Deluxe]], [[Template:User profile - Todd Lyons' style|Todd Lyons' style]], [[Template:User profile - Cedgell style|Chelsea Edgell style]] &mdash; ''See also:'' [[Help:Creating a user profile]]
  −
* [[Policy and Governance Subcommittee Working Group Scaffold|Working Group]]
  −
  −
:''More may be available in: [[:Category:Scaffolds]]''
  −
::''If you create additional scaffolds, please add them to the [[:Category:Scaffolds|category]] and to the listing above.''
  −
   
===Notice Templates===
 
===Notice Templates===
 
A page '''element''' created explicitly for its contents to be displayed on other pages. By themselves, these ''mini''-pages hold no value, however, when included on other [[GCPEDIA]] pages, [[Help:Notice Templates]] can provide valuable information as to the status of the information being presented to the reader.
 
A page '''element''' created explicitly for its contents to be displayed on other pages. By themselves, these ''mini''-pages hold no value, however, when included on other [[GCPEDIA]] pages, [[Help:Notice Templates]] can provide valuable information as to the status of the information being presented to the reader.
Line 244: Line 159:  
:*Team Building Functions;
 
:*Team Building Functions;
 
:*etc.
 
:*etc.
 
+
*  
==Other uses for templates==
  −
:*Arts: a stencil, pattern or overlay used in drawing, painting, etc. Also used in sewing to replicate letters, shapes or designs.
  −
:*Manufacturing: a mechanical template used to cut and shape a product.
  −
:*Programming Templates: a tool for generic programming (particularly C++ language).
  −
:*Science: genetic sequences.
  −
 
  −
==References==
  −
* Wikipedia [http://en.wikipedia.org/wiki/Template Template]
  −
* Wikipedia [http://en.wikipedia.org/wiki/Help:Template Help:Template]
      
[[Fr:Gabarits]]
 
[[Fr:Gabarits]]

Navigation menu

GCwiki