(Nieuwe pagina aangemaakt met '<noinclude> Category:EMont core protected This is the "Include HNS ascpect" template. It should be called in the following format: <pre> {{Include HNS aspect |N...') |
Geen bewerkingssamenvatting |
||
(16 tussenliggende versies door een andere gebruiker niet weergegeven) | |||
Regel 7: | Regel 7: | ||
|Name= | |Name= | ||
|Remark= | |Remark= | ||
|HNS aspect= | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly><div style="display:none;"> | </noinclude><includeonly>{{HideMe}}<div style="display:none;"> | ||
<!-- | |||
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}}}}}} | |||
<!-- | |||
varPseudonym = {{#var:varPseudonym}}<br /> | |||
varHNSAspect = {{#var:varHNSAspect}} | |||
--> | |||
{{#subobject: | {{#subobject: | ||
|Name={{{Name|}}} | |Name={{{Name|}}} | ||
|Pseudonym={{#var:varPseudonym}} | |||
|Remark={{{Remark|}}} | |Remark={{{Remark|}}} | ||
|HNS aspect={{#var:varHNSAspect}} | |||
|HNS aspect back link={{FULLPAGENAME}} | |HNS aspect back link={{FULLPAGENAME}} | ||
}} | }} | ||
</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.