Difference between revisions of "Template:SyncAcceptanceRecords"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> This template is used to synchronize the acceptance records of a target entity (theory or topic) with the acceptance records of the source page (theory or topic)....")
 
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
'''Parameters:'''
 
'''Parameters:'''
* <code><nowiki>|source=</nowiki></code> - the source page (topic or theory).
+
* <code><nowiki>|source=</nowiki></code> - the source page (an epistemic element).
 
* <code><nowiki>|target=</nowiki></code> - the target page.
 
* <code><nowiki>|target=</nowiki></code> - the target page.
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
-->{{#if: {{{topic|}}} |<!--
 
--><!--
 
 
--><!-- check if the source is given
 
--><!-- check if the source is given
 
-->{{#if: {{{source|}}}<!--  
 
-->{{#if: {{{source|}}}<!--  
Line 17: Line 15:
 
   -->{{#ask:<!--
 
   -->{{#ask:<!--
 
   -->[[SubObjectCategory::Acceptance Record]]<!--
 
   -->[[SubObjectCategory::Acceptance Record]]<!--
   -->[[Theory::{{{source|}}}]]<!--
+
   -->[[Element::{{{source|}}}]]<!--
 +
  -->|?Element<!--
 
   -->|?Topic<!--
 
   -->|?Topic<!--
 
   -->|?Parent Topic<!--
 
   -->|?Parent Topic<!--
 
   -->|?Community<!--
 
   -->|?Community<!--
  -->|?Accepted From<!--
 
 
   -->|?Accepted From Era<!--
 
   -->|?Accepted From Era<!--
 
   -->|?Accepted From Year<!--
 
   -->|?Accepted From Year<!--
Line 38: Line 36:
 
   -->|link=none<!--
 
   -->|link=none<!--
 
   -->|limit=10000<!--
 
   -->|limit=10000<!--
   -->|userparam={{{target}}}<!--
+
  -->|named args=yes<!--
 +
  -->|format=template<!--
 +
  -->|template=SyncAcceptanceRecord-result-template<!--
 +
   -->|userparam={{{target|}}}<!--
 
   -->}}<!-- ask
 
   -->}}<!-- ask
 
   --><!--  
 
   --><!--  
 
   --><!--  
 
   --><!--  
 
  -->|<!-- no source is given: nothing to do  
 
  -->|<!-- no source is given: nothing to do  
  --><!--  
+
--><!--  
 
-->}}<!-- if  
 
-->}}<!-- if  
 
--></includeonly>
 
--></includeonly>

Latest revision as of 19:37, 21 February 2023

This template is used to synchronize the acceptance records of a target entity (theory or topic) with the acceptance records of the source page (theory or topic). The template uses Acceptance Record template to create the respective subobjects.

NOTE: As any "set" template, it doesn't print any values, but merely stores them in the system.

Parameters:

  • |source= - the source page (an epistemic element).
  • |target= - the target page.