Sjabloon:Include HNS aspect: verschil tussen versies

Regel 12: Regel 12:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
varSuperContext = {{#var:varSuperContext}} <br />
+
{{#vardefine:varPseudonym|{{#ask: [[HNSParticipant back link::{{#show: {{FULLPAGENAME}} | ?Supercontext | link=none}}]] [[Name::{{{Name|}}}]] | mainlabel=- | ?Pseudonym=}}}}
<!-- {{#show: {{FULLPAGENAME}} | ?Supercontext | link=none}} -->
+
{{#vardefine:varHNSAspect|{{#if: {{{HNS aspect|}}}|{{{HNS aspect}}}|{{#show: {{FULLPAGENAME}} | ?HNS aspect}}}}}}
Pseudonym = {{#ask: [[HNSParticipant back link::{{#var:varSuperContext}}]] [[Name::{{{Name|}}}]] | mainlabel=- | ?Pseudonym=}}
+
 
  +
varPseudonym = {{#var:varPseudonym}}<br />
  +
varHNSAspect = {{#var:varHNSAspect}}
  +
 
 
<div style="display:none;">
 
<div style="display:none;">
 
{{#subobject:
 
{{#subobject:
 
|Name={{{Name|}}}
 
|Name={{{Name|}}}
|Pseudonym={{#ask: [[HNSParticipant back link::{{#var:varSuperContext}}]] [[Name::{{{Name|}}}]] | mainlabel=- | ?Pseudonym=}}
+
|Pseudonym={{#var:varPseudonym}
 
|Remark={{{Remark|}}}
 
|Remark={{{Remark|}}}
|HNS aspect={{#if: {{{HNS aspect|}}}|{{{HNS aspect}}}|{{#show: {{FULLPAGENAME}} | ?HNS aspect}}}}
+
|HNS aspect={{#var:varHNSAspect}}
 
|HNS aspect back link={{FULLPAGENAME}}
 
|HNS aspect back link={{FULLPAGENAME}}
 
}}
 
}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Versie van 9 feb 2019 om 20:25

This is the "Include HNS ascpect" template. It should be called in the following format:

{{Include HNS aspect
|Name=
|Remark=
|HNS aspect=
}}

Edit the page to see the template text.