Difference between revisions of "Template:DisplayClassification"

From Wikispooks
Jump to navigation Jump to search
(Sub-template from DocProv)
 
(Use DeclassifiedDate)
Line 4: Line 4:
 
Usage:<br/>
 
Usage:<br/>
 
:{{t|<nowiki>{{DisplayClassification|Classification|ClassificationDetail|Leaked|Declassified|DeclassifiedDate|DeclassifiedDetail}}</nowiki>}}
 
:{{t|<nowiki>{{DisplayClassification|Classification|ClassificationDetail|Leaked|Declassified|DeclassifiedDate|DeclassifiedDetail}}</nowiki>}}
</noinclude><includeonly>{{#if: {{#if: {{{1|}}} | 1 }}{{#ifeq: {{{4|}}} |Yes| 1 }} |'''Security Classification:''' {{{1|}}} {{#if: {{{2|}}}| ({{{2|}}})|}} {{#ifeq: {{{4|}}}| Yes |(Declassified{{#if: {{{6|}}}| &nbsp;{{{6|}}}|}})|}}<br/>|}}</includeonly>
+
</noinclude><includeonly>{{#if: {{{1|}}}{{#ifeq: {{{4|}}} |Yes| 1 }} |'''Security Classification:''' {{{1|}}} {{#if: {{{2|}}}| ({{{2|}}})|}} {{#ifeq: {{{4|}}}| Yes |({{#if: {{{5|}}}|Declassification Date {{{5}}}|Declassified}} {{#if: {{{6|}}}| &nbsp;{{{6|}}}|}})|}}<br/>|}}</includeonly>

Revision as of 14:55, 22 December 2013

Used to show the security classification of a document.
The parameters are as described in the parent template template:DocProv.

Usage:

{{DisplayClassification|Classification|ClassificationDetail|Leaked|Declassified|DeclassifiedDate|DeclassifiedDetail}}