Template:Document: Difference between revisions
No edit summary |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#template_params:Name (property=Name)|Description (property=Description)|Goal (property=Goal)|Theme (property=Theme)|Validity Start (property=Validity Start)|Validity End (property=Validity End)|Tags (list;property=Tags)}} | {{#template_params:Name (property=Name)|Description (property=Description)|Goal (property=Goal)|Theme (property=Theme)|Validity Start (property=Validity Start)|Validity End (property=Validity End)|Tags (list;property=Tags)}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div class="mw-collapsible"> | <div class="mw-collapsible mw-collapsed avott-structured-data"> | ||
<div style="font-weight:bold;line-height:1.6;">Structured data</div> | <div style="font-weight:bold;line-height:1.6;">Structured data</div> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Line 41: | Line 41: | ||
! Has part | ! Has part | ||
| {{#arraymap:{{{Has part|}}}|,|x|[[Has part::x]]}} | | {{#arraymap:{{{Has part|}}}|,|x|[[Has part::x]]}} | ||
|- | |||
! Is part of | |||
| {{#ask: [[Has part::{{FULLPAGENAME}}]] }} | |||
|} | |||
'''Sections''' | '''Sections''' | ||
{{#ask: | {{#ask: | ||
Line 53: | Line 56: | ||
|?Page name | |?Page name | ||
|?Document | |?Document | ||
|?Type | |?Type.Name fi=Type | ||
|sort=Ordinal | |sort=Type,Ordinal | ||
|order=asc | |order=asc | ||
|default=No sections yet! | |default=No sections yet! | ||
Line 65: | Line 68: | ||
}} | }} | ||
{{#formlink:form=Section|link text=Add new section|link type=button|query string=Section[Document]={{PAGENAME}}|super_page={{FULLPAGENAME}}|reload|returnto={{FULLPAGENAME}} }} | {{#formlink:form=Section|link text=Add new section|link type=button|query string=Section[Document]={{PAGENAME}}|super_page={{FULLPAGENAME}}|reload|returnto={{FULLPAGENAME}} }} | ||
</div> | </div> | ||
</div> | </div> | ||
[[Category:Document]] | [[Category:Document]] | ||
</includeonly> | </includeonly> |
Latest revision as of 18:30, 7 May 2024
This is the "Document" template.
It should be called in the following format:
{{Document |Name= |Description= |Goal= |Theme= |Validity Start= |Validity End= |Tags= }}
Edit the page to see the template text.