Difference between revisions of "Template:DisplayClassification"
Jump to navigation
Jump to search
(Sub-template from DocProv) |
m (Text replacement - "|Declassified" to "|declassified") |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>'''Used to show the security classification of a document.'''<br/> | + | <noinclude>'''Used to show the security classification of a document.''' ''(Also adds [Property:Has classification])''<br/> |
The parameters are as described in the parent template [[template:DocProv]].<br/> | The parameters are as described in the parent template [[template:DocProv]].<br/> | ||
<br/> | <br/> | ||
Usage:<br/> | Usage:<br/> | ||
− | :{{t|<nowiki>{{DisplayClassification|Classification|ClassificationDetail| | + | :{{t|<nowiki>{{DisplayClassification|Classification|ClassificationDetail|leaked|declassified|declassified_date|declassifiedDetail}}</nowiki>}} |
− | </noinclude><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|}}}| {{{6|}}}|}})|}}<br/>|}}</includeonly> |
Latest revision as of 11:12, 7 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}}