Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(3 tussenliggende versies door een andere gebruiker niet weergegeven) | |||
Regel 11: | Regel 11: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly>{{HideMe}}<div style="display:none;"> | ||
{{#vardefine:varPseudonym|{{#ask: [[HNSParticipant back link::{{# | <!-- | ||
The Supercontext is not yet available before the Pseudonym property is set in the subobject. The subobject get parsed too soon, at least for our purposes in this case. The workaround is testing if the Supercontext is already there. | |||
--> | |||
{{#vardefine:varSupercontext|{{#show: {{FULLPAGENAME}} | ?Supercontext | link=none}}}} | |||
<!-- | |||
varSupercontext = {{#var:varSupercontext}} | |||
--> | |||
{{#vardefine:varPseudonym|{{#if: {{#var:varSupercontext}}|{{#ask: [[HNSParticipant back link::{{#var:varSupercontext}}]] [[Name::{{{Name|}}}]] | mainlabel=- | ?Pseudonym=}}|Pseudo}}}} | |||
{{#vardefine:varHNSAspect|{{#if: {{{HNS aspect|}}}|{{{HNS aspect}}}|{{#show: {{FULLPAGENAME}} | ?HNS aspect}}}}}} | {{#vardefine:varHNSAspect|{{#if: {{{HNS aspect|}}}|{{{HNS aspect}}}|{{#show: {{FULLPAGENAME}} | ?HNS aspect}}}}}} | ||
<!-- | |||
varPseudonym = {{#var:varPseudonym}}<br /> | varPseudonym = {{#var:varPseudonym}}<br /> | ||
varHNSAspect = {{#var:varHNSAspect}} | varHNSAspect = {{#var:varHNSAspect}} | ||
--> | |||
{{#subobject: | {{#subobject: | ||
|Name={{{Name|}}} | |Name={{{Name|}}} | ||
|Pseudonym= | |Pseudonym={{#var:varPseudonym}} | ||
|Remark={{{Remark|}}} | |Remark={{{Remark|}}} | ||
|HNS aspect={{#var:varHNSAspect}} | |HNS aspect={{#var:varHNSAspect}} | ||
Regel 27: | Regel 33: | ||
}} | }} | ||
</div> | </div> | ||
</div> <!-- hide me --> | |||
</includeonly> | </includeonly> |
Huidige versie van 8 apr 2019 om 15:30
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.