Difference between revisions of "Template:DisplayDocType"

From Wikispooks
Jump to navigation Jump to search
m
(test)
Line 4: Line 4:
 
Usage:<br/>
 
Usage:<br/>
 
:{{t|<nowiki>{{DisplayDocType|DocType|DocTypeDraft|DocTypeCollection}}</nowiki>}}
 
:{{t|<nowiki>{{DisplayDocType|DocType|DocTypeDraft|DocTypeCollection}}</nowiki>}}
</noinclude><includeonly>{{#if: {{{1|}}} |[[Category:{{plural|{{{1|}}}}}]]{{#ifeq: {{{3|}}}|Yes| A collection of {{#ifeq: {{{2|}}}|Yes|draft|}} [[:category:{{plural|{{{1|}}}}}|{{plural|{{{1|}}}}}]] [[DocType::{{{1|}}}| ]] | {{AORAN| {{#ifeq: {{{2|}}}|Yes|draft|}} {{{1|}}}}} [[:category:{{plural|{{{1|}}}}}|[[DocType::{{{1|}}}]]]] }}| A file of [[:category:Untyped Documents|unspecified type]][[category:Untyped Documents]]}}</includeonly>
+
</noinclude><includeonly>{{#if: {{{1|}}} |[[Category:{{plural|{{{1|}}}}}]]{{#ifeq: {{{3|}}}|Yes| A collection of {{#ifeq: {{{2|}}}|Yes|draft}} [[:category:{{plural|{{{1|}}}}}|{{plural|{{{1|}}}}}]] [[DocType::{{{1|}}}| ]] | {{AORAN| {{#ifeq: {{{2|}}}|Yes|draft}} {{{1|}}}}} [[:category:{{plural|{{{1|}}}}}|[[DocType::{{{1|}}}]]]] }}| A file of [[:category:Untyped Documents|unspecified type]][[category:Untyped Documents]]}}{{{2}}}</includeonly>

Revision as of 20:47, 24 December 2013

Used to show the type of a document. If DocType is present, it adds a property:DocType statement.
The parameters are as described in the parent template template:DocProv.

Usage:

{{DisplayDocType|DocType|DocTypeDraft|DocTypeCollection}}