Difference between revisions of "Template:Wob ref"

From The Coppermind
Jump to navigation Jump to search
m (try this)
m (Undo revision 86803 by Fbstj (talk))
Line 19: Line 19:
   
 
ELSE
 
ELSE
-->|{{#tag:ref-once<!--
+
-->|<!--
  +
-->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><!--
 
  +
TODO: remove this else/if
--><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!--
 
  +
IF {{wob ref|0|text}} OR {{wob ref|0|text=words}}
-->|name=Arcanum-{{{1}}}|group={{{group|}}}<!--
 
-->}}<!--
+
-->{{#if:{{{text|}}}{{{2|}}}{{{date|}}}<!--
  +
-->|{{wob ref/manual|{{{1}}}|{{{text|}}}{{{2|}}}|date={{{date}}}|name=Arcanum-{{{1}}}|group={{{group|}}}|}}<!--
  +
  +
ELSE
  +
-->|{{#tag:ref-once<!--
 
-->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><!--
 
--><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!--
 
-->|name=Arcanum-{{{1}}}|group={{{group|}}}<!--
  +
-->}}<!--
  +
  +
-->}}<!-- TODO: remove (as part of {{wob ref|0|text}} handler)
   
 
END
 
END

Revision as of 08:11, 31 August 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