Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.
Difference between revisions of "Template:DisplayDocType"
Jump to navigation
Jump to search
m (fix) |
m (fix) |
||
Line 4: | Line 4: | ||
Usage:<br/> | Usage:<br/> | ||
:{{t|<nowiki>{{DisplayDocType|DocType|DocTypeDraft|DocTypeCollection}}</nowiki>}} | :{{t|<nowiki>{{DisplayDocType|DocType|DocTypeDraft|DocTypeCollection}}</nowiki>}} | ||
− | </noinclude><includeonly>{{#ifeq: {{{2|}}}|Yes|[[Is draft::Yes| ]]|}}{{#if: {{{1|}}}|[[Constitutes::{{{1}}}| ]][[Category:{{plural|{{{1|}}}}}]]{{#ifeq: {{{3|}}}|Yes| A collection of {{#ifeq: {{{2|}}}|Yes|draft | + | </noinclude><includeonly>{{#ifeq: {{{2|}}}|Yes|[[Is draft::Yes| ]]|}}{{#if: {{{1|}}}|[[Constitutes::{{{1}}}| ]][[Category:{{plural|{{{1|}}}}}]]{{#ifeq: {{{3|}}}|Yes| A collection of {{#ifeq: {{{2|}}}|Yes|draft }} [[:category:{{plural|{{{1|}}}}}|{{plural|{{{1|}}}}}]][[Has documentType::{{{1|}}}| ]] | {{AORAN| {{#ifeq: {{{2|}}}|Yes|draft }} {{{1|}}}}} [[:category:{{plural|{{{1|}}}}}|{{#ifeq: {{{2|}}}|Yes|draft|}}[[Has documentType::{{{1|}}}]]]] }}| A file of [[:category:Untyped Documents|unspecified type]][[category:Untyped Documents]]}}</includeonly> |
Revision as of 16:50, 3 March 2014
Used to show the type of a document, and if DocType is present, to declare its type to SMW with Property:Has documentType and Property:Constitutes.
The parameters are as described in the parent template template:DocProv.
Usage:
- {{DisplayDocType|DocType|DocTypeDraft|DocTypeCollection}}