Difference between revisions of "Template:TheoryReason-text-format-showedit"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 5: Line 5:
 
--><p>'''Reason: {{{2|}}}'''</p><!--
 
--><p>'''Reason: {{{2|}}}'''</p><!--
 
--><p>{{#replace: {{{3|}}}|CITE_|CiteRef::}} {{PrintReasonAuthorYearResource|reason={{{1}}}|}}</p><!--
 
--><p>{{#replace: {{{3|}}}|CITE_|CiteRef::}} {{PrintReasonAuthorYearResource|reason={{{1}}}|}}</p><!--
 +
-->{{#if: {{{5|}}}|<p>{{PrintDiagramFile|diagram file={{{5|}}}}}</p>}}<!--
 
--><p>{{#formlink:form=Reason|link text=Edit|target={{{1}}}|popup|reload|query string=Reason[Conclusion]={{FULLPAGENAME}}|}}  [{{fullurl:{{{1}}}|action=delete}} Delete]</p><!--
 
--><p>{{#formlink:form=Reason|link text=Edit|target={{{1}}}|popup|reload|query string=Reason[Conclusion]={{FULLPAGENAME}}|}}  [{{fullurl:{{{1}}}|action=delete}} Delete]</p><!--
 
--></includeonly>
 
--></includeonly>

Revision as of 18:29, 24 February 2023

This template is called from other templates that use #ask semantic function to format the reason's for a theory in a textual fashion. Each reason is presented in its own subsection. Edit and delete buttons are added to each of the reasons.