Difference between revisions of "Template:Basic Cover"

From support-works
Jump to navigation Jump to search
(Created page with "<noinclude> <div style="border: 3px solid #C00000; padding: 10px; margin: 20px 0;"> This template is to be used by default for non-specialised documents (for example, Release ...")
 
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<div style="border: 3px solid #C00000; padding: 10px; margin: 20px 0;">
 
<div style="border: 3px solid #C00000; padding: 10px; margin: 20px 0;">
This template is to be used by default for non-specialised documents (for example, Release Notes). It provides for a front cover with two variables (document title and document type - type is optional), a Hornbill logo and a brief copyright statement.
+
This template is to be used by default for non-specialised documents (for example, FAQs). It provides for a front cover Supportworks logo and a brief copyright statement.
 
 
It should be used with the "Standard" and "Standard (no Table of Contents)" [[PDF styles available|PDF styles]] in the publishing system.
 
 
 
'''Template variables:'''
 
{|
 
|-
 
! Name !! Default !! Description
 
|-
 
| <tt>title</tt> || <tt>My title</tt> || Document title.
 
|-
 
| <tt>type</tt> || <tt></tt> || Document type.
 
|-
 
| <tt>htl</tt> || <tt></tt> || Set if you want a HTL cover
 
|}
 
  
 
'''Example usage:'''
 
'''Example usage:'''
<pre><nowiki>{{Template:Basic Cover
+
<pre><nowiki>{{Template:Basic Cover}}</nowiki></pre>
|title=Supportworks ESP 7.3.9
 
|type=Release Notes
 
}}</nowiki></pre>
 
  
 
</div>
 
</div>
</noinclude>
 
  
 
<div class="basic-cover">
 
<div class="basic-cover">
 
<ul class="information">
 
<ul class="information">
   <li class="title">{{{title|My title}}}</li>
+
   <li class="title">{{{title|My title}}}</li>
   {{ #if: {{{type|}}} | <li class="type">{{{type}}}</li> }}
+
   {{ #if: {{{type|}}} | <li class="type">{{{type}}}</li> }}
 
</ul>
 
</ul>
{{ #if: {{{htl|}}} |
 
[[Image:HornbillTechnologiesLogo.png|750px]]
 
<p class="copyright">© Hornbill Technologies Limited, {{CURRENTYEAR}}</p>
 
|
 
[[Image:HornbillLogo.png|750px]]
 
<p class="copyright">© Hornbill Service Management Limited, {{CURRENTYEAR}}</p>
 
}}
 
 
 
</div>
 
</div>
 +
</noinclude>
 +
{{DISPLAYTITLE:{{{title|My title}}}}}
 +
__NOTOC__

Latest revision as of 12:52, 16 July 2015

This template is to be used by default for non-specialised documents (for example, FAQs). It provides for a front cover Supportworks logo and a brief copyright statement.

Example usage:

{{Template:Basic Cover}}
  • My title