Jump to content

Template:DisplayClassification: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
m Text replacement - "|Declassified" to "|declassified"
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 4: Line 4:
Usage:<br/>
Usage:<br/>
:{{t|<nowiki>{{DisplayClassification|Classification|ClassificationDetail|leaked|declassified|declassified_date|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:''' {{{1|}}} {{#if: {{{2|}}}| ({{{2|}}})|}} {{#ifeq: {{{4|}}}| Yes |({{#if: {{{5|}}}|Declassification Date {{{5}}}|declassified}} {{#if: {{{6|}}}| &nbsp;{{{6|}}}|}})|}}<br/>|}}</includeonly>

Latest revision as of 22:34, 24 September 2026

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}}