Changes

Jump to navigation Jump to search
no edit summary
<noinclude>
This is the "Acceptance Record" template. This template is used from within all theory templates to create subobjects for all individual acceptances/rejections. The template can be in principle used by any type of entity that can be accepted. Normally, the template is called from the same page for which the record should be created. If it should be called from another page, the Target parameter should indicate the page for which an acceptance record is to be created. At the moment it the template is used by theories and topics.
It should be called in the following format:
<pre>
{{Acceptance Record
|Target= // the full page name of the theory or topic. If empty, the {{FULLPAGENAME}} will be used instead
|Community=
|Accepted From Era=
Edit the page to see the template text.
</noinclude><includeonly><!--
--><!--
--><!-- get the theory name from the target. if not give, load from the full page name
-->{{#if: {{{Target|}}}<!--
-->|{{#vardefine: varTheory|{{{Target|}}}|}}<!--
-->|{{#vardefine: varTheory|{{FULLPAGENAME}}|}}<!--
-->}}<!-- if
--><!--
-->{{#vardefine: varTopic|{{#show: {{#var:varTheory}}|?Topic|link=none}}|}}<!--
-->{{#if: {{#var:varTopic}}|{{#vardefine: varParentTopic|{{#show: {{#var:varTopic}}|?Parent Topic|link=none}}|}}|}}<!--
--><!--
--><!-- store as a subobject
-->{{#vardefine: varTopic|{{#show: {{FULLPAGENAME}}|?Topic|link=none}}|}}<!--
-->{{#if: {{#var:varTopic}}|{{#vardefine: varParentTopic|{{#show: {{#var:varTopic}}|?Parent Topic|link=none}}|}}|}}<!--
-->{{#subobject:<!--
-->|SubObjectCategory=Acceptance Record<!--
-->|Theory={{FULLPAGENAME#var:varTheory}}<!--
-->|Topic={{#var:varTopic}}<!-- save the topic too for ease of access
-->|Parent Topic={{#var:varParentTopic}}<!-- save the parent topic too for ease of access

Navigation menu