Template:DisplayDocType: Difference between revisions
Appearance
WikiSpooks>Robin after draft |
m Plain formatting, no semantic markup |
||
| Line 3: | Line 3: | ||
Usage:<br/> | Usage:<br/> | ||
:{{t|<nowiki>{{DisplayDocType|type|draft|collection}}</nowiki>}} | :{{t|<nowiki>{{DisplayDocType|type|draft|collection}}</nowiki>}} | ||
</noinclude><includeonly>{{#ifeq: {{{2|}}}|Yes| | </noinclude><includeonly>{{#ifeq: {{{2|}}}|Yes||}}{{#if: {{{1|}}}|[[Category:{{plural|{{{1|}}}}}]]{{#ifeq: {{{3|}}}|Yes|collection of {{#ifeq: {{{2|}}}|Yes|draft }} [[:category:{{plural|{{{1|}}}}}|{{plural|{{{1|}}}}}]] |[[:category:{{plural|{{{1|}}}}}|{{#ifeq: {{{2|}}}|Yes|draft |}}{{Uncapitalize|{{{1|}}}}}]] }}|file of [[:category:Untyped Documents|unspecified type]][[category:Untyped Documents]]}}</includeonly> | ||
Latest revision as of 22:34, 24 September 2026
Used to show the type of a document, and if type is present, to declare its type to SMW with Property:Has documentType and Property:Constitutes. The parameters are as described in template:Document.
Usage:
- {{DisplayDocType|type|draft|collection}}