Difference between revisions of "Template:Wob ref"

From The Coppermind
Jump to navigation Jump to search
m (improve)
m (old style no longer used)
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{text|}}}{{{2|}}}|<!--
+
<includeonly>{{#ifexist: Cite: Arcanum-{{{1}}}<!--
   
  +
CITE: PAGE EXISTS
-->{{wob ref/manual|{{{1}}}|{{{text|}}}{{{2|}}}|date={{{date}}}|}}<!--
 
 
-->|{{#tag:ref-once<!--
 
-->|<!--
   
  +
interwiki link to {{{1}}} and show text from [[Cite: Arcanum-{{{1}}}]]
-->|<!--
 
 
-->[[wob: {{{1}}}|{{cite: Arcanum-{{{1}}}|}}]]<!--
   
  +
show "-- Arcanum - Month YYYY" small
-->{{#tag:ref-once<!--
 
 
--><br><small> &mdash; <!--
  +
-->[[coppermind: Arcanum|Arcanum]]<!--
 
--> - <!--
  +
--><span class="cite-date"><page-property key="cite-date" page="Cite: Arcanum-{{{1}}}" /></span><!--
  +
--><sup>[[Cite: Arcanum-{{{1}}}|#]]</sup><!-- direct link to Cite namespace page
  +
--></small><!--
 
-->|name=Arcanum-{{{1}}}|group={{{group|}}}<!--
  +
-->}}<!--
   
  +
ELSE
TEXT
 
  +
-->|<!--
-->|{{#ifexist: Cite: Arcanum-{{{1}}}<!--
 
-->|<!--
+
-->{{#tag:ref-once<!--
-->[[wob:{{{1}}}|{{cite: Arcanum-{{{1}}}|}}]]<!--
+
-->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><!--
 
--><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!--
--><br><small> &mdash; <!--
 
-->[[coppermind: Arcanum|Arcanum]] - <cite-date page="Arcanum-{{{1}}}" /><sup>[[Cite: Arcanum-{{{1}}}|#]]</sup></small><!--
+
-->|name=Arcanum-{{{1}}}|group={{{group|}}}<!--
-->|Error: [[Cite: Arcanum-{{{1}}}]] does not exist.<br><small>Visit link to create ref.</small><!--
 
 
-->}}<!--
 
-->}}<!--
   
  +
END
NAME
 
-->|name=Arcanum-{{{1}}}<!--
 
 
GROUP
 
-->|group={{{group|}}}<!--
 
 
-->}}<!--
 
 
 
-->}}</includeonly><noinclude>
 
-->}}</includeonly><noinclude>
 
This template is used to refer to answers in [[coppermind: Arcanum|Arcanum]].
 
This template is used to refer to answers in [[coppermind: Arcanum|Arcanum]].
Line 29: Line 32:
 
To use, include {{t|wob ref|entry}}
 
To use, include {{t|wob ref|entry}}
   
  +
[[category: sources]]
It utilises the Cite namespace by default, but if used in old mode will call {{t|wob ref/manual}} and uses either <code>{{{2}}}</code> or <code>{{{text}}}</code> and the <code>{{{date}}}</code> parameter
 
 
[[category: reference templates]]
 
[[Category: Sources]]
 
[[Category: Reference templates]]
 

Revision as of 09:44, 8 September 2019

This template is used to refer to answers in Arcanum.

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