Difference between revisions of "Template:Wob ref"

From The Coppermind
Jump to navigation Jump to search
m (use <page-property> instead of <cite-date>)
m (maybe improve bad ref import link (by making it link to the WoB generically as the main line)
Line 10: Line 10:
 
-->|{{#ifexist: Cite: Arcanum-{{{1}}}<!--
 
-->|{{#ifexist: Cite: Arcanum-{{{1}}}<!--
 
-->|<!--
 
-->|<!--
-->[[wob:{{{1}}}|{{cite: Arcanum-{{{1}}}|}}]]<!--
+
-->[[wob: {{{1}}}|{{cite: Arcanum-{{{1}}}|}}]]<!--
 
--><br><small> &mdash; <!--
 
--><br><small> &mdash; <!--
 
-->[[coppermind: Arcanum|Arcanum]] - <page-property key="cite-date" page="Cite: Arcanum-{{{1}}}" /><sup>[[Cite: Arcanum-{{{1}}}|#]]</sup></small><!--
 
-->[[coppermind: Arcanum|Arcanum]] - <page-property key="cite-date" page="Cite: Arcanum-{{{1}}}" /><sup>[[Cite: Arcanum-{{{1}}}|#]]</sup></small><!--
-->|Error: [[Cite: Arcanum-{{{1}}}]] does not exist.<br><small>Visit link to create ref.</small><!--
+
-->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!--
 
-->}}<!--
 
-->}}<!--
   

Revision as of 21:17, 13 July 2018

This template is used to refer to answers in Arcanum.

To use, include {{wob ref|entry}}

It utilises the Cite namespace by default, but if used in old mode will call {{wob ref/manual}} and uses either {{{2}}} or {{{text}}} and the {{{date}}} parameter