Difference between revisions of "Template:DisplayClassification"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "|Leaked" to "|leaked")
m (Text replacement - "|DeclassifiedDate" to "|declassified_date")
Line 3: Line 3:
 
<br/>
 
<br/>
 
Usage:<br/>
 
Usage:<br/>
:{{t|<nowiki>{{DisplayClassification|Classification|ClassificationDetail|leaked|Declassified|DeclassifiedDate|DeclassifiedDetail}}</nowiki>}}
+
:{{t|<nowiki>{{DisplayClassification|Classification|ClassificationDetail|leaked|Declassified|declassified_date|DeclassifiedDetail}}</nowiki>}}
 
</noinclude><includeonly>{{#if: {{{1|}}}{{#ifeq: {{{4|}}} |Yes| 1 }} |'''Security Classification:''' [[Has classification::{{{1|}}}]] {{#if: {{{2|}}}| ({{{2|}}})|}} {{#ifeq: {{{4|}}}| Yes |({{#if: {{{5|}}}|Declassification Date [[Has declassificationDate::{{{5}}}]]|Declassified}} {{#if: {{{6|}}}| &nbsp;{{{6|}}}|}})|}}<br/>|}}</includeonly>
 
</noinclude><includeonly>{{#if: {{{1|}}}{{#ifeq: {{{4|}}} |Yes| 1 }} |'''Security Classification:''' [[Has classification::{{{1|}}}]] {{#if: {{{2|}}}| ({{{2|}}})|}} {{#ifeq: {{{4|}}}| Yes |({{#if: {{{5|}}}|Declassification Date [[Has declassificationDate::{{{5}}}]]|Declassified}} {{#if: {{{6|}}}| &nbsp;{{{6|}}}|}})|}}<br/>|}}</includeonly>

Revision as of 02:51, 6 July 2014

Used to show the security classification of a document. (Also adds [Property:Has classification])
The parameters are as described in the parent template template:DocProv.

Usage:

{{DisplayClassification|Classification|ClassificationDetail|leaked|Declassified|declassified_date|DeclassifiedDetail}}