Template:Basic Cover: Difference between revisions

From support-works
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 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.
'''Example usage:'''
<pre><nowiki>{{Template:Basic Cover}}</nowiki></pre>


'''Template variables:'''
</div>
{|
|-
! 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:'''
<pre><nowiki>{{Template:Basic Cover
|title=Supportworks ESP 7.3.9
|type=Release Notes
}}</nowiki></pre>


<div class="basic-cover">
<ul class="information">
  <li  class="title">{{{title|My title}}}</li>
  {{ #if: {{{type|}}} | <li  class="type">{{{type}}}</li>  }}
</ul>
</div>
</div>
</noinclude>
</noinclude>
 
{{DISPLAYTITLE:{{{title|My title}}}}}
{{ #if: {{{param||}}} || param is defined and non-empty || param is undefined or empty}}
__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