Sjabloon:Project: verschil tussen versies

Regel 15: Regel 15:
 
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
 
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
 
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
 
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
  +
{{#vardefine:varTopcontext|{{
 
{{#set:Context type=Situation}}
 
{{#set:Context type=Situation}}
 
{{#set:Semantic title|{{{Name|}}}}}
 
{{#set:Semantic title|{{{Name|}}}}}
Regel 26: Regel 27:
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
  +
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
  +
{{#set:Topcontext={{#var:varTopContext}}}}
 
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
 
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
 
</div>
 
</div>
Regel 92: Regel 95:
 
}}
 
}}
   
{{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{{Topcontext|}}}]]</q>]]
+
{{#ask: [[Category:Resource Description]] [[Created in page::<q>[[Topcontext::{{#var:varTopContext}}]]</q>]]
 
| ?Dct:title=Titel
 
| ?Dct:title=Titel
 
| ?Dct:creator=Schrijver
 
| ?Dct:creator=Schrijver
| ?Dct:date=datum
+
| ?Dct:date=Datum
 
| format=table
 
| format=table
 
}}
 
}}

Versie van 11 nov 2015 om 17:26

This is the "Project" template. It should be called in the following format:

{{Project
|Supercontext=
|Name=
|Start date=
|End date=
|Summary=
}}

Edit the page to see the template text.