Difference between revisions of "Template:Wob ref"

From The Coppermind
Jump to navigation Jump to search
m (oops)
m (for separation)
Line 1: Line 1:
<includeonly>{{#tag:ref<!--
+
<includeonly>{{#if:{{{text|{{{2|}}}|}}}|<!--
   
 
-->{{wob ref/manual|{{{1}}}|{{{text}}}{{{2}}}|date={{{date}}}|}}<!--
TODO: depreciate using {{{2}}} and {{{text}}} once they're all done
 
   
TEXT
 
 
-->|<!--
 
-->|<!--
   
-->{{{pre|}}}<!--
+
-->{{#tag:ref-once<!--
   
 
TEXT
-->[[wob:{{{1}}}|{{{text|{{{2|{{cite: Arcanum-{{{1}}}|}}|}}}|}}}]]<!--
 
  +
-->|<!--
   
-->{{{post|}}}<!--
+
-->[[wob:{{{1}}}|{{cite: Arcanum-{{{1}}}|}}]]<!--
   
 
--><br><small> &mdash; <!--
 
--><br><small> &mdash; <!--
   
-->[[coppermind: Arcanum|Arcanum]] - {{{date|<cite-date page="Arcanum-{{{1}}}" />|}}}<sup>[[Cite: Arcanum-{{{1}}}|#]]</sup></small><!--
+
-->[[coppermind: Arcanum|Arcanum]] - <cite-date page="Arcanum-{{{1}}}" /><sup>[[Cite: Arcanum-{{{1}}}|#]]</sup></small><!--
   
 
NAME
 
NAME
-->|name={{{name|Arcanum-{{{1}}}|}}}<!--
+
-->|name=Arcanum-{{{1}}}<!--
   
 
GROUP
 
GROUP
Line 27: Line 27:
 
This template is used to refer to answers in [[coppermind: Arcanum|Arcanum]].
 
This template is used to refer to answers in [[coppermind: Arcanum|Arcanum]].
   
To use, include {{t|wob ref|entry|description}}
+
To use, include {{t|wob ref|entry}}
  +
* {{{text}}} replaces the description
 
  +
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
* {{{pre}}} is included before the link
 
* {{{post}}} is included after the link
 
* {{{name}}} replaces the generated reference name
 
* {{{group}}} sets the reference group
 
   
 
[[Category: Sources]]
 
[[Category: Sources]]

Revision as of 14:59, 10 December 2017

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