Difference between revisions of "Template:Document upload"

From Dashboard samenwerking Wijchen
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:@Document|{{PAGENAME:{{{Document|}}}}}}}<!---
+
<includeonly>{{#vardefine:@Document|{{PAGENAME:{{{Document|}}}}}}}<!--
 +
-->{{#switch: {{#ask: [[File:{{#var:@Document|Geen document gevonden hoor}}]] [[Modification date::+]] |format=count}}
 +
|0=
 +
|#default=<!---
 
--->{{#switch:{{#var:@embedonly}}
 
--->{{#switch:{{#var:@embedonly}}
 
|Yes=
 
|Yes=
Line 5: Line 8:
 
|Samenwerkingsverband={{ROOTPAGENAME}}
 
|Samenwerkingsverband={{ROOTPAGENAME}}
 
|File=File:{{#var:@Document}}
 
|File=File:{{#var:@Document}}
|Document type={{{Omschrijving|}}}
+
|Document type={{{Omschrijving|}}}{{{Type|}}}
 
}}}}<!----
 
}}}}<!----
  
 
----><div class="big">{{Fa|file-o fa-fw}} {{{Omschrijving|Bestand beschikbaar}}} {{#ifingroup:sysop|[[:File:{{#var:@Document}} |{{#var:@Document}} ]]}} ([{{filepath:{{#var:@Document}}}} {{Fa|download}} downloaden])</div>
 
----><div class="big">{{Fa|file-o fa-fw}} {{{Omschrijving|Bestand beschikbaar}}} {{#ifingroup:sysop|[[:File:{{#var:@Document}} |{{#var:@Document}} ]]}} ([{{filepath:{{#var:@Document}}}} {{Fa|download}} downloaden])</div>
<div style="margin-left:15px;">{{{Omschrijving|}}}</div></includeonly>
+
<div style="margin-left:15px;">{{{Omschrijving|}}}{{{Type|}}}</div>}}</includeonly>

Latest revision as of 10:59, 28 July 2017