Difference between revisions of "Template:Basic Status"

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 to add additional status-related elements to a document, disp...")
 
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
This template is to be used to add additional status-related elements to  
 
This template is to be used to add additional status-related elements to  
a document, displayed as a table giving the document status (for example, draft), version (for example 1.0) and authors (for example, David Bailey).
+
a document, displayed as a table giving the document status (for example, draft), version (for example 1.0) and authors (for example, Ricky Fearon).
  
 
It can optionally be used with the "Standard" and "Standard (no Table of Contents" [[PDF styles available|PDF styles]] in the publishing system.
 
It can optionally be used with the "Standard" and "Standard (no Table of Contents" [[PDF styles available|PDF styles]] in the publishing system.
Line 23: Line 23:
 
'''Example usage:'''
 
'''Example usage:'''
 
<pre><nowiki>{{Template:Basic Status
 
<pre><nowiki>{{Template:Basic Status
|status=Signed-off
+
|status=Draft
 
|version=1.0
 
|version=1.0
|authors=David Bailey
+
|authors=Ricky Fearon
|applicableto=Supportworks ESP 7.3.x
+
|applicableto=Supportworks ESP 7.6.x
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
 
</div>
 
</div>
 
</noinclude>
 
</noinclude>
 
+
<div>
<div class="basic-status">
+
   <table>
   <table class="information">
 
 
     <tr>
 
     <tr>
 
       <th>Status:</th>
 
       <th>Status:</th>
Line 42: Line 41:
 
       <td>{{{version|0.0.0}}}</td>
 
       <td>{{{version|0.0.0}}}</td>
 
     </tr>
 
     </tr>
{{ #if: {{{authors|}}} |
 
 
     <tr>
 
     <tr>
 
       <th>Authors:</th>
 
       <th>Authors:</th>
       <td>{{{authors}}}</td>
+
       <td>{{{authors|Hornbill Support}}}</td>
 
     </tr>
 
     </tr>
}}
 
{{ #if: {{{applicableto|}}} |
 
 
     <tr>
 
     <tr>
       <th>Applicable to:</th>
+
       <th>Applies to:</th>
       <td>{{{applicableto}}}</td>
+
       <td>{{{applicableto|Supportworks ESP}}}</td>
 
     </tr>
 
     </tr>
}}
 
 
 
 
   </table>
 
   </table>
 
</div>
 
</div>

Latest revision as of 16:47, 17 July 2015

This template is to be used to add additional status-related elements to a document, displayed as a table giving the document status (for example, draft), version (for example 1.0) and authors (for example, Ricky Fearon).

It can optionally be used with the "Standard" and "Standard (no Table of Contents" PDF styles in the publishing system.

Template variables:

Name Default Description
status Draft Document status.
version 0.0.0 Document version.
authors List of document authors.
applicableto Versions of Supportworks this document applies to.

Example usage:

{{Template:Basic Status
|status=Draft
|version=1.0
|authors=Ricky Fearon
|applicableto=Supportworks ESP 7.6.x
}}
Status: Draft
Version: 0.0.0
Authors: Hornbill Support
Applies to: Supportworks ESP